@import 'variables';

#carbonads {
  display: flex;
  align-items: center;
  overflow: hidden;
  font-family: $font-family;
  max-width: 375px;
  background: $white;
  border: 1px solid $gray-200;
  border-radius: 3px;
  box-shadow: none;

  @include breakpoint('medium') {
    max-width: 100%;
  }

  a {
    color: inherit;
    text-decoration: none;
    border: none;

    &:hover {
      color: inherit;
    }
  }

  span {
    position: relative;
    display: block;
    overflow: hidden;
    margin: auto;
  }

  .carbon-wrap {
    display: flex;
  }

  .carbon-poweredby {
    display: block;
    padding: 8px 10px;
    background: $gray-50;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-weight: 400;
    font-size: 9px;
    line-height: 1;
    border-radius: 0 0 2px 2px;
    color: $gray-400;

    &:hover {
      background: $gray-50;
      color: $gray-400;
    }
  }
}

.carbon-img {
  display: block;
  margin: 0;
  line-height: 1;

  img {
    display: block;
    border-top-left-radius: 2px;
  }
}

.carbon-text {
  font-size: 13px;
  padding: 10px;
  line-height: 1.5;
  text-align: left;
}

.ts-ad {
  min-height: 127px;
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}