/* ---- 整体容器 ---- */
.haiwode-certificate {
    position: relative;
    overflow: hidden;
}

/* 背景图 */
.hc-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hc-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 深色遮罩 */
.hc-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 52, 98, 0.81) 0%, rgba(0, 48, 94, 0.63) 100%);
}

/* 内容层 */
.hc-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* ---- 左侧 ---- */
.hc-left {
    flex: 0 0 50%;
    min-width: 0;
}

.hc-title-box {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
}

.hc-trophy-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.hc-title {
    color: #FFF;
    font-family: Inter;
    font-size: var(--font-50);
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
}

/* 列表 */
.hc-name-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.hc-name-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: color 0.3s;
    color: #FFF;
    font-family: Inter;
    font-size: var(--font-20);
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    max-width: 540px;
}

.hc-name-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.hc-name-item:hover {
    color: #fff;
}

.hc-list-icon {
    width: 21px;
    height: 38px;
    object-fit: contain;
    flex-shrink: 0;
}
.hc-list-icon-scale{
    transform: scaleX(-1);
}

/* ---- 右侧：双列滚动 ---- */
.hc-right {
    flex: 1;
    display: flex;
    gap: 16px;
    height: 730px;
    min-width: 0;
}

.hc-col {
    flex: 1;
    overflow: hidden;
    height: 100%;
}

/* 左列：2张可见，每张高度约260px */
.hc-col-left .hc-cert-item img,
.hc-col-right .hc-cert-item img {
    width: 100%;
    max-width: 310px;
    aspect-ratio: 310 / 410;
    object-fit: cover;
    display: block;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.hc-col-left .hc-cert-dup img {
    cursor: default;
}

/* 右列：3张可见，每张高度约175px */

.hc-col-right .hc-cert-dup img {
    cursor: default;
}

.hc-cert-item a:hover img {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

/* 滚动轨道 */
.hc-scroll-track {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 无缝向上滚动动画 */
@keyframes hc-scroll-up {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

.hc-col-left .hc-scroll-track {
    animation: hc-scroll-up 20s linear infinite;
}

.hc-col-right .hc-scroll-track {
    animation: hc-scroll-up 14s linear infinite;
}

/* 悬停时暂停 */
.hc-col:hover .hc-scroll-track {
    animation-play-state: paused;
}

/* ---- 移动端 Swiper（默认隐藏，≤992px 显示） ---- */
.hc-mobile {
    display: none;
    position: relative;
    z-index: 1;
    padding: 60px 0;
}
.hc-mobile .hc-mobile-swiper{
    margin-top: 50px;
}
.hc-trophy-icon{
    display: none;
}

.hc-title-box--mobile {
    justify-content: center;
    margin-bottom: 32px;
}

.hc-mobile-swiper {
    width: 100%;
    overflow: visible;
    /* 裁剪上下溢出，保留左右用于展示两侧卡片 */
    clip-path: inset(0 -100vw);
}

.hc-mobile-slide {
    width: 62%;
    max-width: 270px;
    
}

.hc-mobile-slide.swiper-slide-active img {
    transform: scale(1) !important;
}

.hc-mobile-slide img {
    width: 100%;
    aspect-ratio: 310 / 410;
    object-fit: cover;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    transition: transform 0.3s, box-shadow 0.3s;
    transform: scale(0.88);
    transform-origin: bottom;
    transition: transform 0.4s ease;
}

.hc-mobile-slide a:hover img {
    transform: scale(1.03);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.hc-mobile-name {
    color: #FFF;
    text-align: center;
    font-family: var(--font-text-family);
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 136.364%; /* 136.364% */
    margin-top: 14px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* ---- 响应式 ---- */
@media screen and (max-width: 1500px) {
    .hc-inner {
        gap: 60px;
    }
}

@media screen and (max-width: 1280px) {
    .hc-inner {
        gap: 48px;
    }

    .hc-right {
        height: 500px;
    }
}

@media screen and (max-width: 1200px) {
    .hc-left {
        flex: 0 0 50%;
    }

    .hc-right {
        height: 460px;
    }


    .hc-name-item {
        font-size: var(--font-16);
        padding: 13px 0;
    }
}

@media screen and (max-width: 992px) {
    /* 隐藏桌面端布局，显示移动端 Swiper */
    .hc-inner {
        display: none;
    }

    .hc-mobile {
        display: block;
    }

}

@media screen and (max-width: 768px) {
    .hc-title-box--mobile {
        margin-bottom: 24px;
    }


    
}

@media screen and (max-width: 576px) {
    .hc-mobile-slide {
        /* width: 72%; */
        max-width: 200px;
    }


    .hc-title-box--mobile {
        margin-bottom: 20px;
    }
    .hc-mobile-name {
        font-size: var(--font-14);
        margin-top: 10px;
    }

}
