body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.container {
    width: 80%;
    max-width: 1000px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    justify-content: space-between;
}

.card img {
    width: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.card-content {
    padding: 0 15px;
    flex: 1;
}

.card-content h2 {
    font-size: 18px;
    margin: 0 0 10px;
}

.card-content p {
    font-size: 14px;
    color: #666;
}

.tags {
    margin: 10px 0;
}

.tags span {
    background: #eee;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    margin-right: 5px;
}

.actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
    margin-left: auto;
}

.actions a {
    text-decoration: none;
}

.actions button {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    min-width: 100px;
}

.actions button:hover {
    background: #0056b3;
}

@media (max-width: 768px) {
    .card {
        flex-direction: column;
        align-items: center;
    }

    .card img {
        width: 100%;
        height: 200px;
    }

    .actions {
        align-items: center;
        width: 100%;
        flex-direction: row;
        justify-content: center;
    }
}

/* 版权信息样式 */
.footer {
    text-align: center;
    padding: 10px 0;
    background-color: #f4f4f4;
    font-size: 14px;
    color: #666;
    width: 100%;
    margin-top: 20px; /* 与内容保持一定距离 */
}