@font-face {
    font-family: HarmonyOS_Medium;
    font-style: normal;
    font-display: swap;
    src: url('/cn/fonts/HarmonyOS_Medium.woff2') format('woff2');
}

@font-face {
    font-family: HarmonyOS_Regular;
    font-style: normal;
    font-display: swap;
    src:url('/cn/fonts/HarmonyOS_Regular.woff2') format('woff2');
}

@font-face {
    font-family: HarmonyOS_Bold;
    font-style: normal;
    font-display: swap;
    src:url('/cn/fonts/HarmonyOS_Bold.woff2') format('woff2');
}
@font-face {
    font-family: HarmonyOS_Light;
    font-style: normal;
    font-display: swap;
    src:url('/cn/fonts/HarmonyOS_Light.woff2') format('woff2');
}

.honor-bg{
    width: 100%;
}

.honor-bg img{
    padding: 100px 0;
    width: 100%;
}

.clearfix{
    max-width: 1600px;
    position: relative;
    margin: 0 auto;
    width: 95%;
}

.honor {
    width: 100%;
    height: 1100px;
    position: relative;
    overflow: hidden;
    background-color: #252525;
    color: #fff;
    user-select: none;
}

.honor * {
    box-sizing: border-box;
}

/* 顶部导航 */
.honor .top-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    gap: 40px;
    max-width: 1600px;
    height: 100px;
    z-index: 10;
    position: relative;
    margin: 0 auto;
}

.honor .nav-item {
    padding: 10px 24px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-family: HarmonyOS_Light, serif;
}

.honor .nav-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.honor .nav-item.active {
    background: #ffd488;
    color: #333;
    border-color:#ffd488;
    font-family: HarmonyOS_Regular, serif;
}

.honor-icon{
    width: 24px;
    height: 24px;
}

/* 主体布局 */
.honor .main-container {
    margin: 0 auto;
    display: flex;
    height: calc(100% - 100px);
    max-width: 1800px;
    padding: 80px 0;
    align-items: center;
    gap: 5%;
}

.honor .left-spacer {
    width: 40%;
    height: 100%;
    transition: background-image 0.5s ease-in-out;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.honor .right-content {
    flex: 1.4;
    height: 75%;
    display: flex;
    flex-direction: column;
    position: relative;
    padding-right: 30px; /* 给圆点留出位置 */
}

/* 修改点：
   1. 隐藏滚动条 (scrollbar-width, -webkit-scrollbar)
   2. 保持 overflow-y: auto 用于内部逻辑滚动
*/
.honor .data-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 动态计算行高，保证刚好显示4行 */
    grid-auto-rows: calc((100% - 60px) / 4);
    gap: 20px;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;

    /* 隐藏火狐滚动条 */
    scrollbar-width: none;
    /* 隐藏IE/Edge滚动条 */
    -ms-overflow-style: none;
    /* 启用平滑滚动 */
    scroll-behavior: smooth;
    overscroll-behavior: auto;
}

/* 隐藏Chrome/Safari滚动条 */
.honor .data-grid::-webkit-scrollbar {
    display: none;
}

.honor .fade-in {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 卡片 */
.honor .card {
    margin: 2px;
    background: rgba(245, 245, 245, 0.95);
    border-radius: 8px;
    padding: 0 38px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    height: 98%;
}

.honor .card:hover {
    transform: translateY(-2px);
    background: #fff;
}

.honor .card-info {
    width: 84%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: center;
}

.honor .card-year {
    color: #ccc;
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
}

.honor .card-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.honor .card-content {
    font-size: 14px;
    color: #6e6e6e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.honor .card-icon {
    width: 12%;
    color: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.honor .card-icon svg {
    width: 100%;
    height: auto;
}

/* 圆点指示器样式 */
.honor .pagination-dots {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 20;
}

.honor .dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.honor .dot.active {
    background: #fff;
    transform: scale(1.5);
    box-shadow: 0 0 8px rgba(255,255,255,0.5);
}