.qna-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.page-title {
    color: #2196f3;
    text-align: center;
    margin-bottom: 1rem;
}

.qna-description {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(to right, #f8f9fa, #e3f2fd, #f8f9fa);
    border-radius: 8px;
}

.qna-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.qna-post {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
    transition: all 0.3s ease;
}

.qna-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.15);
}

.qna-post.active {
    border-left: 4px solid #2196f3;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.post-header:hover {
    background-color: #f8f9fa;
    border-radius: 12px;
}

.post-info {
    flex: 1;
}

.post-category {
    display: inline-block;
    background-color: #e3f2fd;
    color: #2196f3;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.post-title {
    color: #333;
    font-size: 1.1rem;
    margin: 0;
}

.toggle-icon {
    color: #2196f3;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.post-content {
    color: #666;
    line-height: 1.6;
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-top: 1px solid #eee;
}

.action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.8rem 1.2rem;
    background-color: #f1f5ff;
    border-radius: 8px;
    text-decoration: none;
    color: #0066ff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.action-link:hover {
    background-color: #e3f2fd;
    transform: translateX(4px);
}

.action-link .github-icon {
    height: 1.2rem;
}

@media screen and (max-width: 768px) {
    .qna-container {
        padding: 0 0.5rem;
        margin: 1rem auto;
    }

    .post-header {
        padding: 1rem;
    }

    .post-title {
        font-size: 1rem;
    }

    .post-content {
        padding: 0 1rem;
    }
}