/* 博客页专用样式 */
.blog-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 32px 24px;
    justify-content: center;
}
.blog-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 24px;
    margin-bottom: 32px;
}
.blog-row.single {
    justify-content: flex-start;
}
.blog-row.single .blog-post {
    margin-left: 0;
    margin-right: auto;
}
.blog-post {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 18px 18px 24px 18px;
    width: 320px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s;
    margin-bottom: 0;
}
.blog-post img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 14px;
}
.blog-post h3 {
    font-size: 1.08rem;
    margin: 0 0 8px 0;
    color: #005fa3;
    font-weight: 600;
}
.blog-post p {
    font-size: 0.98rem;
    color: #222;
    margin-bottom: 12px;
}
.blog-post a {
    color: #005fa3;
    text-decoration: underline;
    font-weight: 500;
}
@media (max-width: 1100px) {
    .blog-list {
        gap: 24px 12px;
    }
    .blog-row {
        flex-wrap: wrap;
        gap: 18px;
    }
    .blog-post {
        width: 46%;
    }
}
@media (max-width: 700px) {
    .blog-list {
        flex-direction: column;
        gap: 18px;
        justify-content: flex-start;
    }
    .blog-row {
        flex-direction: column;
        gap: 18px;
    }
    .blog-post {
        width: 100%;
    }
}
@media (min-width: 701px) {
    .blog-list:has(.blog-post:nth-child(4)) {
        justify-content: flex-start;
    }
    .blog-list:has(.blog-post:nth-child(4):last-child) {
        justify-content: flex-start;
    }
    .blog-list:has(.blog-post:nth-child(3):last-child) {
        justify-content: flex-start;
    }
    .blog-list:has(.blog-post:only-child) {
        justify-content: flex-start;
    }
}
