/* ============================================================
   tables.css — Softer Orange & Beige Light Theme
   ============================================================ */

/* 1. BASE TABLE */
table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 20px 0 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12.5px !important;
    border: 1px solid #EB935D !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

/* 2. HEADER ROW */
table th {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 7px 14px !important;
    text-align: left !important;
    border-bottom: 1px solid #EB935D !important;
    border-left: 1px solid #EB935D !important;
}

table th:first-child { border-left: none !important; }

/* 3. DARK THEME DATA ROWS */
table tbody tr:nth-child(odd)  { background-color: #1a1a1a !important; }
table tbody tr:nth-child(even) { background-color: #1f1f1f !important; }

/* All td — uniform color, font, weight */
table td {
    color: #b0b0b0 !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 12.5px !important;
    padding: 6px 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* First column — border only, inherits all else from td */
table td:first-child {
    border-left: none !important;
}

/* 4. LIGHT THEME OVERRIDES */
[data-theme="light"] table {
    border: 1px solid #EB935D !important;
}

[data-theme="light"] table th {
    background-color: #EBEAE4 !important;
    color: #111318 !important;
    border-bottom: 1px solid #EB935D !important;
    border-left: 1px solid #EB935D !important;
}

[data-theme="light"] table th:first-child { border-left: none !important; }

[data-theme="light"] table tbody tr:nth-child(odd)  { background-color: #F5F0EB !important; }
[data-theme="light"] table tbody tr:nth-child(even) { background-color: #EEE9E0 !important; }

/* All td in light — uniform color */
[data-theme="light"] table td {
    color: #444a5a !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 400 !important;
    font-size: 12.5px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-left: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* First column light — border only */
[data-theme="light"] table td:first-child {
    border-left: none !important;
}

/* 5. MOBILE */
@media (max-width: 768px) {
    .blog-wrap { overflow-x: auto !important; }
    table { min-width: 600px !important; }
}


/* Apply to EVERY cell in EVERY column */
table tbody td {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    color: #b0b0b0 !important; /* Dark mode color */
    padding: 6px 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* Light mode override for ALL cells */
[data-theme="light"] table tbody td {
    color: #444a5a !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-left: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* JUST remove the border for the first column (keep font/color) */
table td:first-child {
    border-left: none !important;
}