@charset "utf-8";

/*
 * 资质证书内容区 — 正品达 r5 弧线轮播
 * 标题请用公共 .about-title-block / about-title.js
 * 资源目录：/cn2026/about-honor/
 */

@font-face {
    font-family: "ah-icon";
    src: url("/cn2026/about-honor/fonts/ppcg-icon.woff2") format("woff2"),
         url("/cn2026/about-honor/fonts/ppcg-icon.woff") format("woff"),
         url("/cn2026/about-honor/fonts/ppcg-icon.ttf") format("truetype");
    font-display: swap;
}

.about-honor {
    --ah-u: 5.2083333333vw;
    --ah-red: #d70612;
    position: relative;
    background-color: #eee;
    color: #111;
    font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    font-size: var(--ah-u);
    overflow: hidden;
}

@media screen and (orientation: portrait) {
    .about-honor {
        --ah-u: clamp(32px, 9.1145833333vw, 48px);
    }
}

.about-honor .flex {
    display: flex;
}

.about-honor .r5 {
    background-color: #eee;
    padding-top: calc(var(--ah-u) * 0.85);
    padding-bottom: calc(var(--ah-u) * 0.4);
    position: relative;
    z-index: 1;
    box-sizing: border-box;
}

.about-honor .r5 > .mbg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.about-honor .r5 > .mbg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    display: block;
}

.about-honor .r5 .inner {
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

/* 标题：沿用公共样式，仅补区块内边距 */
.about-honor .honor-head {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

@media (min-width: 1600px) {
    .about-honor .honor-head {
        padding-left: 0;
        padding-right: 0;
    }
}

.about-honor .honor-head .about-title-en {
    font-size: clamp(32px, calc(var(--ah-u) * 0.48), 48px);
    line-height: 1.15;
    margin-bottom: 16px;
}

/* ===== 弧线轮播（全宽贴边）===== */
.about-honor .r5Swr {
    margin-top: calc(var(--ah-u) * -0.35);
    padding-bottom: calc(var(--ah-u) * 2);
    width: 100%;
    position: relative;
    overflow: hidden;
}

@media screen and (orientation: portrait) {
    .about-honor .r5Swr {
        margin-top: 0;
    }
}

.about-honor .r5Swr::before {
    content: "";
    position: absolute;
    left: -20%;
    top: 48%;
    width: 140%;
    padding-bottom: 100%;
    border: 1px solid #999;
    border-radius: 50%;
    opacity: 0.15;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 0;
}

.about-honor .r5Swr .swiper-wrapper {
    align-items: flex-start;
}

.about-honor .r5Swr .item {
    width: calc(var(--ah-u) * 3.6) !important;
    height: calc(var(--ah-u) * 6);
    flex-shrink: 0;
    cursor: pointer;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* 弧线位移层：绝不能写在 .swiper-slide 上，否则 Swiper11 loop 右侧会空 */
.about-honor .r5Swr .arc-y {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    will-change: transform;
    transition-property: transform;
    transition-timing-function: ease;
}

.about-honor .r5Swr .item .pic {
    width: calc(var(--ah-u) * 3.6);
    height: calc(var(--ah-u) * 3.6);
    position: relative;
    z-index: 1;
    pointer-events: auto;
    transform: scale(0.225);
    transform-origin: left center;
    transition: transform 0.6s ease;
}

.about-honor .r5Swr .item.active .pic,
.about-honor .r5Swr .item.swiper-slide-duplicate-active .pic {
    transform: scale(1);
    transform-origin: center center;
    transition: all 0.6s ease;
}

.about-honor .r5Swr .item.active .pic::before,
.about-honor .r5Swr .item.swiper-slide-duplicate-active .pic::before {
    opacity: 0;
}

.about-honor .r5Swr .item.active ~ .item .pic {
    transform-origin: right center;
}

.about-honor .r5Swr .item .pic::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: #fff;
    transform: scale(1.4);
    transition: opacity 0.6s ease;
    z-index: -2;
}

.about-honor .r5Swr .item .pic .mbg,
.about-honor .r5Swr .item .pic .mbg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.about-honor .r5Swr .switch {
    position: absolute;
    left: 50%;
    top: 48%;
    transform: translateX(-50%);
    width: calc(var(--ah-u) * 6);
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.about-honor .r5Swr .switch > .r5Prev,
.about-honor .r5Swr .switch > .r5Next {
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(209, 25, 25, 0.35);
    border-radius: 50%;
    background: #fff;
    color: #d11919;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    transition: background 0.35s ease, border-color 0.35s ease, color 0.35s ease, transform 0.35s ease;
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    line-height: 1;
}

.about-honor .r5Swr .switch > .r5Prev svg,
.about-honor .r5Swr .switch > .r5Next svg {
    display: block;
}

@media (hover: hover) {
    .about-honor .r5Swr .switch > .r5Prev:hover,
    .about-honor .r5Swr .switch > .r5Next:hover {
        background: #d11919;
        border-color: #d11919;
        color: #fff;
        transform: scale(1.06);
    }
}

.about-honor .r5Swr .info {
    position: absolute;
    left: 50%;
    top: calc(var(--ah-u) * 5.2);
    transform: translateX(-50%);
    width: calc(var(--ah-u) * 6.4);
    text-align: center;
    z-index: 5;
    font-family: Arial, Helvetica, "Microsoft YaHei", sans-serif;
}

.about-honor .r5Swr .info .li {
    display: none;
}

.about-honor .r5Swr .info .li.on {
    display: block;
}

.about-honor .r5Swr .info .li .text {
    margin: 0;
    font-size: max(16px, calc(var(--ah-u) * 0.24));
    line-height: 1.6666666667;
    color: #111;
    white-space: pre-wrap;
    font-weight: 400;
    background: transparent;
    border: 0;
    padding: 0;
    font-family: inherit;
}

/* 宽度断点：与全站 991/767 对齐，避免竖屏 50px rem 过大 */
@media only screen and (max-width: 991px) {
    .about-honor {
        --ah-u: clamp(36px, 8vw, 48px);
        padding: 72px 0 80px;
    }

    .about-honor .r5Swr .switch {
        top: auto;
        bottom: 8%;
    }

    .about-honor .r5Swr .info {
        width: min(90vw, calc(var(--ah-u) * 6.4));
        top: calc(var(--ah-u) * 4.6);
    }
}

@media only screen and (max-width: 767px) {
    .about-honor {
        --ah-u: clamp(32px, 9.5vw, 42px);
        padding: 56px 0 64px;
    }

    .about-honor .r5Swr .switch > .r5Prev,
    .about-honor .r5Swr .switch > .r5Next {
        width: 40px;
        height: 40px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-honor .r5Swr .item .pic {
        transition: none;
    }
}

/* Swiper 未初始化时不要缩成 0.225；保留首条文案 */
.about-honor .r5Swr:not(.swiper-initialized) .item .pic {
    transform: scale(1);
}

.about-honor .r5Swr:not(.swiper-initialized) .info .li:first-child {
    display: block;
}

