/**
 * Unified editorial tables — pros/cons, comparison grids, payment tables.
 */

.kebab-guide-page__content .wp-block-table,
.kebab-page-shell__content .wp-block-table,
.kebab-reference-page__content .wp-block-table,
.kebab-article .wp-block-table,
.entry-content .wp-block-table {
	margin: 1.5rem 0 2rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.kebab-guide-page__content table,
.kebab-page-shell__content table,
.kebab-reference-page__content table,
.kebab-reference-page__content .kebab-betting-guide-2026__section table,
.kebab-reference-page__content .kebab-free-spins-guide-2026__section table,
.kebab-reference-page__content .kebab-casino-guide-2026__section table,
.kebab-reference-page__content .kebab-no-deposit-guide-2026__section table,
.kebab-article table,
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0 2rem;
	background: var(--theme-card-background);
	border: 1px solid var(--theme-border);
	font-size: 15px;
	line-height: 1.65;
	color: var(--theme-text);
}

.kebab-guide-page__content .wp-block-table table,
.kebab-page-shell__content .wp-block-table table,
.kebab-reference-page__content .wp-block-table table,
.kebab-article .wp-block-table table,
.entry-content .wp-block-table table {
	margin: 0;
}

.kebab-guide-page__content table thead th,
.kebab-page-shell__content table thead th,
.kebab-reference-page__content table thead th,
.kebab-article table thead th,
.entry-content table thead th {
	border-top: 3px solid var(--theme-secondary);
}

.kebab-guide-page__content table th,
.kebab-page-shell__content table th,
.kebab-reference-page__content table th,
.kebab-article table th,
.entry-content table th {
	padding: 12px 16px;
	border: 1px solid var(--theme-border);
	background: var(--theme-card-background);
	color: var(--theme-secondary);
	font-weight: 700;
	text-align: left;
	vertical-align: top;
}

.kebab-guide-page__content table td,
.kebab-page-shell__content table td,
.kebab-reference-page__content table td,
.kebab-article table td,
.entry-content table td {
	padding: 12px 16px;
	border: 1px solid var(--theme-border);
	background: var(--theme-card-background);
	color: var(--theme-muted);
	text-align: left;
	vertical-align: top;
}

.kebab-guide-page__content table a,
.kebab-page-shell__content table a,
.kebab-reference-page__content table a,
.kebab-article table a,
.entry-content table a {
	color: var(--theme-primary);
	font-weight: 600;
	text-decoration: none;
}

.kebab-guide-page__content table a:hover,
.kebab-page-shell__content table a:hover,
.kebab-reference-page__content table a:hover,
.kebab-article table a:hover,
.entry-content table a:hover {
	color: var(--theme-primary-hover);
	text-decoration: underline;
}

/* Neutralize legacy inline table styles from imported HTML */
.kebab-page-shell__content table[style],
.kebab-page-shell__content table th[style],
.kebab-page-shell__content table td[style],
.kebab-reference-page__content table[style],
.kebab-reference-page__content table th[style],
.kebab-reference-page__content table td[style] {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	background: var(--theme-card-background) !important;
	border: 1px solid var(--theme-border) !important;
	color: var(--theme-muted) !important;
	font-family: inherit !important;
	font-size: 15px !important;
	line-height: 1.65 !important;
	text-align: left !important;
	vertical-align: top !important;
}

.kebab-page-shell__content table thead th[style],
.kebab-reference-page__content table thead th[style] {
	border-top: 3px solid var(--theme-secondary) !important;
	color: var(--theme-secondary) !important;
	font-weight: 700 !important;
}

.kebab-page-shell__content table th[style],
.kebab-reference-page__content table th[style] {
	color: var(--theme-secondary) !important;
	font-weight: 700 !important;
}

@media (max-width: 767px) {
	.kebab-guide-page__content table th,
	.kebab-guide-page__content table td,
	.kebab-page-shell__content table th,
	.kebab-page-shell__content table td,
	.kebab-reference-page__content table th,
	.kebab-reference-page__content table td,
	.kebab-article table th,
	.kebab-article table td,
	.entry-content table th,
	.entry-content table td {
		padding: 10px 12px;
		font-size: 14px;
		word-break: break-word;
	}

	.kebab-page-shell__content table[style],
	.kebab-reference-page__content table[style] {
		width: 100% !important;
		min-width: 0 !important;
	}
}
