#carbonads * {
  margin: initial;
  padding: initial;
}

#carbonads {
  display: flex;
  float: right;
  margin: 0 0 20px 20px;

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
  Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', Helvetica, Arial,
  sans-serif;
  font-size: 11px;
  overflow: hidden;
  max-width: 130px;
  border-radius: 4px;
  box-shadow:
    0 0 1px hsla(0, 0%, 0%, .05),
    0 0 2px hsla(0, 0%, 0%, .05),
    0 0 4px hsla(0, 0%, 0%, .05);
}

#carbonads * {
  margin: initial;
  padding: initial;
}

#carbonads a {
  text-decoration: none;
  color: #111;
}

#carbonads a:hover {
  color: #111;
}

#carbonads .carbon-img {
  display: block;

  line-height: 1;
  max-width: 130px;
}

#carbonads .carbon-img img {
  display: block;
  margin: 0 auto;

  width: 130px;
  height: 100px;
}

#carbonads .carbon-text {
  display: block;
  padding: 8px 10px;

  line-height: 1.35;
  text-align: left;
  background-color: hsl(0, 0%, 98%);
}

#carbonads .carbon-poweredby {
  display: block;
  padding: 10px;

  font-size: 8px;
  font-weight: 600;
  line-height: 0;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: repeating-linear-gradient(-45deg,
  transparent,
  transparent 5px,
  hsla(0, 0%, 0%, .025) 5px,
  hsla(0, 0%, 0%, .025) 10px) hsla(203, 11%, 95%, .4);
  background-color: hsl(0, 0%, 98%);
}

@media only screen and (min-width: 320px) and (max-width: 759px) {
  #carbonads {
    float: none;
    position: relative;
    margin: 20px 0;
    background-color: #fff;

    max-width: 330px;
  }

  #carbonads .carbon-wrap {
    display: flex;

    flex-direction: row;
  }

  #carbonads .carbon-img {
    margin: 0;
  }

  #carbonads .carbon-text {
    margin-bottom: 28px;
    padding: 10px 10px 0 10px;

    font-size: 12px;
  }

  #carbonads .carbon-poweredby {
    position: absolute;
    right: 0;
    bottom: 0;

    text-align: center;
    border-radius: 0;
    border-top-left-radius: 3px;
  }
}

