/*
 * Table — core Table block (style "SPINCITY" is the default).
 * app: final-cards §9 .tbl-card + .tbl--lined. Right-align number columns with the block's own text-align.
 */
.wp-block-table {
	overflow: hidden;
	border: 1px solid var(--sc-hairline);
	border-radius: 14px;
	background: var(--sc-surface);
}

.wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	border: 0;
	font-size: 0.9375rem;
}

.wp-block-table th,
.wp-block-table td {
	padding: 12px 16px;
	border: 0;
	color: var(--sc-text);
	text-align: start;
}

.wp-block-table th.has-text-align-right,
.wp-block-table td.has-text-align-right { text-align: end; }
.wp-block-table th.has-text-align-center,
.wp-block-table td.has-text-align-center { text-align: center; }

.wp-block-table thead {
	border: 0;
	background: var(--sc-gradient-header);
}

.wp-block-table thead th {
	border-bottom: 1px solid var(--sc-hairline);
	color: var(--sc-text-muted);
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	white-space: nowrap;
}

.wp-block-table tbody tr:not(:last-child) td {
	border-bottom: 1px solid var(--sc-hairline);
}

.wp-block-table tbody tr:hover td {
	background: rgba(255, 255, 255, 0.04);
}

.wp-block-table tbody tr {
	transition: background var(--sc-transition);
}

.wp-block-table figcaption {
	padding: 8px 16px;
	color: var(--sc-text-muted);
	font-size: 0.8125rem;
	text-align: start;
}
