.col-md-8 {
    width: 66.6667%;
}

.post-card {
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
}

.badge {
    display: inline-block;
    background-color: #00674f;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.posts h3 {
    margin-top: 12px;
}

.post-body {
    color: #6c757d;
    font-size: 14px;
}

.post-engagement {
    display: flex;
    gap: 20px;
    margin-top: 12px;
}

.post-engagement span {
    color: #6c757d;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.post-engagement i {
    margin-right: 4px;
    color: #00674f;
}






.paginator .pagination li {
    margin: 0 12px;
}

.pagination .paginator-counter {
    font-size: 14px;
    color: #555;
    margin-top: 15px;
    font-weight: 400;
    opacity: 0.7;
}

.badge-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-modal {
    position: absolute;
    width: 150px;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 1000; /* Ensure it’s on top of other elements */
    display: none; /* Hide by default */
}

.post-modal-content {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.post-modal-option {
    padding: 10px;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    width: 100%;
}

.post-modal-option:hover {
    background-color: #f0f0f0;
}

.post-ellipsis-icon {
    font-size: 20px;
}

.action-buttons {
    width: 100px;
    height: 40px;
    text-align: right;
    padding: 10px;
    z-index: 100;
    cursor: pointer;
}
/*
.action-buttons .edit-icon,
.action-buttons .delete-icon {
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.action-buttons .edit-icon {
    color: #007bff;
    padding: 0;
}

.action-buttons .delete-icon {
    color: #ff0000;
}

.action-buttons .edit-icon:hover {
    color: #0056b3;
}

.action-buttons .delete-icon:hover {
    color: #d32f2f;
} */

/* General Comments Section Styling */
.comments-section {
    border-top: 1px solid #ddd;
    padding-top: 20px;
    margin-top: 20px;
}

/* Comment Card Styling */
.comment-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Comment Header with Author and Time */
.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
    color: #555;
}

.comment-author {
    font-weight: bold;
    color: #333;
}

.comment-time {
    font-style: italic;
    color: #999;
}

/* Comment Body Text */
.comment-body{
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
}
.comment-body p {
    margin: 0;
    font-size: 15px;
    color: #333;
}

/* Add Comment Form */
.add-comment {
    margin-top: 20px;
}

.comment-input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.comment-btn{
    margin-top: 20px !important;
}

/* Login Prompt */
.login-prompt {
    margin-top: 20px;
}

.comment-modal {
    position: absolute;
    background-color: #ffffff; /* Customize to your theme */
    color: #000000;
    padding: 10px;
    border-radius: 4px;
    display: none;
    z-index: 10;
}


.modal-close-icon {
    cursor: pointer;
    float: right;
    font-size: 1.2em;
}

.modal-option {
    padding: 0;
    display: block;
    width: 100%;
    border: none;
    background: none;
    cursor: pointer;
    text-align: left;
    color: black;
}

.edit-comment-input {
    width: 100%;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}

.save-comment-btn, .cancel-comment-btn {
    background-color: #33479B; 
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    height: 40px;
    display: inline-block;
    text-align: center;
}

.ellipsis-icon {
    cursor: pointer;
    z-index: 1;
}

.comment-card .ellipsis-icon {
    padding: 5px;
    cursor: pointer;
}

.sort-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* .sort-icon {
    color: #0088ff;
    font-size: 16px;
} */

.sort-btn {
    background-color: #00674f;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sort-btn:hover {
    background-color: #004d3b;
}

/* .sort-btn:focus {
    outline: 2px solid #004d3b;
    outline-offset: 2px;
} */

.back-nav{
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-icon {
    font-size: 18px;
    color: #0088ff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.back-icon:hover {
    color: #005bb5;
}

.back-nav p {
    font-size: 16px;
    margin: 0;
    color: #333;
}

.explore-section{
    margin: 20px 0;
}

.explore-section .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.explore-section .tags .tag {
    padding: 5px 15px;
    border: 1px solid #ccc;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.explore-section .tags .tag.selected {
    background-color: #f0f0f0;
    border-color: #00674f;
    color: #00674f;
}

.explore-section .tags .tag:hover {
    background-color: #f0f0f0;
}

.popular-discussion {
    margin-top: 30px;
}

.popular-discussion h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.popular-discussion .discussion-item {
    display: block;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.3s ease;
}



.popular-discussion .discussion-item a {
    font-weight: bold;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.popular-discussion .discussion-item small {
    font-size: 12px;
    color: #666;
}

.popular-discussion .discussion-item:hover {
    background-color: #e9e9e9;
}

.popular-post-name{
    font-weight: bold;
}