.blog-listing {
  margin-top: 24px;
}

img {
  max-width: 100%;
}

body p {
  margin: 0;
}

.featured {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.2px;
  line-height: 36px;
  text-transform: uppercase;
  font-family: "Source Sans Pro", sans-serif;
  color: #070818;
}

.featured-desktop {
  display: none;
  margin-bottom: 24px;
}

.featured-mobile {
  margin-bottom: 16px;
}

.image-column {
  margin-bottom: 63px;
}

.image-wrapper img:first-of-type {
  display: none;
}

.image-wrapper img:nth-of-type(2) {
  display: inline-block;
}

#body .tag {
  padding: 7px 22px;

  color: #d10013;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.27px;
  line-height: 21px;
  text-align: center;
  text-transform: uppercase;

  background-color: #efefef;
  border-radius: 18px;
  display: inline-block;

  margin-right: 12px;
  margin-bottom: 12px;
  transition: ease-in 0.15s;
}

#body .blog-tile .tag {
  padding: 5px 13px;
  font-size: 12px;
  margin-right: 6px;
  margin-bottom: 6px;
}

#body .tag:last-of-type {
  margin-right: 0;
}

#body a.tag:hover {
  filter: brightness(0.85);
}

#body a:hover.tag,
#body a:visited.tag,
#body a:active.tag {
  color: #d10013;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
}

#body .tag.active {
  color: #ffffff !important;
  background-color: #d10013;
}

#body .tags {
  margin-bottom: 31px;
}

.primary {
  margin-right: 24px;
}

.image-column img {
  -webkit-box-shadow: -14px 14px 0px 0px #ffcb00;
  box-shadow: -14px 14px 0px 0px #ffcb00;
}

.author img {
  width: 36px;
  border-radius: 50%;
  margin-right: 18px;
}

#body .author,
#body .author a {
  color: #070818;
  font-family: "Source Sans Pro";
  font-size: 16px;
  letter-spacing: 0.3px;
  line-height: 36px;
  text-decoration: none;
}

.author {
  margin-bottom: 38px;
  margin-top: 41px;
}

.button-section {
  margin-top: 24px;
}

#body  .button-section .primary {
  width: 180px;
}

.button-section span {
  font-size: 16px;
  letter-spacing: 0.3px;
  line-height: 36px;
  text-align: right;
  opacity: 0.6;
  color: #070818;
}

.blog-tiles-list {
  padding: 0 9px;
}

.blog-tiles-list .blog-tile {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
}

.blog-tiles-list a.blog-tile:hover {
  text-decoration: none;
}

#body .blog-tiles-list .blog-tile h5.blog-tile-title {
  margin-bottom: 72px;
  flex-grow: 1;
}

#body .blog-tiles-list .blog-tile h5.blog-tile-title a {
  font-size: 30px;
  letter-spacing: 0.57px;
  line-height: 40px;
  font-weight: 800;
  color: #182181;
  font-family: "Poppins", sans-serif;
}

#body .blog-tiles-list .blog-tile h5.blog-tile-title a:hover {
  text-decoration: none;
}

#body .blog-tiles-list .blog-tile .tags {
  margin-bottom: 7px;
}

#body .blog-tiles-list .blog-tile .tag {
  background-color: white;
}

.blog-tiles-list .blog-tile .blog-tile-bottom {
  display: flex;
  justify-content: space-between;

  opacity: 0.5;
  color: #070818;
  font-size: 16px;
  letter-spacing: 0.3px;
  line-height: 36px;
}

.blog-tiles-list .blog-tile .blog-tile-content {
  padding: 36px 22px 32px 22px;
  background-color: #efefef;
  flex-grow: 1;

  display: flex;
  flex-direction: column;
}

#body.blog-listing h4 {
  margin-top: 73px;
  margin-bottom: 35px;

  font-size: 48px;
  letter-spacing: 0.91px;
  line-height: 60px;
}

.blog-tiles-list .blog-tile h5,
.blog-tiles-list .blog-tile .blog-tile-content {
  transition: ease-in 0.15s;
}

.blog-tiles-list a.blog-tile:hover .blog-tile-content {
  background-color: #d10013;
}

.blog-tiles-list a.blog-tile:hover .blog-tile-bottom {
  opacity: 0.7;
  color: #ffffff;
}

#body .blog-tiles-list a.blog-tile:hover h5 {
  color: #fff;
}

.blog-tiles-list .blog-tile {
  position: relative;
}

.blog-tiles-list .blog-tile::before {
  content: " ";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  background: #182181;
  transition: ease-in 0.15s;
}

.blog-tiles-list a.blog-tile:hover::before {
  transform: translate(15px, 19px) skew(-0.8deg, -1.3deg);
}

@media (max-width: 767px) {
  #body h3 {
    font-size: 36px;
    letter-spacing: 0.69px;
    line-height: 48px;
  }
}

@media (min-width: 768px) {
  .blog-tiles-list .blog-tile {
    margin-bottom: 64px;
  }
  
  .blog-tiles-list .blog-tile-wrapper {
    width: 47%;
    margin-right: 6%;
    display: flex;
  }

  .blog-tiles-list {
    display: flex;
    flex-wrap: wrap;

    padding: 0;
  }
}

@media (min-width: 992px) {
  .blog-listing {
    margin-top: 60px;
  }

  .blog-tiles-list .blog-tile {
    margin-bottom: 64px;
  }
  
  .blog-tiles-list .blog-tile-wrapper:nth-of-type(3n) {
    margin-right: 0;
  }

  .image-column img {
    -webkit-box-shadow: -24px 24px 0px 0px #ffcb00;
    box-shadow: -24px 24px 0px 0px #ffcb00;
  }

  .image-wrapper img:first-of-type {
    display: inline-block;
  }
  
  .image-wrapper img:nth-of-type(2) {
    display: none;
  }

  .featured-desktop {
    display: block;
  }

  .featured-mobile {
    display: none;
  }

  #body .tags {
    margin-bottom: 12px;
  }

  .author {
    margin-bottom: 21px;
    margin-top: 24px;
  }

  #body .latest-post .tag {
    margin-bottom: 0;
  }

  .button-section {
    margin-top: 32px;
  }

  #body .tags-list .tag {
    margin-bottom: 12px;
  }

  #body .tags-list {
    margin-bottom: 48px;
  }

  #body .blog-tiles-list .blog-tile .tags {
    margin-bottom: 11px;
    height: 47px;
    overflow: hidden;
  }

  .blog-tiles-list .blog-tile:last-of-type {
    margin-bottom: 64px;
  }

  .blog-tiles-list .blog-tile .blog-tile-content {
    padding: 36px 34px 32px 34px;
  }
}

@media (max-width: 1199px) {
  .blog-tiles-list .blog-tile-wrapper:nth-of-type(2n) {
    margin-right: 0;
  }
}

@media (min-width: 1200px) {
  .blog-tiles-list {
    margin-left: -15px;
    margin-right: -15px;
  }
  
  .blog-tiles-list .blog-tile-wrapper {
    width: 30%;
    margin-right: 5%;
  }
}
