/* Custom styles for the forum module */

/* List group item hover effect */
.list-group-item:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}

/* Grid layout for posts */
.posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

/* Post card styling */
.post {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

/* Post card hover effect */
.post:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

/* Post media image styling */
.post .media-left img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

/* Post media image hover effect */
.post .media-left img:hover {
    transform: scale(1.1);
}

/* Post media heading styling */
.post .media-heading {
    font-weight: bold;
    color: #333333;
    margin-bottom: 5px;
}

/* Post content styling */
.post .content {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

/* Custom button styling */
.post .btn {
    background-color: #007bff;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Button hover effect */
.post .btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* Responsive grid layout for posts */
@media (max-width: 768px) {
    .posts {
        grid-template-columns: 1fr;
    }
}