/**
 * NTSI Content Versioning - Frontend Table Styling
 * RTL-aware table styles for .post-content tables.
 * Complements existing theme styles (style.css lines 1136-1145).
 */

.post-content table {
    width: 100%;
    border-collapse: collapse;
    direction: rtl;
    text-align: right;
}

.post-content table thead tr th,
.post-content table thead tr td {
    background: #5c6e7a;
    color: #fff;
    font-weight: 600;
    padding: 10px 14px;
    border: 1px solid #4a5a65;
}

.post-content table tbody tr td {
    padding: 8px 14px;
    border: 1px solid #ddd;
    vertical-align: top;
}

.post-content table tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.post-content table tbody tr:hover {
    background: #f0f7e7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .post-content table {
        font-size: 14px;
    }

    .post-content table thead tr th,
    .post-content table thead tr td,
    .post-content table tbody tr td {
        padding: 6px 8px;
    }
}

@media (max-width: 480px) {
    .post-content table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
