/**
 * Deep Essential — restore readable lists & tables in single post content.
 * Themes often reset list-style/padding and leave tables borderless / non-scrollable.
 */

.elementor-widget-wcf--theme-post-content ul,
.elementor-widget-theme-post-content ul,
.wcf--theme-post-content ul,
.entry-content ul,
.post-content ul,
.single-post .entry-content ul,
.single .entry-content ul {
	list-style: disc outside !important;
	margin: 0 0 1.25em !important;
	padding-left: 1.5em !important;
}

.elementor-widget-wcf--theme-post-content ol,
.elementor-widget-theme-post-content ol,
.wcf--theme-post-content ol,
.entry-content ol,
.post-content ol,
.single-post .entry-content ol,
.single .entry-content ol {
	list-style: decimal outside !important;
	margin: 0 0 1.25em !important;
	padding-left: 1.5em !important;
}

.elementor-widget-wcf--theme-post-content li,
.elementor-widget-theme-post-content li,
.wcf--theme-post-content li,
.entry-content li,
.post-content li,
.single-post .entry-content li,
.single .entry-content li {
	list-style: inherit !important;
	display: list-item !important;
	margin: 0 0 0.45em !important;
	padding-left: 0.15em !important;
}

.elementor-widget-wcf--theme-post-content li > ul,
.elementor-widget-wcf--theme-post-content li > ol,
.elementor-widget-theme-post-content li > ul,
.elementor-widget-theme-post-content li > ol,
.entry-content li > ul,
.entry-content li > ol,
.post-content li > ul,
.post-content li > ol {
	margin-top: 0.45em !important;
	margin-bottom: 0.45em !important;
}

/* Scroll wrappers around wide tables (added via the_content filter). */
.deep-table-scroll {
	display: block;
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 0 0 1.5em;
	padding-bottom: 0.25em;
}

.deep-table-scroll::-webkit-scrollbar {
	height: 8px;
}

.deep-table-scroll::-webkit-scrollbar-thumb {
	background: rgba(5, 2, 31, 0.2);
	border-radius: 999px;
}

/* Tables */
.elementor-widget-wcf--theme-post-content table,
.elementor-widget-theme-post-content table,
.wcf--theme-post-content table,
.entry-content table,
.post-content table,
.single-post .entry-content table,
.single .entry-content table,
.deep-table-scroll table {
	width: 100% !important;
	min-width: 560px;
	max-width: none !important;
	border-collapse: collapse !important;
	margin: 0 0 1.5em !important;
	display: table !important;
	table-layout: auto !important;
}

.deep-table-scroll table {
	margin-bottom: 0 !important;
}

.elementor-widget-wcf--theme-post-content th,
.elementor-widget-wcf--theme-post-content td,
.elementor-widget-theme-post-content th,
.elementor-widget-theme-post-content td,
.wcf--theme-post-content th,
.wcf--theme-post-content td,
.entry-content th,
.entry-content td,
.post-content th,
.post-content td,
.single-post .entry-content th,
.single-post .entry-content td,
.single .entry-content th,
.single .entry-content td,
.deep-table-scroll th,
.deep-table-scroll td {
	border: 1px solid rgba(5, 2, 31, 0.14) !important;
	padding: 0.7em 0.9em !important;
	vertical-align: top !important;
	text-align: left !important;
	word-break: normal;
	overflow-wrap: anywhere;
}

.elementor-widget-wcf--theme-post-content th,
.elementor-widget-theme-post-content th,
.wcf--theme-post-content th,
.entry-content th,
.post-content th,
.single-post .entry-content th,
.single .entry-content th,
.deep-table-scroll th {
	font-weight: 700 !important;
	background: rgba(5, 2, 31, 0.04) !important;
}

.elementor-widget-wcf--theme-post-content tr:nth-child(even) td,
.elementor-widget-theme-post-content tr:nth-child(even) td,
.wcf--theme-post-content tr:nth-child(even) td,
.entry-content tr:nth-child(even) td,
.post-content tr:nth-child(even) td,
.deep-table-scroll tr:nth-child(even) td {
	background: rgba(5, 2, 31, 0.02);
}

/* Fallback when tables are not wrapped yet */
.elementor-widget-wcf--theme-post-content .elementor-widget-container,
.elementor-widget-theme-post-content .elementor-widget-container,
.entry-content,
.post-content {
	overflow-x: auto;
	max-width: 100%;
}
