/* 文章容器 */
.article-container-custom {
    width: 100%;
    max-width: 1420px;
    margin: 0 auto;
    padding: 20px;
    padding-top: 165px;
}

/* 文章标题 */
.article-title-custom {
    text-align: center;
    font-size: 1.8em;
    margin: 20px 0;
}

/* 文章元数据（作者和时间） */
.article-meta-custom {
    display: flex;
    justify-content: center;
    font-size: 1.2em;
    color: #888;
    margin-bottom: 20px;
}

.article-meta-custom span {
    margin: 0 15px;
}

/* 内容区域 */
.contents-custom {
    line-height: 1.6;
    font-size: 1.1em;
    margin-bottom: 40px;
}

.contents-custom img, .contents-custom video {
    display: block;
    margin: 20px auto;
    max-width: 98%;
    height: auto;
}

/* 更多内容容器 */
.more-content-custom {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 每行两个版块 */
    gap: 20px;
    justify-content: space-between;
}

/* 每个更多内容项 */
.more-item-custom {
    background-color: #fff;
    border-radius: 8px;
    display: flex;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none; /* 去除链接的下划线 */
    max-height: 150px;
}

.more-item-custom:hover {
    transform: scale(1.05);
}

/* 更多内容图片区域 */
.more-item-custom img {
    width: 50%;
    height: auto;
}

/* 更多内容文字区域 */
.item-text-custom {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}

.item-title-custom {
    font-size: 1em;
    margin-bottom: 10px;
}

.item-time-custom {
    font-size: 0.88em;
    color: #888;
}
@media (max-width: 768px) {
    .more-content-custom {
        grid-template-columns: 1fr; /* 在小屏幕下改为单列布局 */
    }
}


/* 更多内容文字区域 */
.item-text-custom {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
}

.item-title-custom {
    font-size: 1em;
    margin-bottom: 10px;
}

.item-time-custom {
    font-size: 0.88em;
    color: #888;
}

/* 超链接（针对内容和更多内容区） */
.contents-custom a, .more-content-custom a {
    color: inherit; /* 确保链接文字颜色与父元素一致 */
    text-decoration: none; /* 去除超链接的下划线 */
    width: 100%;
    display: flex;
    flex-direction: row;
	max-height: 100px;
}

.contents-custom a:hover, .more-content-custom a:hover {
    text-decoration: none; /* 保证鼠标悬停时无下划线 */
}
