.tabs__item {
  transition: opacity .25s;
  margin-bottom: auto;
}

.tabs__item--current ~ .tabs__item--last,
.tabs__item:target ~ .tabs__item--last {
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.tabs__item--current {
  opacity: 1;
  pointer-events: all;
  position: static;
}

.tabs__items {
  transition: min-height .25s;
}

.tabs__items[style^="--full-height"] {
  min-height: var(--full-height);
  overflow: hidden;
}