*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
  background: #F5F5F5;
  font-family: 'Rubik',sans-serif;
}

.container{
  padding: 30px 5%;
  max-width: 1200px;
  margin: 0 auto;
}
a{
  text-decoration: none;
}

/* Section Start Here */
/* 
    ** Smaller Devices
    ** Smaller than 992px
*/
.item-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}
.item-wrapper .item {
  flex: 0 0 100%;
  padding: 0;
}
.item-wrapper .item .item-post {
  display: flex;
  width: 100%;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 14px;
  box-shadow: 0 0 5px 5px #00000008;
}
.item-wrapper .item .item-post .item-img {
  position: relative;
  width: 200px;
  min-height: 140px;
  overflow: hidden;
  border-right: 1px solid #efefef;
}
.item-wrapper .item .item-post .item-content {
  padding: 10px 20px;
}
.item-wrapper .item .item-post .item-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all .2s linear;
}
.item-wrapper .item .item-post:hover .item-img img {
  transform: scale(1.1);
}
.item-wrapper .item .item-post .item-content h4 {
  margin: 0;
  padding: 0;
  font-size: 18px;
  line-height: 28px;
  color: rgb(13, 30, 37);
}
.item-wrapper .item .item-post:hover .item-content h4 {
  color:rgb(38, 97, 124);
}
.item-wrapper .item .item-post .item-content span {
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #8a8a8a;
  font-size: 12px;
}

/* 
    ** Larger Devices 
    ** Greater than 992px
*/
@media only screen and (min-width: 992px){

  .item-wrapper .item {
    flex: 0 0 50%;
    padding: 0 7px;
  }
  .item-wrapper .item a.item-special {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  .item-wrapper .item a.item-special .item-post {
    height: 100%;
    display: block;
    position: relative;
  }
  .item-wrapper .item a.item-special .item-post .item-img{
    height: 100%;
    width: 100%;
  }
  .item-wrapper .item a.item-special .item-post .item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg,rgba(0,0,0,.85),transparent);
    padding-top: 50px;
  }
  .item-wrapper .item a.item-special .item-post .item-content h4 {
    color: #fff;
    text-shadow: 0 1px 3px #000;
    font-size: 24px;
    line-height: 36px;
  }
  .item-wrapper .item a.item-special .item-post .item-content span {
    color: #dfdfdf;
    line-height: 28px;
  }
}


