/* CUSTOM EMBED */

.custom-embed {
  position: relative;
  padding: 0 10px;
}

.custom-embed__featured-image {
  display: block;
  width: 100%;
  height: auto;
}

.custom-embed__content {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
  background-color: #8ab82d;
}

.custom-embed__panel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.custom-embed__link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 200%;
}

.custom-embed__title {
  line-height: 1.3;
  font-family: 'Century Gothic Bold', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #fff;
}

.custom-embed__comments-count {
  display: inline-block;
  line-height: 12px;
  font-family: 'Century Gothic Bold', Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: #fff;
}

.custom-embed__comments-count:before {
  display: inline-block;
  vertical-align: top;
  background-image: url(../img/comments.svg);
  background-size: 100% 100%;
  content: '';
}

.custom-embed__button {
  display: inline-block;
  margin-left: auto;
  border-radius: 2px;
  background-color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
}

@media (min-width: 401px) {
  .custom-embed__content {
    padding: 30px;
  }

  .custom-embed__panel {
    margin-top: 30px;
  }

  .custom-embed__title {
    font-size: 18px;
  }

  .custom-embed__comments-count {
    font-size: 13px;
  }

  .custom-embed__comments-count:before {
    margin-right: 10px;
    width: 18px;
    height: 15px;
  }

  .custom-embed__button {
    padding: 10px 20px;
    font-size: 12px;
  }
}

@media (min-width: 651px) {
  .custom-embed__featured-image {
    max-width: 468px;
  }

  .custom-embed__content {
    position: absolute;
    top: 50%;
    right: 10px;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 340px;
  }
}

@media (max-width: 650px) {
  .custom-embed {
    padding-bottom: 10px;
  }
}

@media (max-width: 400px) {
  .custom-embed__content {
    padding: 15px;
  }

  .custom-embed__panel {
    margin-top: 15px;
  }

  .custom-embed__title {
    font-size: 14px;
  }

  .custom-embed__comments-count {
    font-size: 12px;
  }

  .custom-embed__comments-count:before {
    margin-right: 5px;
    width: 14px;
    height: 12px;
  }

  .custom-embed__button {
    padding: 10px;
    font-size: 10px;
  }
}