
/*------------------------------------*\
 #POST CONTENT TABLES (MODERN & RESPONSIVE)
\*------------------------------------*/
.post-content table, .commentText table {
    width: 100%;
    margin-bottom: 1.5rem;
    color: #212529;
    vertical-align: top;
    border-collapse: collapse;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    table-layout: auto;
}

/* Container for responsiveness - should be added via JS or manual wrap */
.table-responsive-wrapper {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.table-responsive-wrapper table {
    margin-bottom: 0;
    border: none;
}

.post-content table th, .commentText table th,
.post-content table td, .commentText table td {
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    min-width: 120px;
    text-align: left;
}

/* Header styling */
.post-content table thead th, .commentText table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #f8f9fa;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #495057;
}

/* Zebra stripping for a modern look */
.post-content table tbody tr:nth-of-type(even),
.commentText table tbody tr:nth-of-type(even) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Hover effect for better interactivity */
.post-content table tbody tr:hover,
.commentText table tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.04);
    transition: background-color 0.1s ease-in-out;
}
