.main {
  background-color: #e8ecef;
  padding: 0 16px;
}

.line-limit-3 {
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
}

.blog-top-section {
  width: 100%;
  aspect-ratio: 1170 / 500;
  border-radius: 12px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin-top: 68px;
  position: relative;
}

.blog-top-section .content {
  padding: 28px;
  background-color: #ffffff;
  position: absolute;
  width: 50%;
  bottom: 0;
  left: 48px;
  border-radius: 12px;
  transform: translateY(64px);
}

.blogs-page .tag {
  background: #6b18f6;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  padding: 4px 10px;
  display: inline-block;
  margin: 0;
}
.blogs-page .tag a{
   color: #fff;
   display: block;
}
.blogs-page .tag.outline {
  background: #6b18f61a;
  color: #6b18f6;
}
.blogs-page .tag.outline a{
  color: #6b18f6;
}

.blog-top-section .content .big-title {
  line-height: 42px;
  font-size: 32px;
  font-weight: 600;
  margin:15px 0 20px;
  color: #181a2a;
}

.author {
  display: flex;
  align-items: center;
}

.author .avatar-container {
  height: 36px;
}

.author .avatar-default {
  font-size: 16px;
}

.author .full-name {
  font-size: 16px;
  font-weight: 600;
  color: #868e96;
  margin: 0;
  margin-left: 12px;

  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1; /* start showing ellipsis when 3rd line is reached */
  white-space: pre-wrap;
}

.author .time {
  font-size: 16px;
  color: #868e96;
  margin: 0;
  margin-left: 20px;
  flex-shrink: 0;
}

.blog-latest-posts {
  margin-top: 128px;
}

.blog-latest-posts h2.title {
  font-weight: 700;
  font-size: 28px;
  line-height: 40px;
}

.blog-latest-posts .posts-container {
  margin: 32px 0 48px;
  display: flex;
  align-items: center;
  column-gap: 24px;
  row-gap: 32px;
  flex-wrap: wrap;
}

.blog-latest-posts .post-item {
  padding: 16px;
  background: #ffffff;
  border-radius: 12px;
  width: calc(calc(100% - 48px) / 3);
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  align-items: flex-start;
}

.blog-latest-posts .post-item .avt-item {
  aspect-ratio: 342 / 240;
  object-fit: cover;
  width: 100%;
  border-radius: 6px;
}

.blog-latest-posts .post-item .item-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 30px;
  color: #181a2a;
  margin:0;
  height: 84px;
}

.blog-latest-posts .post-item .item-title:hover {
  text-decoration: underline;
}

.blog-latest-posts .post-item .item-author {
  margin-top: 4px;
}

.loading-more-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 53px;
}

/* Responsive */
@media all and (max-width: 992px) {
  .blog-top-section .content {
    top: 100%;
    bottom: initial;
    transform: translateY(-60px);
    left: 0;
    width: 90%;
  }

  .blog-latest-posts {
    margin-top: 212px;
  }

  .blog-top-section .content .big-title {
    font-size: 28px;
  }

  .blog-latest-posts .posts-container {
    column-gap: 12px;
    row-gap: 16px;
  }

  .blog-latest-posts .post-item {
    width: calc(calc(100% - 12px) / 2);
  }

  .blog-latest-posts .post-item .item-title {
    font-size: 20px;
    line-height: 24px;
    height: 74px;
  }
}

@media all and (max-width: 768px) {
  .blog-top-section {
    aspect-ratio: 442 / 340;
  }

  .blog-top-section .content .big-title {
    font-size: 24px;
    line-height: 28px;
  }

  .blog-top-section .content {
    padding: 20px;
    width: 92%;
  }

  .blog-latest-posts .post-item {
    width: calc(calc(100% - 12px) / 2);
  }

  .blog-latest-posts {
    margin-top: 178px;
  }
}

@media all and (max-width: 567px) {
  .blog-top-section .content .big-title {
    font-size: 18px;
    line-height: 24px;
  }

  .blog-latest-posts .post-item .item-title {
    font-size: 16px;
    line-height: 20px;
    height: initial;
  }

  .author .full-name {
    font-size: 13px;
  }

  .author .time {
    font-size: 12px;
  }

  .blog-latest-posts .post-item {
    width: 100%;
  }
}
