.wp-block-table.is-style-dark-headers-light-cells {
	margin-block: 3.2rem;
}

.wp-block-table.is-style-dark-headers-light-cells table {
	margin-block: 0;
}

.wp-block-table.is-style-dark-headers-light-cells table thead {
	display: none;
}

.wp-block-table.is-style-dark-headers-light-cells table tbody {
	display: flex;
	flex-flow: column nowrap;
	row-gap: 0.8rem;
}

.wp-block-table.is-style-dark-headers-light-cells table tbody tr {
	display: flex;
	flex-flow: column nowrap;
	gap: 0.6rem;
}

.wp-block-table.is-style-dark-headers-light-cells table tbody td {
	border: none;
	background-color: var(--wp--preset--color--bw-250);
	padding: 1.8rem 1.9rem;

	&:first-child {
		background-color: var(--wp--preset--color--bw-300);
		border-top-left-radius: 2rem;
		border-top-right-radius: 2rem;
	}
}

@media (min-width: 768px) {
	.wp-block-table.is-style-dark-headers-light-cells {
		margin-block: 4rem;
		width: fit-content;
	}

	.wp-block-table.is-style-dark-headers-light-cells table {
		border-collapse: separate;
		border-spacing: 0.6rem;
	}

	.wp-block-table.is-style-dark-headers-light-cells table thead {
		display: table-header-group;
	}

	.wp-block-table.is-style-dark-headers-light-cells table thead tr {
		height: 5rem;
	}

	.wp-block-table.is-style-dark-headers-light-cells table thead th {
		border: none;
		background-color: var(--wp--preset--color--blue-900);
		color: var(--wp--preset--color--bw-100);
		padding-inline: 2.5rem 2.3rem;

		&:first-child {
			border-top-left-radius: 2rem;
			padding-inline: 2.1rem 1.9rem;
		}

		&:last-child {
			border-top-right-radius: 2rem;
		}
	}

	.wp-block-table.is-style-dark-headers-light-cells table tbody {
		display: table-row-group;
	}

	.wp-block-table.is-style-dark-headers-light-cells table tbody tr {
		display: table-row;
	}

	.wp-block-table.is-style-dark-headers-light-cells table tbody td {
		background-color: var(--wp--preset--color--bw-300);
		padding: 2.4rem 2.3rem 2.4rem 2.5rem;
		width: 50.2rem;
		vertical-align: baseline;

		&:first-child {
			border-top-left-radius: 0;
			border-top-right-radius: 0;
			padding: 2.4rem 1.9rem 2.4rem 2.1rem;
			width: 28.2rem;
		}
	}
}
