﻿a.post-card {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.75rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background-color: #fff;
    transition: all 0.2s ease-in-out;
    text-decoration: none; /* 🚫 移除底線 */
    color: inherit; /* 🚫 使用文字原色 */
}

    a.post-card:hover {
        text-decoration: none; /* 防止 hover 底線 */
        color: inherit;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
        transform: translateY(-2px);
    }

.post-thumbnail {
    flex-shrink: 0;
    width: 200px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

.post-content {
    flex: 1;
}

.post-title {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.post-excerpt {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
}

.post-meta {
    font-size: 0.9rem;
    color: #6c757d;
}

/* 📱 手機版：圖片置頂、有留白 */
@media (max-width: 768px) {
    .post-card {
        flex-direction: column;
        padding: 1.25rem;
        gap: 1rem;
    }

    .post-thumbnail {
        width: 100%;
        height: auto;
    }
}
