.post-list {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.post-list:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 10px rgba(7, 140, 255, 0.18);
}

.block-image.feaimg .block-fea::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7) url('https://www.aybk.cn/favicon.ico') center/50px no-repeat;
    opacity: 0;
    transition: opacity .5s;
    z-index: 8;
}
.block-image.feaimg .block-fea:hover::before {
    opacity: 1;
}

.block-image.feaimg .block-fea:hover::after {
    opacity: 1;
}
.book-title {
    font-size: 24px;
    font-weight: bold;
    text-align: left; /* 改为靠左显示 */
    margin-bottom: 20px;
    color: #333;
}
.book-container {
    width: 100%;
}
.book-content {
    padding: 0 15px;
}
.book-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}
.book-item {
    position: relative;
}
.book-link {
    text-decoration: none;
}
.book-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}
.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}
.book-image {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 150%; /* 2:3 的比例 */
    overflow: hidden;
}
.book-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.book-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.0); /* 背景不变灰，保持透明 */
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: left;
}
.book-card:hover .book-overlay {
    opacity: 1;
}
.book-info {
    color: white;
    padding: 20px;
    width: 100%;
    max-height: 100%;
    overflow-y: auto;
}
.book-excerpt {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 35px;
    text-align: left;
    color: #ddd;
}
.book-title-bg {
    padding: 15px 20px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.book-title-name {
    color: white;
    font-size: 14px;
    margin: 0;
    font-weight: normal;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .book-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 768px) {
    .book-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}
@media (max-width: 480px) {
    .book-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}