.container {
    display: flex; /* 启用 Flexbox */
    justify-content: space-between; /* 左右对齐 */
    align-items: flex-start; /* 顶部对齐 */
    width: 1200px; /* 占满整个屏幕宽度 */
    gap: 20px; /* 左右列之间的间距 */
    padding: 20px 30px;
    margin: 0 auto;
    font-family: 'Lato', sans-serif;

}

/* 设置左侧 Sidebar 样式 */
.side-bar {
    font-family: 'Lato', sans-serif;
    flex: 0 0 20%; /* 宽度固定为 20% */
    background-color: #f7f7f7; /* 可选，给 sidebar 添加背景色 */
    padding: 15px;
    border-radius: 15px; /* 让 sidebar 有圆角 */
}

/* sidebar 顶部的图片样式 */
.sidebar-img {
    width: 80%; /* 图片宽度相对于 sidebar */
    max-width: 180px; /* 限制最大宽度，避免过大 */
    aspect-ratio: 1 / 1; /* 保证图片宽高相等 */
        border-radius: 50%; /* 让图片变成圆形 */
    display: block; /* 避免图片底部空白 */
    margin: 0 auto; /* 居中对齐 */
    object-fit: cover; /* 让图片填充整个圆形区域 */
}


/* 设置右侧主要内容区域 */
.main-box {
    flex: 0 0 80%; /* 右侧内容占 80% */
}

.sidebar-message{
    padding-left: 20px;
    color: #333;
    font-size: 15px;
}

.post{
    margin: 13px 0;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    color: #333333;
}

.post-date {
    color: rgb(127, 125, 125);
    /* font-style: italic;  文字变为斜体 */
}

.site-logo{
    text-decoration: none; /* 取消下划线 */
    margin: 13px 0;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    color: #333333;
    font-weight: bold;
    text-align: center;
}

/* SideBar 样式 */

.wp-block-heading { /* 适用于不同的小工具标题 */
    width: 100%;
    font-size: 18px; /* 调整字体大小 */
    font-weight: normal; /* 不加粗 */
    padding-bottom: 5px; /* 文字与下划线之间的间距 */
    border-bottom: 1.3px solid #b8b8b7; /* 添加下划线，颜色可调整 */
    display: inline-block; /* 让下划线只覆盖文字部分 */
    margin: 10px 0 auto;
    text-align: center;
}


/* 1. 移除分类和标签前的列表点 */
.side-bar ul {
    color: #333333;
    font-weight: normal; /* 不加粗 */
    list-style-type: none; /* 移除列表默认的点 */
    padding: 0; /* 移除默认的内边距 */
    margin: 5px auto;
}

/* 2. 取消链接的默认下划线 */
.side-bar a:not(.site-logo):not(.sidebar-img) {
    text-decoration: none; /* 取消下划线 */
    color: #333; /* 设置默认颜色 */
    font-weight: normal; /* 不加粗 */
}

/* 3. 设置鼠标悬停效果 */
.side-bar a:not(.site-logo):not(.sidebar-img):hover {
    color: #3667c2; /* 鼠标悬停时改变颜色 */
    background-color: rgba(162, 159, 158, 0.1); /* 添加轻微背景色（可选） */
    border-radius: 5px; /* 可选：让背景有圆角 */
    padding: 3px 6px; /* 添加一些内边距，提高视觉效果 */
    transition: all 0.3s ease; /* 平滑过渡效果 */
}