/** Blogs section  */
header {
  background-image: url("../images/header-bg.jpg") !important;
}

.blogs {
  background-color: #f8f9fa;
  padding: 50px 0;
}

.blogs__inner {
  width: 80%;
  margin: auto;
}

.blogs__title {
  font-size: 40px;
  font-weight: 700;
  color: #000000cc;
}

.blog__item {
  padding: 15px;
  max-width: 33.33%;
  flex: 0 0 33.33333%;
}

.blogs__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 30px;
}

.blog__item-image {
  overflow: hidden;
  background-image: url("../images/blog_image_1.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  display: block;
  width: 100%;
  height: 270px;
}

.blog__item:nth-child(n) .blog__item-image {
  background-image: url("../images/blog_image_1.jpg") !important;
}

.blog__item:nth-child(2n) .blog__item-image {
  background-image: url("../images/blog_image_2.jpg") !important;
}

.blog__item:nth-child(3n) .blog__item-image {
  background-image: url("../images/blog_image_3.jpg") !important;
}

.blog__item:nth-child(4n) .blog__item-image {
  background-image: url("../images/blog_image_4.jpg") !important;
}

.blog__item:nth-child(5n) .blog__item-image {
  background-image: url("../images/blog_image_5.jpg") !important;
}

.blog__item:nth-child(6n) .blog__item-image {
  background-image: url("../images/blog_image_6.jpg") !important;
}

.blog__item-content {
  position: relative;
  background: #fff;
  width: 100%;
  margin: 0 auto;
  padding: 1.5rem !important;
}

.blog__item-date {
  margin-top: -74px;
  position: absolute;
  top: 0;
  left: 0;
  background: #eac15a;
  display: flex;
  color: white;
}

.blog__item-date-day {
  width: 80px;
  padding: 8px;
  align-self: stretch !important;
}

.blog__item-date-day span {
  font-size: 58px;
  font-weight: 300;
  color: #fff;
  line-height: 1;
  font-family: "Poppins", sans-serif;
}

.blog__item-date-year {
  width: calc(100% - 80px);
  padding-top: 8px;
  padding-bottom: 8px;
  padding-right: 1rem;
  align-self: stretch !important;
}

.blog__item-date-year span.yr,
.blog__item-date-year span.mos {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Poppins", sans-serif;
  line-height: 1.8;
}

.blog__item-date-year::after {
  position: absolute;
  bottom: -10px;
  left: 20px;
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #eac15a transparent transparent transparent;
}

.blog__item-title {
  margin-bottom: 16px;
  font-weight: 400;
  margin-top: 0.5rem !important;
  color: #000000cc;
  line-height: 1.5;
}

.blog__item-title a {
  color: #000000;
  font-size: 22px;
  transition: all 0.2s ease-in-out;
}

.blog__item-title a:hover {
  color: #be8c27;
}

.blog__item-description {
  margin-top: 0;
  margin-bottom: 1rem;
  color: #999999;
  line-height: 1.8;
  font-size: 16px;
  font-family: "Poppins", sans-serif;
}

/* nihads */

@media (max-width: 576px) {
  .blogs__content {
    display: grid !important;
    grid-template-columns: repeat(1, 2fr);
  }

  .blog__item {
    width: 100% !important;
  }

  /* header */

  .header__inner {
    /* display: block !important; */
    padding: 10px !important;

    .header__logo {
      text-align: center;
    }
  }

  .header__title {
    font-size: 25px;
    line-height: 1.7;
  }

  .header__content {
    margin: 0;
    padding: 15px;
    position: relative;
  }

  .navbar {
    display: block;
    width: 66px !important;
  }

  .contact__me {
    display: none;
  }

  /*  */

  .divider {
    margin-top: 25px;
  }

  /* footer */

  .footer__inner {
    display: block !important;
  }

  .footer__inner-logo {
    width: 100%;
  }

  .footer__inner-contact {
    margin-top: 10px;
  }

  .footer__inner-social-media-links {
    flex-direction: column !important;
  }
}


@media ((min-width:577px) and (max-width: 768px)) {
  .blogs {
    margin-top: 40px;
  }
}

@media ((min-width: 767px) and (max-width: 992px)) {

  .blogs__content {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
  }

  .blog__item {
    max-width: 100%;
    /* width: 100% !important; */
  }

  .blogs {
    margin-top: 10px;
  }
}