.wp-block-table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  min-width: 500px;
}
.wp-block-table tr td,
.wp-block-table tr th {
  width: 220px;
}
/* TABELLA STYLE REGULAR */
.wp-block-table.is-style-colored thead {
  background-color: var(--wp--preset--color--white);
}
.wp-block-table thead {
  border-bottom: none;
}
.wp-block-table.is-style-colored thead th {
  font-weight: 700;
  font-size: var(--wp--preset--font-size--font-3);
  padding: var(--wp--preset--spacing--40);
}
.wp-block-table.is-style-colored td,
.wp-block-table.is-style-colored th {
  border-radius: 8px;
  border: 2px solid var(--wp--preset--color--contrastcolor);
}
.wp-block-table.is-style-colored thead tr th:nth-child(4n + 1) {
  background-color: var(--wp--preset--color--accent-2);
}
.wp-block-table.is-style-colored thead tr th:nth-child(4n + 2) {
  background-color: var(--wp--preset--color--button);
}
.wp-block-table.is-style-colored thead tr th:nth-child(4n + 3) {
  background-color: var(--wp--preset--color--hover);
}
.wp-block-table.is-style-colored thead tr th:nth-child(4n + 4) {
  background-color: var(--wp--preset--color--accent);
}

.wp-block-table.is-style-colored tbody td {
  font-weight: 300;
  font-size: var(--wp--preset--font-size--font-p);
  padding: var(--wp--preset--spacing--40);
}

.wp-block-table.is-style-colored tbody tr td:nth-child(4n + 1) {
  background-color: color-mix(
    in srgb,
    var(--wp--preset--color--accent-2) 12.5%,
    transparent
  );
}

.wp-block-table.is-style-colored tbody tr td:nth-child(4n + 2) {
  background-color: color-mix(
    in srgb,
    var(--wp--preset--color--button) 12.5%,
    transparent
  );
}

.wp-block-table.is-style-colored tbody tr td:nth-child(4n + 3) {
  background-color: color-mix(
    in srgb,
    var(--wp--preset--color--hover) 12.5%,
    transparent
  );
}

.wp-block-table.is-style-colored tbody tr td:nth-child(4n + 4) {
  background-color: color-mix(
    in srgb,
    var(--wp--preset--color--accent) 12.5%,
    transparent
  );
}
.wp-block-table.is-style-colored tfoot {
  border: none;
}
.wp-block-table.is-style-colored tfoot td {
  font-weight: 500;
  font-size: var(--wp--preset--font-size--font-b);
}
.wp-block-table.is-style-colored tfoot tr td:nth-child(4n + 1) {
  background-color: color-mix(
    in srgb,
    var(--wp--preset--color--accent-2) 25%,
    transparent
  );
}
.wp-block-table.is-style-colored tfoot tr td:nth-child(4n + 2) {
  background-color: color-mix(
    in srgb,
    var(--wp--preset--color--button) 25%,
    transparent
  );
}

.wp-block-table.is-style-colored tfoot tr td:nth-child(4n + 3) {
  background-color: color-mix(
    in srgb,
    var(--wp--preset--color--hover) 25%,
    transparent
  );
}
.wp-block-table.is-style-colored tfoot tr td:nth-child(4n + 4) {
  background-color: color-mix(
    in srgb,
    var(--wp--preset--color--accent) 25%,
    transparent
  );
}
/* TABELLA STYLE STRISCE */
.wp-block-table.is-style-stripes thead {
  background-color: color-mix(
    in srgb,
    var(--wp--preset--color--basecolor) 50%,
    transparent
  );
  color: var(--wp--preset--color--contrastcolor);
}
.wp-block-table.is-style-stripes thead th {
  font-weight: 700;
  font-size: var(--wp--preset--font-size--font-3);
  padding: var(--wp--preset--spacing--40);
}
.wp-block-table.is-style-stripes td,
.wp-block-table.is-style-stripes th {
  border-radius: 8px;
  border: 2px solid var(--wp--preset--color--contrastcolor);
}
.wp-block-table.is-style-stripes tbody td {
  font-weight: 300;
  font-size: var(--wp--preset--font-size--font-p);
  padding: var(--wp--preset--spacing--40);
}
.wp-block-table.is-style-stripes tfoot {
  border: none;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: color-mix(
    in srgb,
    var(--wp--preset--color--basecolor) 15%,
    transparent
  );
}
.wp-block-table.is-style-stripes tbody tr:nth-child(even) {
  background-color: color-mix(
    in srgb,
    var(--wp--preset--color--basecolor) 5%,
    transparent
  );
}
.wp-block-table.is-style-stripes tfoot tr {
  background-color: color-mix(
    in srgb,
    var(--wp--preset--color--basecolor) 35%,
    transparent
  );
}
.wp-block-table.is-style-stripes {
  border-bottom: none;
}
