table,
.wp-block-table {

  th {
    font-family: var(--heading--font-family);
  }

  td,
  th {
    padding: calc(0.5 * var(--global--spacing-unit));
  }

  &.is-style-regular .has-background,
  &.is-style-stripes .has-background thead tr,
  &.is-style-stripes .has-background tfoot tr,
  &.is-style-stripes .has-background tbody tr:nth-child(even) {
    color: var(--table--has-background-text-color);
  }

  &.is-style-stripes {
    border-color: var(--table--stripes-border-color);

    th,
    td {
      border-width: 0;
    }

    tbody tr:nth-child(odd) {
      background-color: var(--table--stripes-background-color);
    }
  }
}

table.wp-calendar-table {

  td,
  th {
    background: transparent;
    border: 0;
    text-align: center;
    line-height: 2;
    vertical-align: middle;
  }

  th {
    font-weight: bold;
  }

  thead,
  tbody {
    color: currentColor;
    border: 1px solid;
  }

  caption {
    font-weight: bold;
    text-align: left;
    margin-bottom: var(--global--spacing-unit);
    color: currentColor;
  }
}

.wp-calendar-nav {
  text-align: left;
  margin-top: calc(var(--global--spacing-unit) / 2);

  svg {
    height: 1em;
    vertical-align: middle;

    path {
      fill: currentColor;
    }
  }

  .wp-calendar-nav-next,
  .wp-calendar-nav-prev {

    a {

      display: flex;
      align-items: center;
      border: 1px solid red;

    }

  }

  .wp-calendar-nav-next {
    float: right;
  }
}
