.example {
  position: relative;
  padding: ($spacer * 3) $spacer $spacer;
  margin-right: -$spacer;
  margin-left: -$spacer;
  border: 2px solid $gallery;

  .grid .grid__cell,
  .flex-grid .flex-grid__cell {
    padding: $spacer;
    border: 1px solid $bombay;
    background-color: $bonjour;
  }

  .example__display.is-active {
    display: block !important;

    .is-active--inline {
      display: inline-block !important;
    }
  }
}

.example__tabs {
  position: absolute;
  top: 0;
  left: 0;
}

.example__tab {
  @include minion;

  display: inline-flex;
  padding: ($spacer / 2);
  background-color: $gallery;
  color: $base-text-color;
  text-decoration: none;

  @include color-swap-on-hover(
    $base-text-color,
    $base-text-color,
    $link-trans-speed
  );

  &:visited {
    @include color-swap-on-hover(
      $base-text-color,
      $base-text-color,
      $link-trans-speed
    );
  }
}

.example__iframe {
  width: 100%;
  // height: 400px;
  border: none;
}

@include md {
  .example {
    margin-right: 0;
    margin-left: 0;
  }
}
