<style>
/* Main Wrapper */
.question-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Tabs Navigation */
.question-tabs-nav {
    display: flex;              /* Use flexbox to align items in a row */
    list-style: none;           /* Remove the default bullet points */
    margin: 0;
    padding: 0;
    overflow-x: auto;           /* Allow horizontal scrolling */
    white-space: nowrap;        /* Prevent the items from wrapping to the next line */
    flex-wrap: nowrap;          /* Ensure items do not wrap */
    justify-content: flex-start; /* Align tabs to the left, so no margin before the first tab */
}

/* Add horizontal scroll */
.question-tabs-nav::-webkit-scrollbar {
    height: 8px;
}

.question-tabs-nav::-webkit-scrollbar-thumb {
    border-radius: 4px;
}

.question-tabs-nav::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Add space between tabs */
.question-tabs-nav li {
    margin-right: 20px;         /* Add space between tabs, adjust as needed */
    display: inline-block;      /* Ensure the list items stay inline */
}

/* Remove left margin for the first item */
.question-tabs-nav li:first-child {
    margin-left: 0;
}

/* Add vertical bar separator */
.question-tabs-nav li::after {
    content: '|';               /* Add the vertical bar separator */
    margin-left: 10px;          /* Space between tab and separator */
    color: #888;                /* Color of the separator */
}

.question-tabs-nav li:last-child::after {
    content: '';                /* Remove separator from the last item */
}

/* Style the tab links */
.question-tabs-nav li a {
    text-decoration: none;      /* Remove underline from links */
    display: inline-block;      /* Ensure the anchor tag is inline */
    padding: 10px 15px;         /* Add padding to make the tabs more clickable */
    color: #888; 
	 font-size: 16px;            /* Set the default font size */
    border-radius: 8px;         /* Rounded corners for a button-like effect */
    transition: all 0.3s ease;  /* Smooth transition on hover */
}

/* Active Tab Style (Blue color for active) */
.question-tabs-nav .active a {
    color: #1c15d6;                /* Change text color to blue for active tab */
    font-weight: bold;          /* Make the active tab bold */
}

/* Tab Hover Style */
.question-tabs-nav li a:hover {
    color: #FF6347;             /* Adjust hover color as needed */
    text-decoration: underline; /* Optional: add underline on hover */
}

/* Grid Layout System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px; /* Negative margin to compensate for column padding */
}

/* Column Base Styles */
[class*="col-"] {
    padding: 0 12px;
    margin-bottom: 24px;
    box-sizing: border-box;
}

/* Column Widths */
.col-lg-12 {
    width: 100%;
}

.col-lg-6 {
    width: 50%;
}

.col-lg-4 {
    width: 33.333%;
}

.col-lg-3 {
    width: 25%;
}

/* Responsive Breakpoints */
@media (max-width: 1199px) {
    /* Tablet Landscape */
    .col-lg-4 {
        width: 50%;
    }
    .col-lg-3 {
        width: 33.333%;
    }
}

@media (max-width: 991px) {
    /* Tablet Portrait */
    .col-lg-6,
    .col-lg-4,
    .col-lg-3 {
        width: 50%;
    }
}

@media (max-width: 767px) {
    /* Mobile */
    .col-lg-6,
    .col-lg-4,
    .col-lg-3 {
        width: 100%;
    }
}
/* Fix for small screens */
@media (max-width: 575px) {
    .row {
        margin: 0 -8px;
    }
    [class*="col-"] {
        padding: 0 8px;
        margin-bottom: 16px;
    }
}
/* Question Card */
.question-box-card {
    position: relative; /* Required for pseudo-element positioning */
    border-radius: 22px; /* Apply border radius to all sides */
    padding-bottom: 4px;
background-color: var(--color-theme-white-box);
    margin-bottom: 14px;
    padding-left: 10px; /* Add space to the left to match the border color */
    overflow: hidden; /* Ensure the pseudo-element doesn't overflow */
}

.question-box-card:before {
    content: '';
    position: absolute;
    left: 0;
    top: 20px;
    bottom: 20px;
    width: 3px;
    background-color: #6e133d;
    border-radius: 42px;
    z-index: 1;
}

.question-box-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Question Image */
.question-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.question-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.question-box-card:hover .question-image img {
    transform: scale(1.05);
}

/* Header Section - Flex Row Layout */
.question-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
    color: #666;
}
.post-authors {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-authors img {
    border-radius: 50%;
    height: 70px; /* Fixed height */
    width: 70px;  /* Fixed width */
    object-fit: cover; /* Ensures the image fills the space without distortion */
}

/* Menu - Stuck to Right */
	.three-dot-menu {
    position: relative;
	margin-left: auto;
	font-size: 28px; /* Adjust the size of the icon */
    cursor: pointer;
    cursor: pointer;
    margin-right: 10px;
}

.three-dot-menu .dropdown-edit-menu {
    display: none;
    font-size: 14px; /* Adjust the size of the icon */
    border: 1px solid #ddd;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: absolute;
    border-radius: 14px;
    z-index: 9999;
    right: 0;
    top: 100%;
}

.three-dot-menu .dropdown-edit-menu a {
    padding: 4px;
	font-size: 15px; /* Adjust the size of the icon */
    text-decoration: none;
    display: block;
}
.three-dot-menu .dropdown-edit-menu a:hover {
    color: #3F51B5;
}
	.post-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
}
.dropdown-edit-menu {
    display: none;
    position: absolute;
    margin-top: -30px;
	margin-right: 20px;
	padding: 8px;
    z-index: 1000;
}

.dropdown-edit-menu.show {
    display: block;
}
/* Meta Information - Below Author Info */
.question-meta {
    gap: 5px;
    font-size: 18px;
    color: #777;
    font-size: 19px;
    margin: -14px 0px 12px 62px;
}

.meta-divider {
    margin: 0 5px;
    color: #ddd;
}

/* Content Section */
.question-content {
    padding: 0 15px 15px;
    flex-grow: 1;
}

.question-title {
    text-decoration: none;
    color: #222;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    word-break: break-word;
}

.question-title:hover {
    color: #0073aa;
}

.question-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    margin: 10px 0 0;
    word-break: break-word;
}

/* Footer Section - Improved spacing */
.question-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-top: 1px solid #eee;
    font-size: 13px;
    margin-top: auto;
}

.question-category {
    color: #777;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.question-category i {
    margin-right: 5px;
}

.question-category a {
    color: #555;
    text-decoration: none;
}

.question-category a:hover {
    color: #0073aa;
}

.question-comments {
    color: #777;
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.question-comments i {
    margin-right: 5px;
}

/* Share button positioning */
.share-button {
    position: relative;
    margin-left: auto;
    font-size: 28px;
    padding-right: 10px;
    color: var(--global-font-icon);
    cursor: pointer;
    transition: color 0.3s ease;
    padding-left: 10px;
    cursor: pointer;
    display: inline-block;
}


.share-button:hover  {
    color: #b51dad; /* Change color when the share button is hovered */
}

.share-dropdown {
    display: none;
    position: absolute;
    right: 0;
	bottom: 80%; /* Move dropdown above the share button */
    border-radius: 4px;
    padding: 0px;
    z-index: 10;
    flex-direction: row;
    gap: 10px;
}

.share-dropdown a {
    display: block;
    padding: 5px 0;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.share-dropdown a:hover {
    color: #007bff; /* Color change on hover */
}

.share-button:hover .share-dropdown {
    display: flex;
}

.share-dropdown a i {
    font-size: 20px;
    transition: color 0.3s ease;
}

/* Icon colors */
.share-facebook i { color: #1877F2; }
.share-twitter i { color: #1DA1F2; }
.share-linkedin i { color: #0A66C2; }
.share-whatsapp i { color: #25D366; }

/* No Questions Found */
.no-questions-found {
    text-align: center;
    padding: 50px 20px;
    color: #777;
}

/* Pagination */
/*.question-pagination {
    margin-top: 30px;
    text-align: center;
}

.question-pagination ul {
    display: inline-flex;
    list-style: none;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.question-pagination li {
    margin: 5px;
}

.question-pagination a,
.question-pagination span {
    display: block;
    padding: 8px 15px;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 4px;
    min-width: 40px;
    text-align: center;
}

.question-pagination a:hover {
    background: #f5f5f5;
}

.question-pagination .current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
} */

/* Mobile Specific Adjustments */
@media (max-width: 767px) {
    .question-tabs-nav {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
    }
    
    .question-tabs-nav li {
        display: inline-block;
        margin-bottom: 0;
    }
    
    .question-image {
        height: 150px;
    }
    
    .question-title {
        font-size: 16px;
    }
    
    .question-excerpt {
        font-size: 13px;
    }
    
    .question-footer {
        flex-wrap: wrap;
    }
    
    .question-category,
    .question-comments {
        margin-bottom: 8px;
    }
}
/* Modal Overlay Styles */
.edit-post-modal,
.report-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

/* Modal Content Styles */
.modal-contents {
    background-color: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Close Buttons */
.close-edit-btn,
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 34px;
    cursor: pointer;
    color: #777;
    transition: color 0.2s ease;
}

.close-edit-btn:hover,
.close-btn:hover {
    color: #333;
}

/* Modal Headers */
.modal-contents h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 20px;
    padding-right: 30px; /* Space for close button */
}

/* Form Elements - Common Styles */
.modal-contents label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #444;
}

.modal-contents input[type="text"],
.modal-contents textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.modal-contents input[type="text"]:focus,
.modal-contents textarea:focus {
    border-color: #0073aa;
    outline: none;
}

.modal-contents textarea {
    min-height: 100px;
    resize: vertical;
}

/* Checkbox Styles */
.checkbox-container {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #0073aa;
}

/* Violence Type List */
.violence-type-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.violence-type-item {
    padding: 8px 15px;
    background-color: #f5f5f5;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
}

.violence-type-item:hover {
    background-color: #e0e0e0;
}

.violence-type-item.selected {
    background-color: #0073aa;
    color: white;
}

/* Submit Buttons */
#saveEditPost,
#submitReport {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#saveEditPost:hover,
#submitReport:hover {
    background-color: #005a87;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .modal-contents {
        width: 90%;
        padding: 20px 15px;
    }
    
    .violence-type-list {
        gap: 6px;
    }
    
    .violence-type-item {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    #saveEditPost,
    #submitReport {
        padding: 10px;
    }
}
</style>