/* Target tables on ipcuria.eu pages */
body table,
div table,
main table,
article table,
#content table {
    /* Remove all default borders */
    border: none !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    
    /* Optional: make table full-width like many legal docs */
    width: 100% !important;
    
    /* Slight spacing between rows via padding (not border-spacing) */
    empty-cells: show;   /* helps with cleaner look if empty cells exist */
}

/* Cells – this is where grey lines usually come from */
body table td,
body table th,
div table td,
div table th {
    border: none !important;               /* kill ALL borders – most important rule */
    border-bottom: none !important;        /* in case someone sets only bottom */
    border-right: none !important;
    
    /* Good spacing – EUR-Lex feel is usually 4–10px vertical, 6–12px horizontal */
    padding: 6px 10px !important;          /* sweet spot – adjust to taste */
    
    /* Optional: very light separator if you want subtle row distinction (like some EUR-Lex variants) */
    /* border-bottom: 1px solid #f0f0f0 !important; */   /* ← uncomment only if needed */
    
    vertical-align: top !important;        /* common in legal texts */
    text-align: left !important;
}

/* Headers – usually bolder/larger */
body table th,
div table th {
    font-weight: bold;
    background: none !important;           /* remove any grey/white bg */
    padding: 8px 10px !important;          /* slightly more top/bottom padding */
}

/* Prevent weird double borders if any nested tables exist */
table table {
    border: none !important;
}

/* Optional: better readability for numbered/paragraph-like tables */
table tr:nth-child(even) {
    background: #fcfcfc !important;        /* very subtle zebra – remove if not wanted */
}