.main-section-banners {
    padding: 50px 0;
    background: url(home-slider-bg.jpg) no-repeat center center;
    background-size: cover;
    position: relative;
}
.main-wrap {
    gap: 25px;
    -webkit-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    margin-top: 50px;
}
.main-section-left {
    width: 75%;
    flex-grow: 2;
}
.main-section-right {
    width: 25%;
    min-width: 420px;
    max-width: 420px;
    flex-grow: 1;
    min-height: 1px;
    margin-bottom: 10px;
}
.main-section-left .widget {
    margin-bottom: 40px;
}
.main-section-left .manga-archive {
    margin-bottom: 0;
}
.mg-item-wg {
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    gap: 0 20px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}
.mg-item-wg:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.mg-thumb-wg {
    min-width: 80px;
    max-width: 80px;
}
.mg-thumb-wg img {
    border-radius: 4px;
}
.mg-genre-wg {
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.mg-genre-wg a {
    color: #999;
    padding: 3px 5px;
    background: #1e1e1e;
    border: 1px solid var(--border-color);
    font-size: 13px;
    border-radius: 3px;
}
.mg-genre-wg a:hover {
    color: var(--primary-color);
}
.manga-archive {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    -webkit-align-items: baseline;
    align-items: baseline;
    margin-left: -5px;
    margin-right: -5px;
    margin-bottom: 20px;
}
.bgd .manga-archive {
    margin-bottom: 0;
}
.manga-archive .manga-item {
    width: 16.6667%;
    padding: 5px;
    text-align: center;
}
.cols-4.manga-archive .manga-item {
    width: 25%;
}
.cols-5.manga-archive .manga-item {
    width: 20%;
}
.manga-item-wrp {
   background-color: var(--bgd); 
   border-radius: 10px;
   overflow: hidden;
   padding-bottom: 10px;
   border: 1px solid #373737;
}
.bgd .manga-item-wrp {
    background-color: #292929;
}
.manga-photo {
    display: block;
}
.manga-photo img {
    width: 100%;
}
.archive-mangas .h-manga-title {
    color: inherit;
    font-size: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 20px 0 10px 0;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 5px;
}
.nav-sortby {
    gap: 0 10px;
}
.nav-sortby-item.active {
    color: var(--primary-color);
}
.nav-sortby-item.active:hover {
    text-decoration: line-through;
}
.mg-chaps-item:last-child {
    display: none;
}
.manga-tit {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
    display: block;
    padding: 0 8px;
    font-size: 15px;
}
.mg-chaps-item {
    justify-content: space-between;
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 80%;
}
.mg-chaps-item a {
    display: flex;
    align-items: center;
    padding: 1px 8px;
    background-color: #555;
    border-radius: 10px;
}
/* .ct-update-item {
    color: #888;
} */
.archive-title {
    font-size: 22px;
    font-weight: 500;
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 5px;
}
.mg-intro {
    margin-top: 5px;
}

/**
 * Single Manga
 */
.single-manga-info {
    padding: 50px 0;
    margin-bottom: 35px;
    overflow: hidden;
}
.single-manga-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    z-index: 0;
    background: url(home-slider-bg.jpg) no-repeat;
    background-size: cover;
    background-position: center center;
    filter: blur(30px);
}
.single-manga-bg:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); 
    z-index: 1; 
}
.manga-info-left {
    min-width: 345px;
    width: 345px;
    max-width: 100%;
}
.manga-info-left > img {
    width: 100%;
    border-radius: 10px;
}
.manga-info {
    z-index: 1;
    gap: 0 50px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    text-shadow: 2px 2px 4px #666;
    color: #ffffff;
}
.manga-info-right {
    padding: 15px 30px 30px 30px;
    border-radius: 10px;
    flex-grow: 2;
    overflow: hidden;
}
.bg-blur {
    position: absolute;
    z-index: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* background-color: rgba(0, 0, 0, .1); */
    background-color: rgba(255, 255, 255, .1);
}
.manga-info-right .title-rate,
.manga-info-right .manga-info-main {
    position: relative;
    z-index: 1;
}
.mana-info-title {
    margin: 0;
}
.social-share {
    margin-bottom: 20px;
    margin-top: 10px;
}
.manga-acts-item {
    gap: 10px;
    margin-top: 50px;
    text-shadow: none;
}
.chapter-link-coming {
    gap: 15px;
    font-size: 90%
}
.btn-txt {
    line-height: 1.4;
}
.act-cht {
    display: block;
    width: 100%;
    font-size: 20px;
    line-height: 24px;
    font-weight: bold;
}
.btn.chapter-link-coming {
    padding: 10px 60px;
    background-color: var(--primary-color);
    color: #333;
    border-radius: 10px;
}
.btn.chapter-link-coming:hover {
    background-color: var(--primary-color-hover);
}
.manga-info-item {
    margin-bottom: 15px;
}
.manga-info-item h5,
.manga-info-item p {
    margin: 0;
}
.manga-info-item h5 {
    min-width: 115px;
    font-size: 15px;
    color: #fff;
    font-weight: 500;
}
.btn.tag-btn,
.stt-bg,
.btn.manga-bookmark-act {
    background-color: rgba(170, 157, 149, 0.1);
    border: 1px solid rgba(255,255,255,0.3);
}
.btn.tag-btn:hover,
.btn.manga-bookmark-act:hover {
    background-color: var(--primary-color);
    text-shadow: none;
}
.manga-bookmark-act {
    gap: 5px;
}
.stt-bg {
    padding: 3px 15px;
    border-radius: 20px;
}
.mg-info-wrap {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
}
.mg-aq-lbl {
    min-width: 70px;
    display: inline-block;
}
.wg-genre-items {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    gap: 10px 0;
}
.wg-genre-item {
    width: 50%;
}
.manga-chapters {
    margin-left: -5px;
    margin-right: -5px;
}
.chap-item-single {
    width: 25%;
    padding: 5px;
}
.chap-item-link {
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 7px 15px 10px 15px;
}
.chapter-name {
    width: 100%;
    font-size: 115%;
    color: #fff;
    font-weight: bold;
}
.chap-item-link:hover {
    background-color: #2b2b2b;
    border-color: var(--border-color-hover);
}
.chap-item-link .ct-update-item {
    font-size: 13px;
}
.mg-info-terms {
    padding-left: 20px;
}

/**
 * Single Chapter
 */
.intro-chapter {
    color: #999;
    margin-bottom: 25px;
}
.reading-img {
    margin: 30px auto;
}
.reading-content p {
    margin-top: 0;
    margin-bottom: 0;
    line-height: 0;
}
.nav-chapter-top {
    position: sticky;
    top: 0;
    background-color: #222222;
    margin: 0 -10px;
    padding: 1px 10px;
}
.nav-chapters-wrap {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin: 10px 0;
}
.nav-chapters-left {
    position: relative;
}
.nav-list-chaps {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    height: 35px;
    background-color: #efefef;
    border: 1px solid #efefef;
    color: #333;
    border-radius: 5px;
    padding: 5px 20px;
    cursor: pointer;
}
.nav-chapters-right {
    gap: 10px;
}
.btn.nav-next-prev,
.btn.nav-next-prev:visited {
    height: 35px;
    border-radius: 5px;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #000;
    text-transform: capitalize;
    font-size: inherit;
    font-weight: normal;
}
.btn.nav-next-prev:hover {
    background-color: var(--primary-color-hover);
    border-color: var(--primary-color-hover);
}
.nav-prev-chap svg {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
}
.nav-prev-chap {
    padding: 0 25px 0 15px;
}
.nav-next-chap {
    padding: 0 15px 0 25px;
}
.intro-chapter p b {
    color: #fff;
}
.reading-chapter {
    margin-bottom: 60px;
}
.nav-chapter-next {
    padding: 10px;
    /* border: 1px solid var(--border-color); */
    background-color: var(--bgd);
    border-radius: 5px;
}
.nav-next-chap-bot {
    gap: 10px 20px;
    height: 100px;
    overflow: hidden;
}
.nav-next-chap-bot img {
    width: 100px;
}
.nav-next-chap-bot .img-wrap {
    overflow: hidden;
    border-radius: 5px;
    height: 100%;
}
.nav-next-chap-bot p {
    margin: 0;
    font-size: 20px;
    flex-grow: 1;
}
.nav-next-chap-bot .icon-wrap {
    height: 100%;
    width: 35px;
    background-color: var(--primary-color);
    border-radius: 5px;
    color: #000;
}
.manga-archive-ajax {
    position: relative;
}
.manga-archive-ajax.mg-loading {
    cursor: wait;
}
.mg-loading:before {
    position: absolute;
    content: "";
    background-color: rgba(255, 255, 255, .3);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
}
.mg-loading:after {
    position: absolute;
    content: "";
    width: 30px;
    height: 30px;
    border-top: 2px solid #efefef;
    border-bottom: 2px solid #333;
    border-left: 2px solid #efefef;
    border-right: 2px solid #333;
    border-radius: 50%;
    top: 20%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-animation: mg-spin .5s linear infinite;
    /* Safari | Chrome */
    -moz-animation: mg-spin .5s linear infinite;
    /* FF */
    -o-animation: mg-spin .5s linear infinite;
    /* Opera */
    -ms-animation: mg-spin .5s linear infinite;
    /* IE */
    animation: mg-spin .5s linear infinite;
}

/* Safari | chrome */
@-webkit-keyframes mg-spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(359deg);
  }
}
/* FF */
@-moz-keyframes mg-spin {
  0% {
    -moz-transform: rotate(0deg);
  }

  100% {
    -moz-transform: rotate(359deg);
  }
}
/* Opera */
@-o-keyframes mg-spin {
  0% {
    -o-transform: rotate(0deg);
  }

  100% {
    -o-transform: rotate(359deg);
  }
}
@keyframes mg-spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(359deg);
  }
}