@import url(/assets/css/header.css);
@import url(/assets/css/footer.css);

/* blog hero section start */
.blog-hero-section {
  background-color: #f2f4f7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 100px 140px;
}
.blog-hero-section .left-container {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 15px;
  width: 44%;
}
.blog-hero-section .left-container h2 {
  font-weight: 700;
  line-height: 72.61px;
  font-size: 60px;
  color: #000000;
  letter-spacing: 2px;
}
.left-container div {
  display: flex;
  align-items: center;
  gap: 25px;
}
.left-container div span {
  font-weight: 400;
  line-height: 36.31px;
  font-size: 30px;
  color: #4a5568;
  margin-top: 15px;
}
.left-container div .image {
  width: 70px;
  height: 60px;
}
.left-container div .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.right-container {
  max-height: 250px;
}
.right-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: cover;
}
/* blog hero section end */
/* blog cart container start */
.blog-cart-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  padding: 100px 230px;
}
.blog-item {
  border: 1px solid #e4e4e7;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.blog-item:hover {
  box-shadow: 0px 10px 20px rgba(192, 189, 189, 0.25);
  transition: 0.4s ease-in-out;
}
.item-image {
  width: 100%;
  height: 179px;
}
.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}
.blog-item .item-text {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 19px;
  padding: 16px;
}
.blog-item .item-text h4 {
  color: #2d3748;
  font-weight: 700;
  font-size: 20px;
  line-height: 24.2px;
}
.blog-item .item-text p {
  color: #718096;
  font-weight: 400;
  font-size: 14px;
  line-height: 16.94px;
}
.blog-item .item-text .history {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.item-text .history span {
  color: #718096;
  font-weight: 400;
  font-size: 12px;
  line-height: 14.52px;
}
.item-text .history p {
  color: #2d3748;
  font-weight: 700;
  font-size: 12px;
  line-height: 14.52px;
  cursor: pointer;
}
/* blog cart container start */

@media (max-width: 1200px) {
  .blog-hero-section,
  .blog-cart-container {
    padding: 42px 24px;
  }
}
@media (max-width: 991px) {
  .blog-hero-section {
    flex-direction: column;
    align-items: center;
  }
  .blog-hero-section .left-container {
    width: 100%;
    align-items: center;
  }
  .blog-hero-section .left-container h2 {
    text-align: center;
  }
  .left-container div {
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 768px) {
  .blog-cart-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .blog-hero-section {
    align-items: start;
  }
  .blog-hero-section .left-container {
    align-items: start;
    gap: 7px;
  }
  .left-container div {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 15px;
  }
  .blog-hero-section .left-container h2 {
    font-weight: 600;
    line-height: 42px;
    font-size: 36px;
    text-align: start;
    letter-spacing: 0;
  }
  .blog-cart-container {
    grid-template-columns: repeat(1, 1fr);
  }
}
