/* Reduce text size, decrease padding, and force clean alignment across TablePress tables */
.tablepress {
	font-size: 13px !important; /* Adjust overall font size (default is usually 14px–16px) */
	line-height: 1.3 !important;
}

/* Decrease vertical and horizontal spacing inside cells to fit more content */
.tablepress th,
.tablepress td {
	padding: 6px 10px !important; /* Vertical top/bottom: 6px, Horizontal left/right: 10px */
}

/* Prevent cells from wrapping into multiple lines */
.tablepress td,
.tablepress th {
	white-space: nowrap !important;
}

/* Allow Column 2 text to visually overflow empty cells in Table 2 and Table 6 */
.tablepress-id-2 .column-2,
.tablepress-id-6 .column-2 {
	width: 50px !important;
	max-width: 50px !important;
	white-space: nowrap !important;
	overflow: visible !important;
}

@media only screen and (max-width: 767px) {
	/* Force TablePress to stack rows on mobile */
	.tablepress tr {
		display: block;
		margin-bottom: 15px;
		border: 1px solid #ddd;
		border-radius: 8px;
		padding: 10px;
		background: #f9f9f9;
	}

	.tablepress td {
		display: block;
		border: none;
		text-align: right;
		position: relative;
		padding: 6px 0;
	}

	/* Hide table headers on mobile */
	.tablepress thead {
		display: none;
	}
}