.wp-block-tab {
  max-width: 100%;
  flex-basis: 100%;
  flex-grow: 1;
  box-sizing: border-box;
}
.wp-block-tab > *:first-child {
  margin-top: 0;
}
.wp-block-tab > *:last-child {
  margin-bottom: 0;
}
.wp-block-tab[hidden], .wp-block-tab:empty {
  display: none !important;
}

.wp-block-tab.wp-block.has-background,
.wp-block-tab:not(.wp-block).has-background {
  padding: var(--wp--preset--spacing--30);
}