/*Home Module*/
.latest .mg_post__item .mg_post__image::before,
.trending .mg_post__item .mg_post__image::before {
  display: none;
}

.section_about h1 {
  font-size: 1.875rem;
  color: #fff;
}

.section_about {
  padding: 15px 0 0 !important;
}

.latest .mg_post__item .mg_post__content,
.trending .mg_post__item .mg_post__content {
  position: relative;
  padding: 0;
  margin-top: 10px;
}

.latest .mg_post__item .mg_post__image {
  height: calc(((var(--container-width) - 40px) / 6) * 4/3.5);
  overflow: hidden;
}

.tags {
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
  margin-top: 1rem;
}

.tags li {
  float: left;
}

.tag {
  background: #eee;
  border-radius: 3px 0 0 3px;
  display: inline-block;
  height: 26px;
  line-height: 24px;
  padding: 0 20px 0 20px;
  position: relative;
  margin: 0 10px 10px 0;
  text-decoration: none;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
  border: none;
  border-bottom: 1px solid #262626;
}

.tag::before {
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
  content: '';
  height: 6px;
  left: 10px;
  position: absolute;
  width: 6px;
  top: 10px;
}

.tag::after {
  background: #fff;
  border-bottom: 13px solid #262626;
  border-left: 10px solid #eee;
  border-top: 13px solid #262626;
  content: '';
  position: absolute;
  right: 0;
  top: 0;
}

.tag:hover {
  background-color: #fab20d;
  color: white;
}

.tag:hover::after {
  border-left-color: #fab20d;
}

.entry-content h2 {
  color: #fff;
}

/*End Home Module*/


/*Post_item*/
.mg_post__item {
  position: relative;
  margin-bottom: 1rem;
  transition: all ease .3s;
}

.mg_post__item:hover img {
  transform: scale(1.08);
}

.mg_post__image {
  display: block;
  height: calc(((var(--container-width) - 20px) / 6) * 4/3);
  position: relative;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
}

.mg_post__content {
  position: absolute;
  z-index: 1;
  bottom: 0;
  padding: 10px;
  width: 100%;
  left: 0;
}

.mg_post__image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: all ease .3s;
  border-radius: 9px;
  object-position: top;
}

.post_title a,
.post_title {
  font-size: 1rem;
  display: inherit;
  color: #fff;
  font-weight: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  -webkit-box-orient: vertical;
  margin: 0;
}

.post_title a:hover {
  color: #fab20d;
}

.mg_post__inner {
  position: relative;
  display: block;
}

.mg.mg_post__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.mg_post__image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 20%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 1) 100%);
  pointer-events: none;
  z-index: 1;
}

.new .mg_post__image::after {
  content: 'Up';
  position: absolute;
  display: inline-block;
  background: #28a745;
  color: #fff;
  left: 5px;
  top: 5px;
  font-size: 9px;
  font-weight: 600;
  padding: 4px;
  border-radius: 5px;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  animation: pulseUp 1.5s infinite;
}

.latest .mg_post__item {
  margin-bottom: 1rem;
}

@keyframes pulseUp {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/*End Post_item*/


/*Post_trending (Post_item)*/
.trending .mg_post__content::after {
  content: '';
  position: absolute;
  text-align: center;
  z-index: 7;
  top: 0;
  left: 9px;
  font-size: 2.5rem;
  border-radius: 11px 0 11px 0;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg, #999999, #eeeeee, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.trending .col-6.col-md-2:nth-child(1) .mg_post__content::after {
  content: "1";
}

.trending .col-6.col-md-2:nth-child(2) .mg_post__content::after {
  content: "2";
}

.trending .col-6.col-md-2:nth-child(3) .mg_post__content::after {
  content: "3";
}

.trending .col-6.col-md-2:nth-child(4) .mg_post__content::after {
  content: "4";
}

.trending .col-6.col-md-2:nth-child(5) .mg_post__content::after {
  content: "5";
}

.trending .col-6.col-md-2:nth-child(6) .mg_post__content::after {
  content: "6";
}

.trending .mg_post__item:hover {
  box-shadow: none;
}

.trending .mg_post__item .mg_post__content {
  padding: 0;
  margin-top: 12px;
  padding-left: 3rem;
  height: 39px;
  display: flex;
  align-items: center;
}

/*End Post_trending (Post_item)*/

/*Post_chapter (Post_item)*/
.mg .mg_post__content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mg .post_title {
  flex: 1;
  display: flex;
  margin-bottom: 5px;
}

.chapter-item {
  display: flex;
  padding: 4px 10px;
  border: 1px solid #f5930c;
  margin-bottom: 5px;
  border-radius: 20px;
  color: #fff;
  background-color: #2b2828d1;
  align-items: center;
  justify-content: space-between;
  transition: 0.3s ease all;
  font-size: 14px;
  position: relative;
}

.chapter-item:hover {
  background-color: #fab20d;
}

.chapter-item .post-on {
  font-size: 11px;
  color: #aaa;
}

.post-on.font-meta {
  position: absolute;
  top: 50%;
  right: 27px;
  z-index: 1;
  font-size: 9px;
  transform: translateY(-50%);
}

.chapter-item .chapter {
  display: block;
  width: 100%;
}

.chapter-item::after {
  position: absolute;
  content: '🔥';
  top: 4px;
  right: 5px;
  z-index: 1;
  font-size: 14px;
}

.chapter-item .hidTitle {
  display: none;
}

/*End Post_item_chapter*/


/*News (Post_item)*/
.news .mg_post__content {
  position: relative;
  padding: 0;
  margin-top: 10px;
}

.news .post_title {
  text-transform: uppercase;
}

.news .mg_post__image::before {
  display: none;
}

@media screen and (min-width: 576px) and (max-width: 768px) {
  .news .mg_post__inner {
    display: flex;
  }

  .news .mg_post__item .mg_post__image {
    width: 30%;
    height: 90px;
  }

  .news .mg_post__content {
    flex: 0 0 70%;
    padding-left: 10px;
    margin-top: 0;
  }
}

/*End News*/



/*Responsive*/
@media screen and (max-width: 768px) {

  .home_banner img {
    border-radius: 8px;
  }

  .section_about h1 {
    font-size: 1.25rem;
  }

  .mg_site__intro {
    text-align: justify;
    font-weight: 300;
    margin-bottom: 0;
  }

  [class*="col-"] {
    padding: 0 5px;
    margin-bottom: 10px;
  }

  .row {
    margin-left: -5px;
    margin-right: -5px;
  }

  .trending .mg_post__item .mg_post__content::after {
    font-size: 1rem;
    top: calc(-100% - 3px);
    -webkit-text-fill-color: #101010;
    background-clip: unset;
    width: 30px;
    height: 30px;
    border-radius: 0px 8px 0 8px;
    background: linear-gradient(135deg, #fab20d, #fcd85d, #f7a400);
    line-height: 30px;
    color: #333;
    left: 0;
  }

  .trending .mg_post__item .mg_post__content {
    padding-left: 0;
  }

  .c-blog__heading.s2 a::after {
    display: none;
  }

  .top-manga-genres li {
    padding: 3px 10px;
  }

  .top-manga-genres {
    gap: 5px;
  }

  .top-manga-genres li a {
    line-height: 1.2;
  }

  .c-blog__heading h2 {
    margin-bottom: 1.125rem;
  }

  .mg_post__item .mg_post__image {
    height: calc(((100vw - 20px) / 2) * 4/3);
  }

  .latest .mg_post__item .mg_post__image {
    height: calc(((100vw - 40px) / 2) * 4/3);
  }

  .post_title h2 {
    margin-top: 0;
  }

  footer.site-footer {
    padding-bottom: 0;
  }

  .list-chapter .chapter-item .chapter a {
    font-size: 13px;
  }

  .mg_post__content .post_title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    -webkit-box-orient: vertical;
  }

  .news .mg_post__inner {
    display: flex;
  }

  .news .mg_post__image {
    flex: 0 0 30%;
    height: 80px;
  }

  .news .mg_post__content {
    flex: 0 0 70%;
    padding-left: 10px;
    margin-top: 0;
  }

}

@media (min-width: 769px) and (max-width: 991px) {
  [class*="col-"] {
    padding-right: 5px;
    padding-left: 5px;
  }

  .latest .mg_post__item .mg_post__image {
    height: calc(((100vw - 120px) / 6) * 4/3);
    overflow: hidden;
  }

  .mg_post__item .mg_post__image {
    height: calc(((100vw - 120px) / 6) * 4/3);
  }

  .chapter-item {
    padding: 4px 10px;
    font-size: 14px;
  }

  .chapter-item::after {
    right: 4px;
    font-size: 12px;
    top: 6px;
  }

  .home_banner img {
    display: block;
    margin: auto;
  }
}

/*End Responsive