/*----------------------------------------------------------------- */
/* TABLE
/*----------------------------------------------------------------- */

.editor-styles-wrapper .wp-block[data-type='core/table']
{
	overflow: visible;
}

.block_table table,
.editor-styles-wrapper .wp-block[data-type='core/table'] table
{
	width: 100%;
	min-width: 560px;

	border-collapse: collapse;
}

.editor-styles-wrapper .wp-block[data-type='core/table'] thead
{
	text-align: left;

	border: none;
}

.block_table tr,
.editor-styles-wrapper .wp-block[data-type='core/table'] tr
{
	border-bottom: 1px solid var(--color__grey);
}

.block_table tbody tr:last-child
{
	border-bottom: none;
}

.block_table td,
.block_table th,
.editor-styles-wrapper .wp-block[data-type='core/table'] td,
.editor-styles-wrapper .wp-block[data-type='core/table'] th
{
	padding: 16px 15px 16px 0;

	color: var(--color__black);
	border: none;
	background: none;
}

.block_table th,
.editor-styles-wrapper .wp-block[data-type='core/table'] th
{
	font-size: clamp(1.6rem, 1.4vw, 1.4rem);
	font-weight: var(--font-weight__bold);
}

.block_table td,
.editor-styles-wrapper .wp-block[data-type='core/table'] td
{
	font-size: clamp(1.5rem, 1.4vw, 1.4rem);

	vertical-align: top;
}

.block_table [data-align='left']
{
	text-align: left;
}

.block_table [data-align='center']
{
	text-align: center;
}

.block_table [data-align='right']
{
	text-align: right;
}

/* TABLE SIMPLE
----------------------------------------- */
.block_table.block_table-simple table,
.editor-styles-wrapper .wp-block[data-type='core/table'].is-style-block_table-simple table
{
	min-width: 320px;

	border: none;
	/* border-left: 2px solid var(--color__black); */
}

.block_table.block_table-simple tr,
.editor-styles-wrapper .wp-block[data-type='core/table'].is-style-block_table-simple tr
{
	border: none;
}

.block_table figcaption,
.editor-styles-wrapper .wp-block[data-type='core/table'] figcaption
{
	padding: 20px 0;

	text-align: left;
}

.block_table.block_table-simple td:first-child,
.editor-styles-wrapper .wp-block[data-type='core/table'].is-style-block_table-simple td:first-child
{
	width: 25%;

	white-space: nowrap;
}

.block_table.block_table-simple td,
.block_table.block_table-simple th,
.editor-styles-wrapper .wp-block[data-type='core/table'].is-style-block_table-simple td,
.editor-styles-wrapper .wp-block[data-type='core/table'].is-style-block_table-simple th
{
	padding: 18px 7px;

	border: none;
	border-bottom: 1px solid var(--color__grey);
}

.block_table.block_table-simple td,
.editor-styles-wrapper .wp-block[data-type='core/table'].is-style-block_table-simple td
{
	font-size: 1.4rem;
}

.block_table.block_table-simple td:first-child,
.editor-styles-wrapper .wp-block[data-type='core/table'].is-style-block_table-simple td:first-child
{
	font-weight: var(--font-weight__bold);
}
