.wp-block-table {
	thead {
		border-bottom: 0;
	}

	tfoot {
		border-top: 0;
	}

	td,
	th {
		border: 0;
		border-bottom: 2px solid #103652;
		padding: 20px 12px;
		color: #103652;
	}

	tr:has(td em) {
		background-color: #E4E9EF;

		em {
			font-style: normal;
		}
	}
}

@media (max-width: 768px) {

	.wp-block-table table,
	.wp-block-table thead,
	.wp-block-table tbody,
	.wp-block-table tfoot,
	.wp-block-table tr,
	.wp-block-table td {
		display: block;
		width: 100%;
	}

	.wp-block-table thead {
		display: none;
	}

	/* Card */
	.wp-block-table tbody tr,
	.wp-block-table tfoot tr {
		background: #fff;
		border-radius: 0;
		padding: 14px;
		margin: 16px 0;
	}

	/* Label / value rows */
	.wp-block-table td {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 12px;
		padding: 10px 0;
	}

	.wp-block-table td::before {
		content: attr(data-label);
		font-weight: 600;
		opacity: 0.75;
	}

	/* Title field (first column) */
	.wp-block-table td:first-child {
		grid-template-columns: 1fr;
		font-weight: 700;
		font-size: 1.05em;
		padding-top: 0;
	}

	.wp-block-table td:first-child::before {
		content: "";
	}
}
