/* default is vertical */
.cy-key-posts {
  margin-bottom: 1em;
  padding-bottom: 1em;
}

.cy-key-posts__thumbnail {
  width: 30px;
}

.cy-key-posts__inner {
  width: 100%;
}

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

.cy-key-posts__postLink {
  padding: 5px 10px;
  font-weight: bold;
}

.cy-key-posts__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) {
  .cy-key-posts__thumbnailWrapper {
    flex-basis: 5% !important;
  }
  .horizontal .cy-key-posts__thumbnailWrapper {
    padding-top: 100%;
    position: relative;
  }
  .horizontal .cy-key-posts__thumbnail {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .horizontal .cy-key-posts__inner {
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
    flex-wrap: wrap;
    margin: 0 -5px;
  }
  .horizontal .cy-key-posts__readmore {
    flex: 1 1 auto;
    align-items: flex-end;
    justify-content: flex-end;
    display: flex;
    padding: 5px;
    margin-top: .5em;
  }
  .horizontal .cy-key-posts__post {
    flex-direction: column;
    min-width: 0;
    height: 100%;
  }

  .horizontal .cy-key-posts__postLink {
    padding-left: 0;
    padding-right: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 5px;
  }
  .horizontal .cy-key-posts__thumbnailWrapper {
    flex: initial;
  }
  .horizontal .cy-key-posts__item {
    flex: 1 0 250px;
    padding: 5px;
  }
}

/* update5 */
.cy-key-posts__titletext {position: relative;}

.cy-key-posts__title {
    overflow: hidden;
    margin-bottom: 5px !important;
}

.cy-key-posts__thumbnail {
  width: 30px;
}

.cy-key-posts__inner {
  width: 100%;
}

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

.cy-key-posts__thumbnailWrapper {
  align-items: center;
  display: flex;
  flex: 1 1 20%;
  position: relative;
}

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

.cy-key-posts__posttitle {
    text-align: right;
    font-weight: 800;
    padding: 5px 5px;
    text-transform: uppercase;
    display: block;
}

.cy-key-posts__posttitle:hover {
  text-decoration: underline;
}

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

.cy-key-posts__readmore span {
    background: #274654;
    padding: 5px 10px;
    color: #fff;
    float: right;
}

.cy-key-posts__excerpt {
  font-weight: normal;
  margin: 0;
  text-align: right;
  display: none;
}

.cy-key-posts__thumbnail {
  display: block;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  object-position: 50% 50%;
  object-fit: cover;
}

img.cy-key-posts__thumbnail.wp-post-image {
  max-width: 100%;
  border-radius: inherit;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

@media screen and (min-width: 600px) {
  .horizontal .cy-key-posts__thumbnailWrapper {
    padding-top: 100%;
    position: relative;
    flex-basis: 10%;
  }
  .horizontal .cy-key-posts__thumbnail {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  .horizontal .cy-key-posts__inner {
    display: flex;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 0;
  }
  .horizontal .cy-key-posts__post {
    flex-direction: column;
    min-width: 0;
  }

  .horizontal .cy-key-posts__postLink {
    padding-left: 0;
    padding-right: 0;
  }

  .cy-key-posts__excerpt {
    display: inherit;
  }
}

.cy-key-posts__item {
  display: block;
}

.stub-right .cy-key-posts {
  display: none;
}
@media screen and (min-width: 1000px) {
  .stub-right .cy-key-posts {
    display: block;
  }
  .stub-right img.cy-key-posts__thumbnail.wp-post-image {
    width: 100%;
    height: 42px;
    min-width: 42px;
    position: static;
  }
  .stub-right .cy-key-posts__thumbnailWrapper {
    flex: 0 0 42px;
  }
  .stub-right .cy-key-posts__postLink {
    background: none;
    padding-bottom: 5px;
  }
  .stub-right .cy-key-posts__posttitle {
    font-size: 12pt;
    font-weight: 700;
    margin-bottom: 0 !important;
    text-transform: none;
    color: #0d81f7;
  }
  .stub-right .cy-key-posts__item {
    text-decoration: none !important;
  }
  .stub-right .cy-key-posts__readmore {
    display: none;
  }

  .cy-key-posts__excerpt {
    display: inherit;
  }
}

.cy-key-posts__inner .cy-key-posts__item {
  border-bottom: 2px inset rgba(255, 255, 255, 0.5);
  text-decoration: none !important;
  }

.cy-key-posts__inner .cy-key-posts__item:last-child {
  border: none; /* remove the border on the last item */
}

.cy-key-posts__ready {
  visibility: visible;
}
