
/* 导航和相关文章 UI 修复 */
.post-navigation {
    margin-top: 30px;
    margin-bottom: 30px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation .nav-previous {
    text-align: left;
}

.post-navigation .nav-next {
    text-align: right;
}

.post-navigation a {
    display: block;
    padding: 10px 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.post-navigation a:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.post-navigation .meta-nav {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.post-navigation .post-title {
    display: block;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.4;
}

.related-posts {
    margin-top: 40px;
    margin-bottom: 40px;
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

.sec-panel-head {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.sec-panel-head h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    position: relative;
    padding-left: 10px;
}

.sec-panel-head h3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 18px;
    background-color: #2d6ded; /* Accent color */
    border-radius: 2px;
}

.post-loop.post-loop-image {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.post-loop.post-loop-image .item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.post-loop.post-loop-image .item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
}

.post-loop.post-loop-image .item-img {
    position: relative;
    padding-bottom: 60%; /* 16:9 aspect ratio */
    overflow: hidden;
}

.post-loop.post-loop-image .item-img-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.post-loop.post-loop-image .item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-loop.post-loop-image .item-content {
    padding: 15px;
}

.post-loop.post-loop-image .item-title {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 10px;
}

.post-loop.post-loop-image .item-title a {
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.post-loop.post-loop-image .item-title a:hover {
    color: #2d6ded; /* Accent color */
}

.post-loop.post-loop-image .item-meta {
    font-size: 12px;
    color: #999;
}

.post-loop.post-loop-image .item-meta-li {
    display: inline-block;
    margin-right: 10px;
}