#style-5 {
  padding-top: 3rem;
  padding-bottom: 3rem
}

.style-5-item-left-wrapper, .style-5-item-right-wrapper {
  height: 600px !important;
  min-height: 600px !important;
  max-height: 600px !important
}

.style-5-item-left-wrapper:hover .style-5-item-left .title, .style-5-item-right-bottom-wrapper-1:hover .title, .style-5-item-right-bottom-wrapper-2:hover .title, .style-5-item-right-top:hover .title {
  background: rgba(0, 0, 0, .31) !important;
  -webkit-transition: 1s ease;
  -moz-transition: 1s ease;
  -o-transition: 1s ease;
  transition: 1s ease
}

.style-5 .style-5-item-right-top .date, .style-5-item-right-top .category {
  bottom: 2.5rem
}

.bg-shadow:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background-image: url(../../img/shadow.png);
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -moz-background-clip: content-box;
  -o-background-clip: content-box;
  background-clip: content-box;
  z-index: 2
}

.style-img {
  min-width: 100%;
  -webkit-box-shadow: rgba(0, 0, 0, .19) 0 -2px 10px, rgba(0, 0, 0, .23) 0 -6px 6px;
  -moz-box-shadow: rgba(0, 0, 0, .19) 0 -2px 10px, rgba(0, 0, 0, .23) 0 -6px 6px;
  box-shadow: rgba(0, 0, 0, .19) 0 -2px 10px, rgba(0, 0, 0, .23) 0 -6px 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
  -o-object-fit: cover;
  object-fit: cover;
  overflow: hidden
}

.style-5-item-right-top::before {
  bottom: 16px !important
}

.style-5 .category, .style-5 .date, .style-5 .title {
  background: 0 0 !important;
  -webkit-transition: 1s ease;
  -moz-transition: 1s ease;
  -o-transition: 1s ease;
  transition: 1s ease;
  z-index: 3;
}

.style-5 .date {
  right: 1.5rem !important;
  bottom: 1.5rem;
  left: auto;
  top: auto;
  margin-left: 1.5rem
}

.style-5 .title {
  right: auto;
  left: 1.5rem;
  top: auto
}

.style-5 .title-value {
  line-height: 1.4
}

.style-5-item-left .title {
  bottom: 5rem
}

.style-5-item-left .title-value {
  font-size: 30px;
  font-weight: 700
}

.style-5 .title {
  bottom: 5rem
}

.style-5 .title-value {
  font-size: 25px
}

.style-5-item-right-bottom-wrapper-1 .title, .style-5-item-right-bottom-wrapper-2 .title {
  bottom: 1.5rem
}

.style-5-item-right-bottom-wrapper-1 .title-value, .style-5-item-right-bottom-wrapper-2 .title-value {
  font-size: 18px
}

@media screen and (max-width:360px) {
  #style-5 {
    padding: 1.5rem 1rem
  }

  .style-5-item-left .title-value {
    font-weight: 400;
    font-size: 20px
  }

  .style-5-item-left .category, .style-5-item-left .date, .style-5-item-right-bottom .category, .style-5-item-right-bottom .date {
    bottom: 1rem !important
  }

  .style-5 .title {
    bottom: 3.5rem;
    background: rgba(0, 0, 0, .31) !important
  }
}

@media screen and (min-width:377px) and (max-width:575px) {
  .style-5 .title {
    bottom: 5rem
  }

  .style-5 .title {
    bottom: 4rem;
    right: auto;
    left: 1.5rem;
    top: auto
  }
}

@media screen and (max-width:576px) {
  #style-5 {
    padding: 1.5rem 1rem 2.5rem
  }

  .style-5-items {
    grid-template-columns: 1fr !important;
    grid-gap: 30px 30px !important
  }

  .style-5 .title {
    bottom: 4rem;
    background: rgba(0, 0, 0, .31) !important
  }

  .style-5 .date {
    right: auto !important;
    bottom: auto;
    left: 1.5rem !important;
    top: 1.5rem;
    margin-left: 0px;
  }

  .style-5-item-right-bottom-wrapper-1, .style-5-item-right-bottom-wrapper-2 {
    height: 275px !important;
    min-height: 275px !important;
    max-height: 275px !important
  }

  .style-5-item-left-wrapper, .style-5-item-right-top {
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important
  }

  .style-5-item-right-wrapper {
    height: auto !important;
    min-height: auto !important;
    max-height: 100% !important
  }

  .style-5-item-left-wrapper, .style-5-item-right-wrapper {
    grid-template-columns: 1fr !important;
    grid-gap: 10px 10px !important;
    display: grid
  }

  .style-5-item-right-bottom {
    grid-template-columns: 1fr !important;
    grid-gap: 30px 30px !important
  }

  .style-5 .title-value {
    font-size: 18px;
    font-weight: 400
  }

  .style-5 .style-5-item-right-top .date, .style-5-item-right-top .category {
    bottom: 1.5rem
  }
}

@media screen and (min-width:576px) and (max-width:767px) {
  .style-5-items {
    grid-template-columns: 1fr !important;
    grid-gap: 30px 30px !important
  }

  .style-5 .title-value {
    font-size: 30px
  }

  .style-5 .title {
    bottom: 5rem
  }

  .style-5-item-right-bottom-wrapper-1 .title, .style-5-item-right-bottom-wrapper-2 .title {
    bottom: 4rem
  }

  .style-5-item-right-bottom-wrapper-1 .category-icon, .style-5-item-right-bottom-wrapper-1 .date-icon, .style-5-item-right-bottom-wrapper-2 .category-icon, .style-5-item-right-bottom-wrapper-2 .date-icon {
    display: none;
    visibility: hidden
  }

  .style-5-item-right-bottom-wrapper-1 .category-value, .style-5-item-right-bottom-wrapper-2 .category-value {
    margin-left: 0
  }
}

@media screen and (min-width:768px) and (max-width:991px) {
  .style-5 .title {
    bottom: 5rem
  }

  .style-5 .title-value {
    font-weight: 700;
    font-size: 30px
  }

  .style-5-item-right-wrapper .title {
    bottom: 4rem
  }

  .style-5-item-right-wrapper .title-value {
    font-weight: 400;
    font-size: 20px
  }

  .style-5-item-right-top {
    height: auto !important;
    min-height: auto !important;
    max-height: 100% !important
  }

  .style-5-item-right-top .category, .style-5-item-right-top .date {
    bottom: 2rem !important
  }

  .style-5-item-right-bottom {
    grid-template-columns: 1fr 1fr !important;
    grid-gap: 30px 30px !important;
    height: auto !important;
    min-height: auto !important;
    max-height: 100% !important;
    margin-top: 15px
  }
}

@media screen and (min-width:992px) and (max-width:1023px) {
  .style-5 .title {
    bottom: 5rem
  }

  .style-5 .title-value {
    font-weight: 700;
    font-size: 30px
  }

  .style-5-item-right-wrapper .title {
    bottom: 2rem
  }

  .style-5-item-right-wrapper .title-value {
    font-weight: 400;
    font-size: 20px
  }

  .style-5-item-right-bottom .title-value {
    font-size: 18px
  }

  .style-5-item-right-wrapper .category, .style-5-item-right-wrapper .date {
    display: none
  }
}

@media screen and (min-width:1024px) and (max-width:1199px) {
  .style-5-item-right-bottom .title-value {
    font-size: 18px
  }

  .style-5-item-right-top .title-value {
    font-size: 24px
  }

  .style-5-item-right-wrapper .title {
    bottom: 4rem
  }

  .style-5-item-right-bottom .title {
    bottom: 2rem
  }

  .style-5-item-right-bottom .category, .style-5-item-right-bottom .date {
    display: none
  }
}

@media screen and (min-width:1200px) {
  .style-5-item-right-bottom .category, .style-5-item-right-bottom .date {
    display: none
  }
}

@media only screen and (min-width:834px) and (max-width:1199px) and (orientation:portrait) {
  .style-5-item-left-wrapper, .style-5-item-right-wrapper {
    height: 450px !important;
    min-height: 450px !important;
    max-height: 450px !important
  }

  .style-5-item-right-bottom {
    grid-template-columns: 1fr !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important
  }

  .style-5-item-right-bottom-wrapper-1 .title-value, .style-5-item-right-bottom-wrapper-2 .title-value {
    font-size: 18px
  }

  .style-5-item-right-bottom-wrapper-2 {
    display: none;
    visibility: hidden
  }

  .style-5 .style-5-item-right-top .date, .style-5-item-right-top .category {
    bottom: 1.5rem
  }
}

@media only screen and (min-width:1112px) and (max-width:1199px) and (orientation:landscape) {
  .style-5-item-left-wrapper {
    height: 480px !important;
    min-height: 480px !important;
    max-height: 480px !important
  }

  .style-5-item-right-bottom, .style-5-item-right-top {
    height: 225px !important;
    min-height: 225px !important;
    max-height: 225px !important;
    margin-bottom: 30px
  }

  .style-5-item-right-top::before {
    bottom: 0 !important
  }

  .style-5 .style-5-item-right-top .date, .style-5-item-right-top .category {
    bottom: 1.5rem
  }
}