/* 文章卡片网格布局 */
.posts-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.post-card {
    width: calc(50% - 10px);
}

.post-card-inner {
    overflow: hidden;
    border-radius: 15px;
}

.post-card-content {
    height: 200px;
    margin: 0;
    padding: 0;
    border-radius: 15px;
    overflow: hidden;
}

.post-card-link {
    color: white !important;
    display: block;
    height: 100%;
    text-decoration: none;
    position: relative;
}

.post-card-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.post-card-image.lazy-load {
    opacity: 0;
}

.post-card-image.loaded {
    opacity: 1;
}

.post-card-overlay {
    color: white;
    opacity: 1 !important;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.9) 100%);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    z-index: 1;
}

.post-card-date {
    font-size: 0.9em;
    opacity: 0.8;
    margin-bottom: 8px;
}

.post-card-title {
    margin: 0 0 10px 0;
    font-size: 1.4em;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.post-card-description {
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
    opacity: 0.9;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 头像样式 */
.logo2 {
    opacity: 1 !important;
}
