/* default is vertical */
.CYTrending {
  margin-bottom: 1em;
  border-bottom: 2px solid #eee;
  padding-bottom: 1em;
}

.CYTrending__thumbnail {
  width: 30px;
}

.CYTrending__inner {
  width: 100%;
}

.CYTrending__post {
  display: flex;
  padding: 5px 5px;
  /* border-top: 1px solid #282d6f; */
  width: 100%;
}

.CYTrending__thumbnailWrapper {
  flex: 0 0 50px;
  align-items: center;
  display: flex;
}

.CYTrending__postLink {
  padding: 5px 10px;
  font-weight: bold;
}

.CYTrending__thumbnail {
  width: 100%;
  display: block;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  object-position: 50% 50%;
  object-fit: cover;
}

@media screen and (min-width: 600px) {
  .horizontal .CYTrending__thumbnailWrapper {
    padding-top: 100%;
    position: relative;
  }
  .horizontal .CYTrending__thumbnail {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .horizontal .CYTrending__inner {
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    flex-wrap: wrap;
    margin: 0 -5px;
  }
  .horizontal .CYTrending__readmore {
    flex: 1 1 auto;
    align-items: flex-end;
    justify-content: flex-end;
    display: flex;
    padding: 5px;
    margin-top: .5em;
  }
  .horizontal .CYTrending__post {
    flex-direction: column;
    min-width: 0;
    height: 100%;
  }

  .horizontal .CYTrending__postLink {
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 5px;
  }
  .horizontal .CYTrending__thumbnailWrapper {
    flex: initial;
  }
  .horizontal .CYTrending__item {
    flex: 1 0 250px;
    padding: 5px;
  }
}

/* update5 */

@import url('https://fonts.googleapis.com/css?family=Karla:800');
.CYTrending__titletext {position: relative;}

.CYTrending__title {
    background: #274654;
    padding: 5px 10px;
    text-align: right;
    color: #f6f6f6;
    font-size: 1.3em;
    position: relative;
    overflow: hidden;
    margin-bottom: 5px !important;
}

.CYTrending__titletext:before {
    content: '';
    position: absolute;
    right: 100%;
    border: 2px solid #f6f6f6;
    border-left-style: none;
    border-right-style: none;
    width: 5000px;
    top: 0;
    bottom: 0;
    margin: 2px 5px;
}

.CYTrending__titletext:after {
    content: '';
    position: absolute;
    right: 100%;
    border: 2px solid #f6f6f6;
    border-left-style: none;
    border-right-style: none;
    width: 5000px;
    top: 0;
    bottom: 0;
    margin: 8px 5px;
}

.CYTrending__thumbnail {
  width: 30px;
}

.CYTrending__inner {
  width: 100%;
}

.CYTrending__post {
  display: flex;
  padding: 0;
  /* border-top: 1px solid #282d6f; */
  width: 100%;
  margin: 5px 0;
}

figure.CYTrending__post {
}

.CYTrending__thumbnailWrapper {
  align-items: center;
  display: flex;
}

.CYTrending__thumbnailWrapper {
    flex: 1 1 150px;
    position: relative;
}

.CYTrending__postLink {
  padding: 5px 10px 15px;
  font-weight: bold;
  flex: 5 1 0;
  min-width: 200px;
  position: relative;
  margin-bottom: 0;
}

.CYTrending__posttitle {
    text-align: right;
    font-weight: 800;
    font-size: 17px;
    padding: 5px 5px;
    line-height: 1.4;
    font-family: Karla, 'sans-serif';
    text-transform: uppercase;
    display: block;
}

.CYTrending__posttitle:hover {
  text-decoration: underline;
}

.CYTrending__posttitlewrap {
    text-align: right;
    display: flex;
    flex-grow: 1;
    flex-shrink: 0;
}

.CYTrending__readmore {
    color: #000 !important;
    overflow: hidden;
    margin-top: 1.8rem;
    font-size: 12px;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

.CYTrending__readmore span {
    background: #274654;
    padding: 5px 10px;
    color: #fff;
    float: right;
}

.CYTrending__excerpt {
    display: none;
}

.CYTrending__thumbnail {
  width: 100%;
  display: block;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  object-position: 50% 50%;
  object-fit: cover;
}

img.CYTrending__thumbnail.wp-post-image {
    border-radius: inherit;
    height: 100%;
    width: 100%;
}

img.CYTrending__thumbnail.wp-post-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
}

@media screen and (min-width: 600px) {
  .horizontal .CYTrending__thumbnailWrapper {
    padding-top: 100%;
    position: relative;
  }
  .horizontal .CYTrending__thumbnail {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .horizontal .CYTrending__inner {
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
  }
  .horizontal .CYTrending__post {
    flex-direction: column;
    min-width: 0;
  }

  .horizontal .CYTrending__postLink {
    padding-left: 0;
    padding-right: 0;
  }
}

.CYTrending__item {
  display: block;
}

.stub-right .CYTrending {
  display: none;
}
@media screen and (min-width: 1000px) {
  .stub-right .CYTrending {
    display: block;
  }
  .stub-right img.CYTrending__thumbnail.wp-post-image {
    width: 100%;
    height: 42px;
    min-width: 42px;
    position: static;
  }
  .stub-right .CYTrending__thumbnailWrapper {
    flex: 0 0 42px;
  }
  .stub-right .CYTrending__postLink {
    background: none;
    padding-bottom: 5px;
  }
  .stub-right .CYTrending__posttitle {
    font-size: 12pt;
    font-weight: 700;
    margin-bottom: 0 !important;
    text-transform: none;
    color: #0d81f7;
  }
  .stub-right .CYTrending__item {
    text-decoration: none !important;
  }
  .stub-right .CYTrending__readmore {
    display: none;
  }
  .stub-right .CYTrending__title {
      background: none;
      padding: 5px 0;
      text-align: left;
      color: #000;
      font-size: 1.5em;
      font-family: 'Roboto', sans-serif;
      letter-spacing: normal;
      text-transform: none;
  }

  .stub-right .CYTrending__titletext:before,
  .stub-right .CYTrending__titletext:after {
    content: none;
  }
}

.CYTrending {
  visibility: hidden;
}
.CYTrending .CYTrending__item:nth-child(5) ~ .CYTrending__item {
  display: none;
}
.CYTrending__ready {
  visibility: visible;
}
