/* NaijaScore9 Blog canonical/table correction v2.3.48.171.
 * Scoped only to standard editorial posts under /blog/{post-slug}/.
 */

body.single-post .n9-entry-content .n9-blog-table-scroll,
body.single-post .n9-entry-content figure.wp-block-table {
	position: relative;
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 1.55em 0;
	overflow-x: auto !important;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-inline: contain;
	scrollbar-width: thin;
	scrollbar-color: rgba(16,185,129,.48) rgba(148,163,184,.14);
}
body.single-post .n9-entry-content .n9-blog-table-scroll::-webkit-scrollbar,
body.single-post .n9-entry-content figure.wp-block-table::-webkit-scrollbar {
	height: 8px;
}
body.single-post .n9-entry-content .n9-blog-table-scroll::-webkit-scrollbar-track,
body.single-post .n9-entry-content figure.wp-block-table::-webkit-scrollbar-track {
	border-radius: 999px;
	background: rgba(148,163,184,.14);
}
body.single-post .n9-entry-content .n9-blog-table-scroll::-webkit-scrollbar-thumb,
body.single-post .n9-entry-content figure.wp-block-table::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(16,185,129,.48);
}
body.single-post .n9-entry-content .n9-blog-responsive-table {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	border-collapse: collapse;
}
body.single-post .n9-entry-content .n9-blog-responsive-table th,
body.single-post .n9-entry-content .n9-blog-responsive-table td {
	min-width: 0;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: normal;
	vertical-align: top;
}

/* Tables with up to four columns should fit the phone instead of being clipped. */
@media (max-width: 640px) {
	body.single-post .n9-entry-content .n9-blog-table-compact {
		width: 100% !important;
		min-width: 100% !important;
		table-layout: fixed !important;
	}
	body.single-post .n9-entry-content .n9-blog-table-compact th,
	body.single-post .n9-entry-content .n9-blog-table-compact td {
		width: auto !important;
		padding: 11px 9px !important;
		font-size: 14px;
		line-height: 1.45;
	}

	/* Wider data sets remain fully accessible through a contained horizontal scroller. */
	body.single-post .n9-entry-content .n9-blog-table-wide {
		width: max-content !important;
		min-width: 680px !important;
		table-layout: auto !important;
	}
	body.single-post .n9-entry-content .n9-blog-table-wide th,
	body.single-post .n9-entry-content .n9-blog-table-wide td {
		padding: 11px 12px !important;
		font-size: 14px;
	}
}

@media (max-width: 420px) {
	body.single-post .n9-entry-content .n9-blog-table-compact th,
	body.single-post .n9-entry-content .n9-blog-table-compact td {
		padding: 9px 7px !important;
		font-size: 13px;
	}
}
