html {
    background: #EDEDED !important;
}

.p-wrap {
    width: 1200px;
    margin: 0 auto;
    background: #fff;
    /* padding: 10px; */
    border-radius: 5px;
}


.archive-hero {
    position: relative;
}

.container {
    width: 100%;
    height: 125px;
    background-image: url(https://www.cn-helloworld.com/wp-content/uploads/2025/11/img_471833-150x150.jpg);
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 120%;
    position: relative;
    margin-bottom: 30px;
}

.container ::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, .65);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.archive-hero-text {
    width: 1200px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.archive-hero-text p {
    color: #dfe0e5;
    font-size: 15px;
    font-weight: 300;
}

.archive-hero-text h1 {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 5px;
}

.article-content{
    padding: 20px;
}

/* 整体导航容器：无背景，仅控制布局 */
.article-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    /* 限制最大宽度 */
    margin: 20px auto;
    padding: 0 !important;
    border: none !important;
}

/* 导航项样式：白色背景 + 初始阴影 */
.nav-item {
    width: 45%;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: #fff;
    margin: 0 !important;
    /* 导航项白色背景 */
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    /* 初始阴影 */
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    /* 悬浮动效过渡 */
}

/* 上一篇箭头位置 */
.nav-item.prev .arrow {
    margin-right: 8px;
    font-size: 18px;
    color: #666;
}

/* 下一篇箭头位置 */
.nav-item.next .arrow {
    margin-left: 8px;
    font-size: 18px;
    color: #666;
}

/* 标题文字：单行省略 */
.nav-item .title {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 280px;
    /* 限制标题宽度 */
}

/* 导航项悬浮效果：上移 + 增强阴影 */
.nav-item:hover {
    transform: translateY(-4px);
    /* 上移动画 */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    /* 增强阴影 */
    color: #4285f4;
    /* 文字颜色微变 */
}

/* 悬浮时箭头颜色同步变化 */
.nav-item:hover .arrow {
    color: #4285f4;
}

/* 相关文章模块 */
.related-articles {
    margin-top: 20px;
    margin-bottom: 20px;
}

.related-articles h2 {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.related-articles h2::before {
    content: "»";
    margin-right: 8px;
    color: #666;
}

.related-articles-title{
    width: 1200px;
    margin: 0 auto;
}
/* 文章网格布局 */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

/* 文章卡片 */
.article-card {
    background-color: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    /* 悬浮动效过渡 */
}

/* 卡片悬浮效果：上移 + 阴影增强 */
.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.article-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.card-meta {
    padding: 10px;
}

.tag {
    display: inline-block;
    font-size: 12px;
    color: #4285f4;
    margin-bottom: 6px;
}

.title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.info {
    font-size: 12px;
    color: #999;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}
footer{
    background: #fff;
}