

/* 博客页面样式 */
.blog-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-title {
    text-align: center;
    color: var(--primary-pink);
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(245, 169, 184, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(245, 169, 184, 0.2);
}

.blog-card__image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card__image img {
    transform: scale(1.05);
}

.blog-card__content {
    padding: 1.5rem;
}

.blog-card__title {
    color: var(--primary-pink);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.blog-card__subtitle {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.blog-card__link {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.2s ease;
}

.blog-card__link:hover {
    transform: translateX(5px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .blog-main {
        padding: 1rem;
    }

    .blog-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

