/* =======================
   文章卡片内部头部信息美化
   ======================= */
#page-header.post-bg #site-title {
    font-size: 3em;      /* 博客标题大小 */
    font-weight: bold;
    color: var(--white); 
    margin-bottom: 10px;
}

#page-header.post-bg #site-subtitle {
    font-size: 1.5em;    /* 打字机副标题大小 */
    color: var(--light-grey);
}

/* 缩减包含顶部横幅的高度，让卡片更靠上 */
#page-header.post-bg {
    height: 300px !important; 
}

/*  卡片内头部信息总容器  */
.post-info-in-card {
    text-align: left;        /* 左对齐 */
    margin-bottom: 2rem;     
    padding-bottom: 1rem;    
    border-bottom: 1px dashed var(--dark-grey); 
}

/* 主标题样式 */
.post-info-in-card .post-title {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--font-color); 
    margin-top: 0;
    margin-bottom: 0.5rem; /* 为副标题留点间距 */
    line-height: 1.4;
}

/* 副标题样式 */
.post-subtitle {
    font-size: 1.8em;
    color: var(--font-color);
    margin-bottom: 1.2rem; /* 与下方拉开距离 */
    line-height: 1.5;
    font-weight: 500;
}

/* 元信息容器（日期、分类、字数等） */
.post-meta-container {
    font-size: 90%;
    color: var(--dakr-grey); 
    display: flex;
    flex-direction: column; 
    align-items: flex-start; /* 垂直排列时，确保每一行靠左 */
    gap: 8px; 
}

.meta-firstline, .meta-secondline {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* 每一行内的元素靠左排列 */
    align-items: center;
    gap: 5px;
}

.post-meta-container i {
    margin-right: 4px;
}

.post-meta-separator {
    margin: 0 5px;
    color: #ccc; 
}

/* 移动端适配：标题字号稍微缩小 */
@media screen and (max-width: 768px) {
    .post-info-in-card .post-title {
        font-size: 1.6em;
    }
    .post-subtitle {
        font-size: 1.4em;
    }
}