
/* 主页上方allonlab和home水平对齐 */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;        /* 图标与文字间距，可选 */
    text-decoration: none; /* 去掉下划线（可选） */
}

/* 主页ccs */
.home {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}
.hero {
    text-align: center;
    padding: 2rem 0;
}
.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}
.hero p {
    font-size: 1.2rem;
    color: #666;
}
.home-about {
    margin: 3rem 0;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
}
.home-posts article {
    margin-bottom: 2rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}
.home-posts time {
    color: #999;
    font-size: 0.9rem;
}
.home-tags a {
    display: inline-block;
    margin: 0.2rem 0.5rem 0.2rem 0;
    padding: 0.2rem 0.8rem;
    background: #f0f0f0;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    color: #333;
}
.home-tags a:hover {
    background: #ddd;
}

/* 暗色模式about */
/* 亮色模式下的背景 */
/* 亮色模式默认 */
.home-about {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
}

/* 暗色模式适配（主题用 data-theme 或 .dark） */
[data-theme="dark"] .home-about,
.dark .home-about {
    background: #2a2a2a;
    color: #e0e0e0;
}

/* footer自定义 */
.footer_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1rem;
}

.footer_legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem 1rem;
    width: 100%; /* 占满一行，让版权和备案换行 */
}

.footer_copyright,
.footer_beian,
.footer_police {
    white-space: nowrap;
}

.footer_beian a,
.footer_police a {
    color: #666;
    text-decoration: none;
}

.footer_beian a:hover,
.footer_police a:hover {
    text-decoration: underline;
}

/* 版权信息、ICP备案号 和 公安备案号 的字体样式完全一致 */
/* 统一底部法律信息的字体样式 */
.footer_legal {
    font-size: 0.9rem;          /* 统一字号 */
    color: #666;                /* 统一颜色 */
    font-family: inherit;       /* 继承父级字体 */
}

/* 让链接继承父级颜色，去掉默认下划线 */
.footer_legal a {
    color: inherit;
    text-decoration: none;
}

/* 鼠标悬停时显示下划线，提升交互感 */
.footer_legal a:hover {
    text-decoration: underline;
}

/* 如果元素之间需要间距，可以添加 */
.footer_legal span,
.footer_legal small,
.footer_legal .footer_beian,
.footer_legal .footer_police,
.footer_legal .footer_copyright {
    display: inline-block;
    margin: 0 0.3rem;  /* 左右间距 */
}

