@media(min-width: 1024px){

  .custom-pop-wrapper {
    background: #f3f3f3;
    padding: 5rem 50px;
  }

  .custom-pop-wrapper .page-center{
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    justify-content: space-between;
  }

  span.custom-pop-links {
    position: absolute;
    top: -10px;
  }
  .custom-pop-links a{
    display: inline-block;
    background-color: #5b2b82;
    color: white;
    padding: 9px 22px;
    letter-spacing: 1px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 5px;
  }

  .custom-pop-links a:hover{
    background-color: #5b2b82;
    color: white;
  }

  .custom-hs-with-featured-image {
    background: white;
    display: flex;
    flex-flow: row wrap;
    align-items: stretch;
    margin: 3.6rem 0;
    position: relative;
    width: 30%;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16);
    transition: 0.2s;
    cursor: pointer;
  }
  .custom-hs-with-featured-image:hover {
    box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.49);
  }

  .custom-pop-wrapper  .hs-rss-item-text {
    padding: 10px 30px;
  }
  .custom-article{
    position: relative;
    margin: 10px 0 10px;
    font-size: .85rem;
    color: #99999a !important;
    text-transform: uppercase;
    font-weight: 800 !important;
    display: block;
  }

  .custom-pop-wrapper h2{
    font-size: 23px;
    line-height: 1.25;
    margin: 0;
  }
  .custom-pop-wrapper h2 a{
    color: rgb(38, 38, 38);
  }


  .custom-pop-wrapper h2{
    font-size: 23px;
    line-height: 1.25;
    margin: 0;
  }
  .custom-pop-wrapper h2 a{
    color: rgb(38, 38, 38);
  }

  .hs-rss-item-text p {
    line-height: 1.45;
  }

  span.pop-read {
    display: inline-block;
    position: relative;
    padding-bottom: 5px;
    font-weight: bold;
    color: #e32726;
    font-size: 16px;
    line-height: 16px;
  }



  .hs-rss-item-text .custom-read-more a span svg {
    position: relative;
    top: 2px;
    left: 3px;
  }

  .hs-rss-item-text .custom-read-more span.pop-read:before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    transition: width 0s ease, background .5s ease;
  }

  .hs-rss-item-text .custom-read-more span.pop-read:after {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    height: 3px;
    width: 0;
    background: #e32726;
    transition: width .5s ease;
  }

  .hs-rss-item-text .custom-read-more:hover span.pop-read:after {
    width: 100%;
    background: transparent;
    transition: all 0s ease;
  }

  .hs-rss-item-text .custom-read-more:hover span.pop-read:before {
    width: 100%;
    background: #e32726;
    transition: width .5s ease;
  }

  .hs-rss-item-text .custom-read-more a {
    display: block;
  }

  .custom-read-more {
    display: inline-block;
  }

}

@media(max-width: 1023px){

  .custom-pop-wrapper {
    background: #f3f3f3;
    padding: 5rem 50px;
  }

  .hs-rss-item-image-wrapper {
    float: right;
    width: 40%;
  }

  .hs-rss-item-text {
    float: left;
    width: 60%;
  }

  .custom-hs-with-featured-image:after {
    display: block;
    content: "";
    clear: both;
  }

  span.custom-pop-links {
    position: absolute;
    top: -10px;
  }
  span.custom-article {
    display: block;
  }
  .custom-pop-links a{
    display: inline-block;
    background-color: #5b2b82;
    color: white;
    padding: 9px 22px;
    letter-spacing: 1px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 5px;
  }

  .custom-pop-links a:hover{
    background-color: #5b2b82;
    color: white;
  }

  .custom-hs-with-featured-image {
    background: white;
    position: relative;
    margin-bottom: 70px;
  }

  .custom-pop-wrapper  .hs-rss-item-text {
    padding: 10px 30px;
  }
  .custom-article{
    position: relative;
    margin: 10px 0 10px;
    font-size: .85rem;
    color: #99999a !important;
    text-transform: uppercase;
    font-weight: 800 !important;
    display: block;
  }

}
