 /*
Theme Name: Madara-Child NovelHub
Description:  A child theme for Madara - WordPress Theme for Manga, Novel sites
Author:       Madara
Author URI:   https://mangabooth.com/
Template: madara
Text Domain: madara-child
Tags: one-column, two-columns, right-sidebar, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Version: 1.2.6.1
*/

/* define global variables */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,100..900;1,9..144,100..900&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

:root {
    --madara-main-color: #ffce2e;
    --secondary-color: #fd8d2f;
    --gray-text-color: #b8bfcc;
    --light-text-color: #fff;
    --dark-text-color: #000;
    --dark-2-text-color: rgb(54, 61, 77);
    --gray-bg-color: rgba(184,191,204,.2);
    --gray-bg-color-hover: rgba(184,191,204,.4);
    --dark-scheme-bg-color: #242933;
    --light-scheme-bg-color: #fff;
    --font-family: 'NunitoSans', sans-serif;
    --readingFontSize: 15px;
    --custom-cream: #F6F5E1;
    --custom-darkcream: #E8E6C8;
    --custom-soft-sky: #B4EBFF;
    --custom-rose: #FFBFE9;
    --custom-wine: #8A0005;
    --custom-darkwine: #700004;
    --custom-strawberry-milk: #FFE9F6;

    /* light color modes */
    --custom-cream-pop: #FFF9F6;
    --custom-warm-charcoal: #5C4A4A;
    --custom-pure-white: #FFFFFF;
    --custom-pale-lavender: #D7B1E4;
    --custom-light-pink-light: #FFEFEF;
    --custom-light-pink: #FFDFDF;
    --custom-light-pink-dark: #CCB2B2;
    --custom-soft-peach: #FEC8A3;
    --custom-soft-peach-dark: #E0AE8E;
    --custom-rosewood-mist: #C67586;
    --custom-rosewood-mist-dark: #A86371;
    --custom-carnation-pink: #F9A8B3;
    --custom-carnation-pink-dark: #D48F98;

    /* dark color modes */
    --custom-moonlit-mauve: #2B1E2A;
    --custom-midnight-lavender: #8C5FA3;
    --custom-midnight-lavender-dark: #734E86;
    --custom-plum-shadow: #3A2840;
    --custom-plum-shadow-dark: #2A1E30;
    --custom-blush-light: #F6DCE4;
    --custom-dream-peach: #E7AE8C;
    --custom-dewberry-rose-darker: #452631;
    --custom-dewberry-rose: #8A4C63;
    --custom-dewberry-rose-dark: #713E51;
}

/* General */
body.text-ui-light a:not(:hover) {
    color: var(--light-text-color);
}
.font-title a {
    font-size: 16px;
}
.font-title a:hover {
    color: unset;
    text-decoration: underline;
}

a:hover {
    color:unset;
    text-decoration: underline;
}

body.search .c-search-header__wrapper .search-content .btn-search-adv.collapsed {
    border-radius: 5px;
}

body.search .c-search-header__wrapper {
    padding-top: 10px;
}

.manga-chapters-listing th.title, .manga-chapters-listing th.release {
    width: 30%;
}

.manga-chapters-listing td.title a, .manga-chapters-listing td.release a, .manga-chapters-listing td.author a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    overflow: hidden;
}

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

.tab-wrap .c-nav-tabs span {
    color: var(--light-text-color);
}

/* Header */

/* .text-ui-light .site-header .main-navigation {
    background: var(--dark-scheme-bg-color);
}
.text-ui-dark .site-header .main-navigation{
    background: var(--light-scheme-bg-color);
} */
 
.site-header .main-navigation .main-navigation_wrap {
    padding: 18.5px 40px;
    display: flex;
    justify-content: space-between;

}

.site-header .main-navigation .main-navigation_wrap .wrap-left,
.site-header .main-navigation .main-navigation_wrap .wrap-right {
    display: flex;
    column-gap: 24px;
    align-items: center;
}


.site-header .main-navigation.style-1 .wrap_branding {
    width: unset;
}

.site-header .main-navigation.style-1 .main-menu {
    width: unset;
}

.open-search-main-menu {
    display: flex;
    align-items: center;
    background: var(--gray-bg-color);
    padding-left: 12px;
    padding-right: 12px;
    border-radius: 4px;
}

.wrap-right .open-search-main-menu:hover {
    background: var(--gray-bg-color-hover);
    text-decoration: none;
}

.wrap-right .open-search-main-menu i {
    font-size: 24px;
}

.wrap-right .open-search-main-menu span {
    font-size: 14px;
    margin-left: 8px;
}
.text-ui-light .wrap-right .open-search-main-menu span, .text-ui-light .wrap-right .open-search-main-menu i {
    color: var(--light-text-color);
}
.dark-ui-light .wrap-right .open-search-main-menu span, .text-ui-dark .wrap-right .open-search-main-menu i {
    color: var(--dark-text-color);
}

.header-btn-1 {
    border: 1px solid var(--madara-main-color);
    padding: 5px 24px;
    border-radius: 2px;
    text-transform: uppercase;
    color: var(--madara-main-color);
    font-weight: 550;
    transition: background-color .3s,color .3s
}

.header-btn-1:hover {
    background-color: var(--madara-main-color);
    color: var(--light-text-color);
    text-decoration: none;
}

.header-btn-2 {
    color: var(--gray-text-color);
    text-transform: uppercase;
    font-weight: 550;
    background: none;
    border:none;
}

.header-btn-2:hover {
    color: var(--light-text-color);
}

.header-btn-3 {
    background: var(--gray-bg-color);
    border:none;
    border-radius: 50%;
}
.header-btn-3 i {
    color: var(--gray-text-color);
    font-size: 28px;
}

.site-header .main-navigation .main-menu ul.main-navbar a {
    text-transform: uppercase;
}
.text-ui-light .site-header .main-navigation .main-menu ul.main-navbar > li > a {
    color: var(--light-text-color);
}
.text-ui-dark .site-header .main-navigation .main-menu ul.main-navbar > li > a {
    color: var(--dark-text-color);
}

.text-ui-light .site-header .main-navigation .main-menu ul.main-navbar > li:hover > a {
    color: var(--light-text-color);
}
.text-ui-dark .site-header .main-navigation .main-menu ul.main-navbar > li:hover > a {
    color: var(--dark-text-color);
}
.site-header .main-navigation .main-menu ul.main-navbar > li:hover > a:before {
    display: none;
}

/* .site-header .main-navigation_wrap .btn-active-modal[data-target="#form-login"] {
    background-color: var(--custom-wine); 
    color: var(--light-text-color) !important;
    padding: 8px 16px;
    margin-right: 10px;
}

.site-header .main-navigation_wrap .btn-active-modal[data-target="#form-login"]:hover{
    text-decoration: none;
} */

.site-header .c-modal_item .c-user_item{
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    cursor: pointer;
    color: var(--light-text-color)
}
.site-header .c-modal_item .c-user_item .c-user_avatar img{
    border-radius: 50%;
    width: 36px;
}
.site-header .c-user_menu {
    position: absolute;
    width: 180px;

    padding: 20px;
    list-style: none;
    right: 0;
    top: 100%;
    border-radius: 3px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1;
}
.text-ui-light .site-header .c-user_menu{
    background: var(--dark-scheme-bg-color);
}
.text-ui-dark .site-header .c-user_menu{
    background: var(--light-scheme-bg-color);
}

.site-header .c-modal_item .c-user_item:hover .c-user_menu {
    opacity: 1;
    visibility: visible;
}

.site-header .c-user_menu li {
    margin-bottom: 15px;
    font-weight: 550;
}

.main-navigation .main-menu ul ul.children, .main-navigation .main-menu ul ul.sub-menu {
    background:var(--dark-scheme-bg-color);
}

.main-navigation .main-menu ul ul.children > li, .main-navigation .main-menu ul ul.sub-menu > li {
    border-bottom: 0.5px solid #444;
}

.main-navigation .main-menu ul ul.children > li, .main-navigation .main-menu ul ul.sub-menu > li a {
    color: var(--light-text-color);
}

.main-navigation .main-menu ul ul.children > li,
.main-navigation .main-menu ul ul.sub-menu > li:hover,
.main-navigation .main-menu ul ul.children > li,
.main-navigation .main-menu ul ul.sub-menu > li:hover a {
    background: var(--madara-main-color);
    color: var(--light-text-color);
}

/* Novel Hub Hero Slider */
.c-top-sidebar {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: unset !important;
}
@media (max-width: 767px) {
    .c-top-sidebar {
        margin-top: 30px;
        margin-bottom:15px;
    }
}
.c-top-sidebar .widget {
    margin-bottom: 0;
}
.novelhub-hero_slider__container {
    display: none;
}
.novelhub-hero_slider__container.slick-initialized {
    display: block;
}
.novelhub-hero_slider__container.slick-slider {
    margin-bottom: 0;
}
.novelhub-hero_slider__container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: inline-block;
}

.novelhub-hero_slider__container .slick-dots {
    bottom: 25px;
}

.novelhub-hero_slider__container .slick-dots li {
    background: var(--gray-bg-color);
    width: 30px;
    height: 5px;
    border-radius: 1px;

}
.novelhub-hero_slider__container .slick-dots li.slick-active {
    background: var(--madara-main-color);
}
.novelhub-hero_slider__container .slick-arrow {
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
}

.novelhub-hero_slider__container:hover .slick-arrow {
    opacity: 1;
    visibility: visible;
}

.novelhub-hero_slider__container .slick-prev {
    left: 15%;
}
.novelhub-hero_slider__container .slick-next {
    right: 15%;
}
.novelhub-hero_slider__container .slick-arrow {
    font-size: 60px;
    color: var(--light-text-color);
    background: rgba(0,0,0,.4);
    width: 64px;
    height: 120px;
    transition: all .3s;
    z-index: 99;

}

.novelhub-hero_slider__container .slick-arrow:hover {
    background: rgba(0,0,0,.5);
}

.novelhub-hero_slider__container .slick-arrow:before {
    display: none;
}

/* Manga Listing */
.c-blog-post .entry-content .entry-content_wrap .c-blog__heading {
    border: none;
}
.c-blog-post .entry-content .entry-content_wrap .c-blog__heading i {
    display: none;
}
.c-blog-post .entry-content .entry-content_wrap .c-blog__heading h4 {
    font-size: 32px;
    text-transform: capitalize;
}

.c-blog__heading.style-2.font-heading {
    border-bottom: none;
    margin-top: 15px;
}

.c-blog__heading.style-2.font-heading i {
    display: none;
}

.c-blog__heading.style-2.font-heading h4 {
    font-size: 32px;
    text-transform: capitalize;
}

.tab-content-wrap {
    margin-top: 25px;
}

body.page .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail .page-listing-item .page-item-detail .item-thumb {
    border-radius: 2px;
}

.c-blog-post .entry-content .entry-content_wrap .c-blog__heading, .c-blog__heading.style-2.font-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.c-blog-post .entry-content .entry-content_wrap .c-blog__heading, .c-blog__heading.style-2.font-heading .heading-view-all {
    text-transform: capitalize;
    font-weight: 500;
    font-size: 15px;
}

.page-content-listing.item-big_thumbnail .page-listing-item .page-item-detail .item-summary .genre a {
    text-transform: capitalize;
    font-weight: 500;

}
.text-ui-dark .page-content-listing.item-big_thumbnail .page-listing-item .page-item-detail .item-summary .genre a, .text-ui-dark .item-summary .manga-genres a, .text-ui-dark .page-content-listing.item-default .manga-genres span a, .text-ui-dark .manga-chapters-listing thead th, .text-ui-dark .manga-chapters-listing td:not(.title):not(.release) a, .text-ui-dark .manga-chapters-listing tbody .author a, .text-ui-dark .manga-chapters-listing tbody .time span, .text-ui-dark .page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-1 .meta-item.summary{
    color: var(--dark-2-text-color);
}

.text-ui-dark .manga-chapters-listing tbody tr:nth-child(odd), .text-ui-dark .page-content-listing.item-chapters .view-all, .text-ui-dark .page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-1{
    background: rgb(216 216 216 / 30%)
}

body.page .c-page-content .c-page .c-page__content .page-content-listing .page-listing-item .page-item-detail .item-summary .rating {
    line-height: 1.8;
}

body.page .c-page-content .c-page .c-page__content .page-content-listing .page-listing-item .page-item-detail .item-summary .rating .ratings_stars {
    margin: 0 2px;
    font-size: 20px
}

body.text-ui-light.page .c-page-content .c-page .c-page__content .page-content-listing .page-listing-item .page-item-detail .item-summary .rating .score {
    color: var(--gray-text-color);
    font-size: 16px;
    font-weight: 400;
}

.item-summary .manga-genres a {
    text-transform: capitalize;
    color: var(--gray-text-color);
}

.item-summary .meta-item.rating {
    line-height: 1.8;
}

.item-summary .meta-item.rating i {
    font-size: 20px;
    margin: 0 2px;
}

.item-summary .meta-item.rating .score {
    font-size: 16px;
    font-weight: 400;
    margin-left: 8px;
}

/* Manga Listing Default Style  */
.page-content-listing.item-default {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 25px;
    column-gap: 25px;
}

.page-content-listing.item-default .page-item-detail {
    display: flex;
    column-gap: 15px;
    align-items: center;
    background: rgba(18, 18, 25, 0.73);
}

.page-content-listing.item-default .page-item-detail > div {
    flex: 1;
}

.page-content-listing.item-default .page-item-detail .item-thumb{
    border-radius: 0px;
}

.page-content-listing.item-default .page-item-detail .item-summary {
    padding-right: 10px;
}

/* Manga Listing Chapters */

.manga-chapters-listing thead th {
    text-transform: uppercase;
    color: var(--gray-text-color);
    font-weight: 500 !important;
}

.manga-chapters-listing tbody tr:nth-child(odd) {
    background: rgba(54,61,77,.3);
}

.manga-chapters-listing tbody td:first-child, .manga-chapters-listing thead th:first-child  {
    padding-left: 18px !important;
}
.manga-chapters-listing tbody td:last-child, .manga-chapters-listing thead th:last-child  {
    padding-right: 18px !important;
}
.manga-chapters-listing tbody .genre a {
    border: 1px solid #363d4d;
    padding: 2px 12px;
    color: var(--gray-text-color);
    display: inline-block;
    margin: 0 0 2px 0
}
.manga-chapters-listing tbody .author a, .manga-chapters-listing tbody .time span {
    color: var(--gray-text-color);
}
.manga-chapters-listing thead tr th, .manga-chapters-listing tbody tr td {
    border: none !important;
    padding: 10px !important;
}

.manga-chapters-listing tbody tr:hover {
    background: unset !important;
}

.manga-chapters-listing tbody tr:nth-child(odd):hover {
    background: rgba(54,61,77,.3) !important;
}

.page-content-listing.item-chapters .view-all {
    display: block;
    width: 100%;
    font-size: 15px;
    text-align: center;
    padding: 10px;
    background: rgba(18, 18, 26, .4);
}

.page-content-listing.item-chapters .manga-chapters-listing {
    margin-bottom: 5px !important;
}

/* .bookmark-btn .add-bookmark {
    display: flex;
    align-items: center;
    gap: 10px;
    border: solid 2px var(--madara-main-color);
    border-radius: 2px;
    padding: 5px 35px;
    color: var(--madara-main-color);
    text-transform: uppercase;
    font-weight: 500;
}
.bookmark-btn .action_icon i {
    font-size: 24px;
    color: var(--madara-main-color);
}

.bookmark-btn .add-bookmark {
    display: flex;
    align-items: center;
    gap: 10px;
    border: solid 2px var(--madara-main-color);
    border-radius: 2px;
    padding: 5px 35px;
    color: var(--madara-main-color);
    text-transform: uppercase;
    font-weight: 500;
}
.bookmark-btn .action_icon i {
    font-size: 24px;
    color: var(--madara-main-color);
} */

/* .quick-read #init-links .c-btn.c-btn_style-1 {
    background: var(--madara-main-color);
    color: var(--light-text-color);
    padding: 15px 35px;
    border-radius: 3px;
} */

/* Manga Listing Style One Featured */
@media (min-width: 1024px) {
    .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail.item-one_featured {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 24px;
        grid-row-gap: 24px;
    }

    .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-1  { grid-area: 1 / 1 / 3 / 3; }
    .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-2  { grid-area: 1 / 3 / 2 / 4; }
    .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-3 { grid-area: 1 / 4 / 2 / 5; }
    .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-4 { grid-area: 1 / 5 / 2 / 6; }
    .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-5 { grid-area: 1 / 6 / 2 / 7; }
    .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-6 { grid-area: 2 / 3 / 3 / 4; }
    .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-7  { grid-area: 2 / 4 / 3 / 5; }
    .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-8  { grid-area: 2 / 5 / 3 / 6; }
    .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-9 { grid-area: 2 / 6 / 3 / 7; }
}

@media (max-width: 1023px) {
    .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail.item-one_featured {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 16px;
        grid-row-gap: 16px;
    }
}

@media (max-width: 767px) {
    .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail.item-one_featured {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: auto;
        grid-column-gap: 12px;
        grid-row-gap: 12px;
    }
}

@media (max-width: 599px) {
    .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail.item-one_featured {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        grid-column-gap: 8px;
        grid-row-gap:8px;
    }
}

@media (max-width: 319px) {
    .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail.item-one_featured {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        grid-column-gap: 6px;
        grid-row-gap:6px;
    }
}


.page-content-listing.item-big_thumbnail.item-one_featured .desc{
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-1 {
    background: #000;
    padding: 48px 40px 48px;
}
.page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-1 .meta-item.summary {
    font-size: 16px;
    line-height: 1.6;
    margin-top: 12px;
    color: var(--gray-text-color);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
}

.page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-1 .page-item-detail .item-thumb {
    text-align: center;
    margin-bottom: 24px;
}

.page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-1 .page-item-detail .item-thumb img {
    width: 100%;
    padding: 0 30px;
}

.page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-1.page-item-detail .font-title a {
    font-size: 24px;
}

.page-content-listing.item-big_thumbnail.item-one_featured .page-item-detail .item-thumb {
    margin-bottom: 12px;
}

/*single manga*/
body.manga-page:not(.reading-manga) .profile-manga {
    padding-top: 45px;
    padding-bottom: 160px;
    position: relative;
    --p: 60px; /* control the shape (can be percentage) */
    clip-path: polygon(0 0,100% 0,100% calc(100% - var(--p)),0 100%);
}

body.manga-page:not(.reading-manga) .c-page-content {
    margin-top: -180px;
}
body.manga-page:not(.reading-manga) .c-page-content .content-area {
    background: #F8F9FA;
    padding-bottom: 64px;
}
body.manga-page:not(.reading-manga) .c-page-content .content-area .container {
    position: relative;
    padding: 52px 40px 40px;
    background: #fff;
    z-index: 999;
}

body.manga-page:not(.reading-manga).c-page-content .content-area .main-col-inner {
    padding-bottom: 0;
}

body.manga-page .profile-manga .tab-summary {
    display: flex;
    align-items: center;
    gap: 30px;
}

body.manga-page .profile-manga .tab-summary .summary_image {
    width: 300px;
    height: 300px;
    padding: 0;
    aspect-ratio: 1/1;
}

body.manga-page .profile-manga .tab-summary .summary_content{
    max-width: calc(100% - 300px);
}

@media (max-width:768px){
    body.manga-page .profile-manga .tab-summary .summary_content{
        max-width: 100%;
    }

    .reading-manga .manga-info .manga-title, .reading-manga .manga-info .site{
        position: absolute;
        bottom: 0
    }
    .reading-manga .manga-info .manga-title{
        bottom: 30px
    }
}

body.manga-page .profile-manga .tab-summary .summary_content .manga-type span {
    text-transform: uppercase;
    color: var(--gray-text-color);
}

body.manga-page .profile-manga .tab-summary .summary_content .manga-title h2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    margin-top: 4px;
    font-size: 40px;
    color: #fff;
}


body.manga-page .profile-manga .tab-summary .summary_content .manga-data.row-1 {
    display: flex;
    gap: 20px;
    color: var(--light-text-color);
    font-size: 14px;
    text-transform: capitalize;
    align-items: center;
}
body.manga-page .profile-manga .tab-summary .summary_content .manga-data.row-1 > div {
    display: flex;
    align-items: center;
    gap: 8px;
}
body.manga-page .profile-manga .tab-summary .summary_content .manga-data.row-1 i {
    font-size: 24px;
}

body.manga-page .profile-manga .tab-summary .summary_content .manga-data.row-2 .manga-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

body.manga-page .profile-manga .tab-summary .summary_content .manga-data.row-2 .manga-author span:first-child {
    color: var(--gray-text-color);
}

body.manga-page .profile-manga .tab-summary .summary_content .manga-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.manga-data.row-2 {
    margin-top: 8px;
}

.manga-rating {
    margin-top: 12px;
}

.quick-read a:hover {
    text-decoration: none;
}

.bookmark-btn {
    position: relative;
}
.bookmark-btn .action_icon i:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.quick-read #init-links .c-btn.c-btn_style-1:hover {
    opacity: 0.95;
}

.bookmark-btn .add-bookmark:hover {
    opacity:0.9;
}


.manga-extra-info__tabs .nav-tabs {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    border-bottom: none;

}
.manga-extra-info__tabs .nav-tabs .nav-link {
    border: none;
    font-size: 32px;
    font-weight: 550;
    padding: 0;
    color: var(--gray-text-color);
}
.manga-extra-info__tabs .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: var(--dark-text-color);
    border: none;
    border-bottom: solid 3px var(--madara-main-color);
}
#manga-extra-info__tabs > li:not(:first-child) {
    position: relative;
    padding-left: 40px;
}
#manga-extra-info__tabs > li:not(:first-child):before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 2px;
    height: 50%;
    background: rgb(231, 231, 231);
}

#manga-extra-info__tab-content {
    margin-top: 40px;
}

.manga-extra-info__content .info-block{
    margin-bottom: 40px;
}
.mobile .manga-extra-info__content .info-block{
    margin-bottom: 75px;
}

.manga-extra-info .manga-extra-info__content .info-block h4{
    color: var(--dark-2-text-color);
    font-size: 24px !important;
    text-transform: capitalize;
    margin-bottom: 16px;
}

.manga-extra-info .manga-extra-info__content .excerpt-content {
    color: var(--dark-2-text-color);
    font-size: 16px;
    line-height: 24px;
}

.manga-extra-info__content .info-block.show-less .excerpt-content{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


#read-more-btn button {
    padding: 5px 10px;
    box-shadow: none;
    border: 1px solid gray;
    background: transparent;
    border-radius: 3px;
    margin-top: 10px;
    float: right;
}

.manga-extra-info__content .manga-tags .tags-content {

}

.manga-extra-info__content .manga-tags .tags-content a {
    border: solid 1px var(--gray-text-color);
    border-radius: 30px;
    padding: 0px 15px;
    color: var(--dark-2-text-color);
    display: inline-block;
    margin: 2px
}

.manga-extra-info__content .manga-tags .tags-content a:before {
    content: '#'
}

.manga-extra-info__content .related-content {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 15px;
}

.page-item-detail .item-thumb {
    border-radius: 3px;
}

.page-item-detail .font-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    word-break: break-word;
    max-height: 48px;
    line-height: 24px;
    margin-top: 8px;
    font-size: 16px;
}

.related-content .page-item-detail .item-summary *:not(i) {
    color: var(--dark-2-text-color);
}

.info-block.manga-discussion .c-blog__heading{
    display: none;
}

.manga-extra-info__content .latest-release {
    gap: 30px;
}

.manga-extra-info__content .latest-release .latest-chap span:first-child{
    font-size: 16px;
    color: #7a8599;
    margin-right:15px;
}

.manga-extra-info__content .latest-release .latest-chap .chapter a {
    color: var(--dark-2-text-color);
    font-size: 16px;
    text-transform: capitalize;
}

.manga-extra-info__content .latest-release .post-on span {
    font-size: 14px;
    color: #7a8599;
}
.manga-extra-info__content .latest-release .btn-reverse-order {
    margin-left: auto;
}
.manga-extra-info__content .latest-release .btn-reverse-order .ion-md-swap:before {
    transform: rotate(90deg);
    font-size: 24px;
    color: var(--dark-2-text-color);
}

.manga-extra-info__content .latest-release {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray-bg-color);
}
body.manga-page.text-ui-light .page-content-listing.single-page .listing-chapters_wrap .wp-manga-chapter.reading:before {
    top: 10px;
}
body.manga-page.text-ui-light .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap li:after {
    display: none;
}
.listing-chapters_wrap .main, body.manga-page .page-content-listing.single-page .listing-chapters_wrap ul.sub-chap-list {
    display: flex !important;
    flex-wrap: wrap;
    column-gap: 30px;
}
.wp-manga-chapter {
    position: relative;
}
.wp-manga-chapter a:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.listing-chapters_wrap .main > li, .listing-chapters_wrap .main, body.manga-page .page-content-listing.single-page .listing-chapters_wrap ul.sub-chap-list > li {
    flex: 1;
    flex-basis: calc(50% - 30px);
}
.listing-chapters_wrap .main > .parent {
    flex-basis: 100%;
    margin: 15px 0;
    padding-top: 15px;
    padding-left: 0;
    /* border-top: 1px solid var(--gray-bg-color); */
}

.listing-chapters_wrap .main > .parent .sub-chap {
    margin-top: 20px;
    padding-left: 15px;
}

body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap .sub-chap > li:before {
    display: none;
}

.listing-chapters_wrap .main > li.wp-manga-chapter, body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap .sub-chap-list > li {
    display: flex;
    flex-direction: column;
    padding: 16px 24px 16px 16px !important;
    border-radius: 3px;
}

.listing-chapters_wrap .main > li.wp-manga-chapter:nth-of-type(4n-1),
.listing-chapters_wrap .main > li.wp-manga-chapter:nth-of-type(4n),
body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap .sub-chap-list > li:nth-of-type(4n-1),
body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap .sub-chap-list > li:nth-of-type(4n)
{
    background: #f7f8f9;
}

.listing-chapters_wrap a {
    color: var(--dark-2-text-color) !important;
    font-size: 16px;
    display: -webkit-box !important;
    -webkit-line-clamp: 1; /* Number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 !important;
    font-weight: 500 !important;
}

.listing-chapters_wrap .chapter-release-date {
    all: unset !important;
    display: inline;
    color: #7a8599 !important;
    font-size: 12px !important;
    margin-top: 8px !important;
}

.listing-chapters_wrap .chapter-release-date i {
    font-style: normal !important;
}

/*Footer */
body.text-ui-light .site-footer, body.text-ui-dark .site-footer {
    background: #12121a;
}
.site-footer .widget_nav_menu__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.site-footer .widget-heading.font-nav {
    background: none;
    padding: 0;
    margin: 0;
}
.site-footer .widget-heading.font-nav:after {
    display: none;
}
.site-footer .widget-heading.font-nav h5{
    text-transform: uppercase;
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 18px;
    text-align: left;
}

.site-footer .menu {
    text-align: left;
}

.site-footer .widget-content a {
    color:  #7a8599 !important;
}

.site-footer .widget-content a:hover {
    color: var(--light-text-color) !important;
}

.bottom-footer .col-md-12{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.bottom-footer .wrap_social_account i {
    font-size: 18px;
    color: #7a8599 ;
}

.copyright p {
    color: #7a8599;
}

/* Reading Manga Page*/
@media (min-width: 599px) {
    .admin-bar .reading-sticky-menu {
        top: 32px;
    }
}
body.text-ui-light.reading-manga .c-blog-post .entry-content {
    color: #333;
}
.reading-sticky-menu {
    position: sticky;
    top: 0;
    left: 0;
    height: 0;
    transform: translateY(-200%);
    visibility: 0;
    opacity: 0;
    background: rgba(252, 251, 251, 1);
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    z-index: 9999;
}

.reading-sticky-menu.active {
    height: auto;
    transform: translateY(0);
    visibility: visible;
    opacity: 1;
    transition: all 0.5s;
}

.reading-sticky-menu-inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 5px;
    padding: 12px 40px;
}
.reading-sticky-menu-inner .sticky-menu-separator {
    font-weight: 600;
    font-size: 16px;
}
.reading-sticky-menu-inner h3 {
    font-size: 16px;
    font-weight: 550;
    color: #464242 !important;
    margin-bottom: 0;
}

.reading-sticky-menu-inner h4 {
    margin-bottom: 0;
    font-weight: 500;
}
.reading-sticky-menu-inner h4 a {
    font-size: 13px;
    color: #8f8989 !important;
}
.reading-sticky-menu-inner h4 i {
    color: #888;
}

.reading-manga .wrap {
    overflow: visible;
}
.reading-manga .content-area .container {
    padding: 0;
}
.reading-content-wrap .container-inner {
    display: flex;
}
.reading-content-wrap .container-inner .main-col {
    width: 760px;
    margin: 0 auto;
    transform: translate(190px);
    transition: all 0.3s;
    z-index: 2;
}
.reading-content-wrap .container-inner .main-col.active-chapters-list, .reading-content-wrap .container-inner .main-col.active-comments {
    transform: translate(0);
}
.reading-content-wrap .container-inner .side-col {
    position: sticky;
    top: 80px;
    right: 0;
    width: 380px;
    height: 100vh;
    background: var(--light-text-color);
    transform: translateX(-100%);
    z-index: -1;
    transition: transform 0.3s;
}

.reading-content-wrap .container-inner .side-col.show-chapters-list, .reading-content-wrap .container-inner .side-col.show-comments {
    transform: translateX(0);
    z-index: 1;
}

.reading-content-wrap .container-inner .side-col .chapters-list, .reading-content-wrap .container-inner .side-col .comments {
    position: absolute;
    width: 100%;
    height: auto;
    left: 0;
    top: 0;
    padding: 0 24px 20px 24px;
    transform: translateX(-100%);
    opacity: 0;
    z-index: -1;
    transition: all 0.3s;
}

body.page .reading-content-wrap .container-inner .side-col .chapters-list .page-content-listing{
    margin-top:0
}

.reading-content-wrap .container-inner .side-col.show-chapters-list .chapters-list, .reading-content-wrap .container-inner .side-col.show-comments .comments {
    transform: translateX(0%);
    opacity: 1;
    z-index: 1;
}

.reading-content-wrap .container-inner .side-col .comments-heading, .reading-content-wrap .container-inner .side-col .chapters-heading{
    display: none;
}
.reading-content-wrap .container-inner .side-col.show-comments .comments-heading{
    display: inline-block;
}
.reading-content-wrap .container-inner .side-col.show-chapters-list .chapters-heading{
    display: inline-block;
}

.reading-content-wrap .container-inner .side-col .side-col-inner{
    position: relative;
    width:100%;
    height: 100%;
    overflow-y: auto;
}

.mobile .reading-content-wrap .container-inner .side-col .side-col-inner{
    overflow-y: unset;
}

.reading-content-wrap .container-inner .side-col .close-btn{
    position: absolute;
    right: 16px;
    top: 20px;
    border: none;
    z-index: 999;
}

.reading-content-wrap .container-inner .side-col .close-btn button {
    font-size: 18px;
    font-weight: 400;
    border: none;
    background: none;
    color: var(--gray-text-color);
}

.sidebar-tools {
    position: fixed;
    right: 0;
    top: 0;
    width: 48px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--light-text-color);
    box-shadow: -1px 0 0 0 #F8F9FA;
    z-index: 10;
}

.sidebar-tools-inner, .sidebar-tools-item {
    width: 100%;
}

.sidebar-tools-item {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.sidebar-tools-item button {
    border: none;
    background: #fff;
    width: 100%;
    padding: 15px 0;
}

.sidebar-tools-item button:hover, .sidebar-tools-item button.active {
    background: var(--madara-main-color);
    color:var(--light-text-color);
}

.sidebar-tools-item button i {
    font-size: 17px;
}

.reading-manga .content-area {
    background: #F8F9FA;
}

.reading-manga .main-col {
    background: transparent;
    padding:0;
}

.reading-manga .manga-info {
    max-width: 792px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-top: 65px;
    padding-bottom: 24px;
    margin: 0 auto;
}

/* blur manga background in manga reading page */
.reading-manga .manga-info {
    position:relative;
    overflow: hidden;
}

.reading-manga .manga-info .manga-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(12px);
    z-index: 12;

}

.reading-manga .manga-info > * {
    z-index: 22;
}
.reading-manga .manga-info .summary_image {
    width: 180px;
    height: auto;
}

.reading-manga .manga-info .manga-title {
    margin-top: 24px;
    padding:0 24px;
}

.reading-manga .manga-info .site {
    margin-top: 18px;
    display: flex;
    align-items: center;
    column-gap: 6px;
}
.text-ui-dark.reading-manga .manga-info .manga-title a{color:var(--light-text-color)}
.light-ui-dark.reading-manga .manga-info .manga-title a {color:var(--dark-text-color)}

.text-ui-dark.reading-manga .manga-info .site,
.text-ui-dark.reading-manga .manga-info .site * {color:var(--light-text-color)}
.light-ui-dark.reading-manga .manga-info .site,
.light-ui-dark.reading-manga .manga-info .site * {color:var(--dark-text-color)}

.reading-manga .manga-info .site:before, .reading-manga .manga-info .site:after  {
    content: '';
    display: inline-block;
    width: 36px;
    height: 1px;
    background: var(--gray-text-color);
}
.reading-manga .reading-content {
    margin: 0 0 52px 0;
    padding: 0;
}

.reading-content-wrap .container-inner .side-col .chapters-list .latest-release {
    display: none;
}
.reading-content-wrap .container-inner .side-col h4 {
    font-size: 24px;
    margin-bottom: 0;
    color: var(--dark-text-color);
    padding: 20px 24px;
    background-color: #f2f2f2;
}
.reading-content-wrap .container-inner .side-col h4.comment-reply-title {
    font-size: 18px;
    margin-bottom: 16px;
}
#madara-comments.comments-area #respond.comment-respond .comment-form > *:not(.comment-form-comment):not(.form-submit):not(.comment-notes):not(.logged-in-as) {
    width: 100%;
}
.reading-content-wrap .side-col .manga-discussion {
    padding-top: 10px;
}
.reading-content-wrap .container-inner .side-col #manga-discussion.c-blog__heading {
    display: none;
}
.reading-content-wrap .container-inner .side-col .chapters-list .main {
    padding: 0 !important;
}
.reading-content-wrap .container-inner .side-col .chapters-list .listing-chapters_wrap li.wp-manga-chapter, .reading-content-wrap .container-inner .side-col .chapters-list .listing-chapters_wrap ul.sub-chap-list > li {
    flex-basis: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;
    border-bottom: 1px solid var(--gray-bg-color);
    background: unset !important;
}

.reading-content-wrap .container-inner .side-col .chapters-list .chapter-release-date {
    display: none !important;
}

.side-col .chapters-list li.wp-manga-chapter.reading:before {
    all: unset;
    content: '';
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: var(--madara-main-color) !important;
}

.reading-content-wrap.chapter-type-text .read-container {
    margin: 0;
    padding: 64px 40px 40px 40px
}
.reading-content-wrap.chapter-type-text .read-container * {
    font-size: var(--readingFontSize);
    line-height: 1.5em;
}
@media (max-width: 599px) {
    .reading-content-wrap.chapter-type-text .read-container {
        padding: 32px 15px 20px 15px;
    }
}
.reading-content-wrap.chapter-type-text .read-container .reading-content {
    margin: 0;
    font-size: 16px;
    line-height: 2;
}
.reading-content-wrap .chapter-name {
    text-align: left;
    margin: 40px 0;
    color: #000;
}

/* Archives Page */
.c-breadcrumb-wrapper {
    background-image: unset !important;
}
.text-ui-light .c-breadcrumb-wrapper{
    background-color: #12121a;
} .c-breadcrumb-wrapper{
    background-color: transparent;
}

.c-genres-block .genres_wrap .c-blog__heading.style-3.font-heading {
    padding: 0;
    background-image: unset !important;
    margin-bottom: 0px;
}

.btn.btn-genres {
    border: solid 1px var(--madara-main-color) !important;
}
.tab-wrap .c-nav-tabs ul.c-tabs-content li.active a, .tab-wrap .c-nav-tabs ul.c-tabs-content li:hover a {
    text-decoration: none;
}

.text-ui-light .tab-wrap .c-nav-tabs ul.c-tabs-content li:hover a {
    color: var(--light-text-color);
}
.text-ui-dark .tab-wrap .c-nav-tabs ul.c-tabs-content li:hover a {
    color: var(--dark-text-color);
}

.tab-wrap .c-nav-tabs ul.c-tabs-content li:hover a:after, .tab-wrap .c-nav-tabs ul.c-tabs-content li.active a:after {
    background: var(--madara-main-color) !important;
}
.tax-wp-manga-genre .c-breadcrumb .breadcrumb {
    display: none;
}
.genres_wrap .c-blog__heading h5 {
    font-size: 24px;
    text-transform: capitalize;
}
.genres_wrap .c-blog__heading.style-3.active:after {
    display: none;
}

.genres_wrap .genres__collapse .genres ul li {
    list-style: none;
    text-transform: capitalize;
    margin-bottom: 12px;
}

.genres_wrap .genres__collapse .genres ul li a {
    padding-bottom: 8px;
    color: var(--gray-text-color)
}

body.page.tax-wp-manga-genre  .c-page-content .content-area {
    margin-top: 35px;
}

.genres_wrap .genres__collapse .genres ul li.active a {
    border-bottom: solid 2px var(--madara-main-color);
}
.text-ui-light .genres_wrap .genres__collapse .genres ul li.active a{
    color: var(--light-text-color) !important;
}

.text-ui-light.genres_wrap .genres__collapse .genres ul li:hover a {
    color: var(--light-text-color) !important;
}

.genres_wrap .genres__collapse .genres ul li a:before {
    display: none;
}

.c-genres-block .genres_wrap .genres__collapse {
    margin-top: 30px;
}

.c-page-content .c-page .c-page__content .page-content-listing {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 36px;
}

@media (max-width: 1023px) {

    .c-page-content .c-page .c-page__content .page-content-listing {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .c-page-content .c-page .c-page__content .page-content-listing .col-md-2 {
        flex: 0 0 25%;
        padding-left: 10px;
        padding-right: 10px;
    }
    .page-content-listing.item-default .page-item-detail {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 599px) {
    .c-page-content .c-page .c-page__content .page-content-listing {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    .c-page-content .c-page .c-page__content .page-content-listing .col-md-2 {
        flex: 0 0 33%;
        padding-left: 8px;
        padding-right: 8px;
    }
    .page-content-listing.item-default .page-item-detail {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 320px) {
    .c-page-content .c-page .c-page__content .page-content-listing {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .c-page-content .c-page .c-page__content .page-content-listing .col-md-2 {
        flex: 0 0 50%;
        padding-left: 8px;
        padding-right: 8px;
    }
}

.page-content-listing.item-default .page-item-detail  {
    align-items: flex-start;
    background: none;
}
.page-content-listing.item-default .page-item-detail .item-thumb {
    flex: 0 0 35%;
}

.page-content-listing.item-default .page-item-detail .item-summary {

    padding: 0 15px 10px 0;
}

.page-content-listing.item-default .manga-genres {
    margin-bottom: 12px;
}

.page-content-listing.item-default .manga-genres span {
    border: 1px solid var(--gray-bg-color);
    padding: 3px 10px;
    margin-right: 6px;
    border-radius: 3px
}

.page-content-listing.item-default .manga-genres span a {
    font-size: 12px;
    color: var(--gray-text-color);
}

.page-item-detail .desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.text-ui-dark .menu_icon__open > span{
    background-color:#333
}

/* Breakpoints */
@media (max-width: 1199px) {
    .reading-content-wrap .container-inner {
        flex-direction: column;
        position: relative;
    }

    .reading-content-wrap .container-inner .main-col {
        width: 100%;
        transform: translateX(0);
    }

    .reading-content-wrap .container-inner .side-col {
        width: 100%;
        position: fixed;
        top: unset;
        bottom: 0;
        height: 500px;
        z-index: 9998;
    }

    .sidebar-tools {
        top: unset;
        left: unset;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 48px;
        flex-direction: row;
        z-index: 9999;
    }

    .sidebar-tools-item {
        flex-direction: row;
    }

    .sidebar-tools-item > * {
        flex: 1;
    }

    .reading-content-wrap .container-inner .side-col.show-chapters-list, .reading-content-wrap .container-inner .side-col.show-comments {
        z-index: 9999;
    }

    .reading-content-wrap .container-inner .side-col.show-chapters-list{
        margin-bottom: 47px;
    }

    .reading-settings #wp-manga-reader-settings {
        top:unset !important;
        right:15px !important;
        bottom: 50px;
    }
}

@media (min-width: 768px) {
    /* Header Reponsive*/
    .mobile-navigation-wrap {
        display: none;
    }
    .wrap-right .open-search-main-menu {
        min-width: 200px;
    }
}

@media (max-width: 767px) {
    /* Header Reponsive*/
    .site-header .main-navigation .main-navigation_wrap {
        display: none;
    }

    .mobile-navigation-wrap {
        display: flex;
        flex-direction: column
    }

    .mobile-navigation-wrap .m-nav-top {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
    }

    .mobile-navigation-wrap .m-nav-top-right {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .mobile-navigation-wrap .m-nav-search .open-search-main-menu {
        background: unset;
        font-size: 28px;
        margin-right: 24px;
        border-radius: 5px;
    }

    .site-header .main-navigation .mobile-navigation-wrap .c-togle__menu {
        all: unset !important;
    }
    .off-canvas {
        left: unset;
        right:0;
        width: 80%;
        transform: translateX(100%);
    }
    .off-canvas.active {
        left: unset;
        right:0;
        transform: translateX(0);
        transition: transform 0.3s;
    }

    .menu_icon__open.active > span:last-child, .menu_icon__open.active > span:first-child {
        transform: none;
    }
    .menu_icon__open.active > span {
        opacity: 1;
    }

    .off-canvas .c-modal_item {
        text-align: left;
        margin-left: 30px;
    }

    .c-modal_sign-in {
        margin-right: 8px;
    }

    /* NovelHub Slider Responsive */
    .manga-novelhub-hero-slider {
        margin-left: -15px;
        margin-right: -15px;
    }

    .novelhub-hero_slider__container .slick-slide, .novelhub-hero_slider__item {
        height: auto;
    }

    .novelhub-hero_slider__container img {
        object-fit: contain;
    }

    .novelhub-hero_slider__container .slick-slide {
        padding-left: 15px;
        padding-right: 15px;
    }
    .novelhub-hero_slider__container .slick-slide a img {
        border-radius: 10px;
    }

    .novelhub-hero_slider__container .slick-dots {
        bottom: 15px;
    }

    .novelhub-hero_slider__container .slick-dots li {
        background: var(--gray-bg-color);
        width: 20px;
        height: 2px;
        border-radius: 1px;

    }

    /* Manga Listing Style One Featured Responsive*/
    .page-content-listing.item-big_thumbnail.item-one_featured .summary {
        display: none;
    }

    .page-content-listing.item-big_thumbnail.item-one_featured .page-item-detail.manga {
        display:flex;
        column-gap: 15px;
        align-items: center;
    }

    .page-content-listing.item-big_thumbnail.item-one_featured .page-item-detail.manga img {
        width: 102px
    }

    /* Manga Listing Default Style Responsive */
    .page-content-listing.item-default {
        grid-template-columns: repeat(1,1fr)
    }

    .manga-extra-info__content .related-content {
        grid-template-columns: repeat(3, 1fr)
    }
}

@media (max-width: 599px) {
    body.manga-page:not(.reading-manga) .profile-manga {
        padding-top: 0;
        padding-bottom: 0 ;
        margin-bottom: 0;
        clip-path: unset;
        background: unset;
        position: unset;
        --p: 0px; /* control the shape (can be percentage) */
    }
    body.manga-page:not(.reading-manga) .c-page-content {
        margin-top: 0;
    }
    body.manga-page:not(.reading-manga) .profile-manga .col-12 {
        padding: 0;
    }

    body.manga-page .profile-manga .tab-summary {
        flex-direction: column;
        padding-top:0;
        padding-bottom:0;
        margin-bottom: 0;
        row-gap: 0px;
    }

    body.manga-page:not(.reading-manga) .c-page-content .content-area {
        margin-top: 0;
    }

    body.manga-page .profile-manga .tab-summary .summary_image {
        margin-bottom: 0;
    }

    body.manga-page .profile-manga .tab-summary .summary_image, body.manga-page .profile-manga .tab-summary .summary_image a {
        width: 100%;
        height: auto;
    }

    body.manga-page .profile-manga .tab-summary .summary_image img {
        width: 100%;
    }

    body.manga-page .profile-manga .tab-summary .summary_content {
        position: absolute;
        bottom: 0;
        left: 0;
        padding: 0 15px;
        width: 100%;
    }

    body.manga-page .profile-manga .tab-summary .summary_content .manga-title h2 {
        font-size: 28px;
    }

    body.manga-page .profile-manga .tab-summary .summary_content .manga-data {
        display:flex;
        flex-wrap: wrap;
    }

    body.manga-page .profile-manga .tab-summary .summary_content .manga-data.row-1 {
        font-size: 13px;
    }

    body.manga-page .profile-manga .tab-summary .summary_content .manga-data.row-1 i {
        font-size: 12px;
    }

    body.manga-page .profile-manga .tab-summary .summary_content .manga-data.row-2 {
        font-size: 13px;
    }

    body.manga-page .profile-manga .tab-summary .post-rating i {
        font-size: 18px;
    }

    body.manga-page .profile-manga .tab-summary .post-rating span {
        font-size: 16px;
    }

    body.manga-page .profile-manga .tab-summary .summary_content .manga-actions {
        display: flex;
        justify-content: center;
        gap: 0;
        position: fixed;
        width: 100%;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        padding: 10px 15px;
        background: white;
        z-index: 9999;
    }

    body.manga-page .profile-manga .tab-summary .summary_content .manga-actions #init-links {
        margin-top: 0;
    }
    body.manga-page .profile-manga .tab-summary .summary_content .manga-actions .quick-read {
        display: block;
    }
    body.manga-page .profile-manga .tab-summary .summary_content .manga-actions .add-bookmark {
        padding: 10px 20px;
        border-radius: 5px
    }
    body.manga-page .profile-manga .tab-summary .summary_content .manga-actions .bookmark-btn .action_detail{
        display: none;
    }

    body.manga-page .profile-manga .tab-summary .summary_content .bookmark-btn .add-bookmark {
        font-size: 13px;
    }

    body.manga-page .profile-manga .tab-summary .summary_content .bookmark-btn .add-bookmark i {
        font-size: 18px;
    }

    body.manga-page .profile-manga .tab-summary .summary_content * {
        z-index: 99;
    }

    body.manga-page .profile-manga .tab-summary .summary_content:before {
        position: absolute;
        content:'';
        top:0;
        left:-30px;
        width: calc( 100% + 60px);
        height: 100%;
        background: linear-gradient(180deg,rgba(18,18,26,0) 0,rgba(18,18,26,.8) 35%,#12121a 100%);
        z-index:2;
    }

    body.manga-page .profile-manga .tab-summary .summary_content h2 {
        position: relative;
        z-index: 99;
    }

    body.manga-page:not(.reading-manga) .c-page-content .content-area .container {
        padding: 30px 15px;
    }
    .manga-extra-info__tabs .nav-tabs {
        gap: 20px;
    }
    .manga-extra-info__tabs .nav-tabs .nav-link {
        font-size: 16px;
    }
    #manga-extra-info__tabs > li:not(:first-child) {
        padding-left: 20px;
    }

    .manga-extra-info .manga-extra-info__content .info-block.manga-excerpt h4 {
        display: none;
    }

    .manga-extra-info .manga-extra-info__content .info-block h4 {
        font-size: 20px !important;
    }

    .manga-extra-info .manga-extra-info__content .info-block.manga-excerpt #view-all-excerpt {
        display: block !important;
    }

    .manga-extra-info .manga-extra-info__content .excerpt-content {
        position: relative;
    }
    .manga-extra-info .manga-extra-info__content .excerpt-content .desc {
        overflow: hidden;
        max-height: 120px;
    }
    .manga-extra-info .manga-extra-info__content .excerpt-content.full .desc{
        max-height: unset;
    }

    .manga-extra-info .manga-extra-info__content .excerpt-content.full #view-all-excerpt, .manga-extra-info .manga-extra-info__content .excerpt-content.full #view-all-excerpt:before {
        display: none !important;
    }

    #view-all-excerpt {
        position: absolute;
        right: 0;
        bottom: 0;
        margin-left: 10px;
        border: none;
        /* background: linear-gradient(227deg, transparent, white); */
        background: white;
        color: #7a8599;
        font-weight: 500;

    }

    #view-all-excerpt:before {
        content: '...';
    }

    #view-all-excerpt button {
        border:none;
        margin-bottom:4px;
    }

    .manga-extra-info__content .related-content {
        grid-template-columns: repeat(2, 1fr)
    }

    .manga-extra-info__content .latest-release {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, 1fr);
        grid-column-gap: 0px;
        grid-row-gap: 0px;
    }

    .manga-extra-info__content .latest-release .latest-chap {
        grid-area: 1 / 1 / 2 / 4;
    }

    .manga-extra-info__content .latest-release .post-on {
        grid-area: 2 / 1 / 3 / 4
    }

    .manga-extra-info__content .latest-release a {
        grid-area: 1 / 4 / 3 / 5;
    }

    .listing-chapters_wrap .main > li, .listing-chapters_wrap .main, body.manga-page .page-content-listing.single-page .listing-chapters_wrap ul.sub-chap-list > li {
        padding: 0 !important;
        flex-basis: 100%;
    }

    .listing-chapters_wrap .main > li.wp-manga-chapter:nth-of-type(4n-1),
    .listing-chapters_wrap .main > li.wp-manga-chapter:nth-of-type(4n),
    body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap .sub-chap-list > li:nth-of-type(4n-1),
    body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap .sub-chap-list > li:nth-of-type(4n)
    {
        background: unset;
    }

    .listing-chapters_wrap .main > li:nth-of-type(odd),
    body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap .sub-chap-list > li:nth-of-type(odd)
    {
        background: #f7f8f9 !important;
    }

    .reading-manga .manga-info {
        padding-top: 0;
    }
    .reading-manga .manga-info .summary_image, .reading-manga .manga-info .summary_image a, .reading-manga .manga-info .summary_image img {
        width: 100%;
        height: auto;
        padding: 0;

    }

    .c-blog-post .entry-content .entry-content_wrap .reading-content {
        margin: 0 !important;
    }

}
.text-ui-light .widget.c-popular .popular-item-wrap .popular-content .chapter-item .chapter a{
    color: #000;
}
body.text-ui-ligh #main-sidebar a{color: var(--dark-text-color);}
.manga-shortcodes.manga-chapters-listing th.genre{width:300px}
.manga-shortcodes.manga-chapters-listing th.release{width:15%}
@media (max-width: 767px) {
    .manga-chapters-listing th.author, .manga-chapters-listing td.author, .manga-chapters-listing th.time, .manga-chapters-listing td.time{display: none;}
    .manga-shortcodes.manga-chapters-listing th.genre, .manga-shortcodes.manga-chapters-listing td.genre{width:20%}
    .manga-chapters-listing th.title, .manga-chapters-listing th.release{width:40%}
    .manga-chapters-listing tbody td:first-child, .manga-chapters-listing thead th:first-child{padding-left:8px !important}
}

.popular-slider .slider__container .slider__item .slider__content .slider__content_item .chapter-item .chapter a:hover{text-decoration: none;}

.site-footer .widget-heading .heading{color:var(--light-text-color)}
.profile-manga a, body.manga-page .profile-manga .tab-summary .post-rating span{color:#FFF}
body.text-ui-light.page .c-page-content .main-col-inner .c-blog__heading.no-icon{border-bottom: 1px solid #585858;}
body.text-ui-dark.page .c-page-content .main-col-inner .c-blog__heading.no-icon{border-bottom: 1px solid #e3e3e3;}

body.page:not(.single) .manga-archives .main-col-inner .entry-header .entry-title{margin-top:0}

h3.last-chap{padding:50px 0}
body.text-ui-light h3.last-chap{color:var(--gray-text-color)}

body.page.search-results .c-page-content .content-area{
    margin-top: 0;
}
body.search.search-results .search-wrap .tab-content-wrap .c-tabs-item .c-tabs-item__content .tab-summary .post-content .post-content_item.mg_genres .summary-content {
    color: #ccc !important;
}
@media (max-width: 767px) {
    .search-results .mobile-navigation-wrap .m-nav-bottom .open-search-main-menu {
        display: none;
    }
}

body.manga-page .listing-chapters_wrap.show-more .version-chap {
    overflow-y: auto;
}

body.manga-page .listing-chapters_wrap .main > .parent .sub-chap {
    max-height: 450px;
    overflow-y: auto;
}

body.manga-page .listing-chapters_wrap .main, body.manga-page .page-content-listing.single-page .listing-chapters_wrap ul.sub-chap-list {
    max-height: 450px;
    overflow-y: auto;
}

/* extra reading settings*/

.reading-settings {
    position: relative;
    display: flex;
    justify-content: center;
}

body[data-font="reading-font-1"] .reading-content {font-family: 'Times New Roman', serif}
body[data-font="reading-font-0"] .reading-content {font-family: 'Helvetica', sans-serif}

#wp-manga-reader-settings h6{
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

#wp-manga-reader-settings * {
    color: var(--dark-2-text-color);
}
#wp-manga-reader-settings {
    position: relative;
}
#wp-manga-reader-settings .close {
    position: absolute;
    width: fit-content;
    right: 15px;
    top: 5px;
    background: transparent;
}
#wp-manga-reader-settings .box-footer {
    display: flex;
    justify-content: center;
}
#wp-manga-reader-settings #reset-reader-settings {
    color: gray;
    background: transparent;
}

#wp-manga-reader-settings #reset-reader-settings i {
    color: gray;
    font-size: 12px;
}

#wp-manga-reader-settings section {
    margin-bottom: 15px;
}

#wp-manga-reader-settings section:first-child h6 {
    margin-bottom: 10px;
}

.text-reading-footer .container {
    position: relative;
}

.reading-settings #wp-manga-reader-settings {

    position: absolute;
    right: 55px;
    top: -100px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s;
}

.reading-settings.active #wp-manga-reader-settings{
    visibility: visible;
    opacity: 1;
    background: rgba(242, 242, 242, 1);
    padding: 30px 15px;
    border-radius: 10px;
    z-index: 999;
}

.slidecontainer {
    width: 100%; /* Width of the outside container */
  }

/* Mouse-over effects */
.slidecontainer {
    display: flex;
    align-items: center;
}

.slidecontainer span {
    padding: 0 10px;
    font-weight: 700;
    color: rgb(224, 67, 131) ;
}

.slidecontainer input {
    height: 6px;
}

.slider {
-webkit-appearance: none;
width: 100%;
border-radius: 5px;
background: #d3d3d3;
outline: none;
opacity: 0.7;
-webkit-transition: .2s;
transition: opacity .2s;
}

.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 15px;
height: 15px;
border-radius: 50%;
background: #fff;
cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}

input[checked=checked] + strong {
    border-width: 1px;
}

.theme-set-font {
list-style-type: none;
margin: 25px 0 0 0;
padding: 0;
}
  .theme-set-font li {
float: left;
margin: 0 5px 0 0;
width: 100px;
height: 40px;
position: relative;
}

.theme-set-font label,
.theme-set-font input {
display: block;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
}

.theme-set-font input[type="radio"] {
opacity: 0.01;
z-index: 100;
}

.theme-set-font label {
padding: 5px;
cursor: pointer;
z-index: 90;
}

.theme-set-font .active strong {
    border-bottom: 3px solid var(--madara-main-color);
}


  #wp-manga-reader-settings {
    min-width: 300px;
}

#wp-manga-reader-settings section {
    display: flex;
    flex-direction: column;
}

#wp-manga-reader-settings section.adj-fs .theme-set-font{
    margin-top: 0;
}

.theme-set-font li {
    width: 50px;
}

.theme-set-font label {
    border: none;
    font-size: 18px;
}

.theme-set-font li:hover label, .theme-set-font li.active label {
    background: none;
}


.theme-set-color strong {
    display: flex;
    justify-content: center ;
    align-items: center;
	height: 50px;
	width: 50px;
	border-radius: 50%;
	display: flex;
	position:relative;
    transition: .2s;
	transition-property: all;
	transition-duration: .2s;
	transition-timing-function: ease;
	transition-delay:0s;
    cursor: pointer;
}

.theme-set-color {
	display: flex;
}

.theme-set-color input {
	position: absolute;
	clip:rect(0 0 0 0)
}

.theme-set-color label {
	position: relative;
	display: flex;
	margin-right:20px
}

#wp-manga-reader-settings .theme-set-color ._default strong {
	background-color:#fff;
    color: #000;
}

#wp-manga-reader-settings .theme-set-color ._yellow strong {
	background-color:#d9cfb3;
    color: #000;
}

#wp-manga-reader-settings .theme-set-color ._dark strong {
	background-color:#191b1c;
    color: #fff;
}

#wp-manga-reader-settings .theme-set-color .active strong {
    border: 2px solid var(--madara-main-color);
}


body[data-schema="default"].reading-manga .content-area {background: #F8F9FA;}
body[data-schema="default"].reading-manga .content-area .read-container * {color: #333 !important}
body[data-schema="yellow"].reading-manga .content-area {background: #d9cfb3; }
body[data-schema="yellow"].reading-manga .content-area .read-container * {color: #333 !important}
body[data-schema="dark"].reading-manga .content-area {background: #262626; color:rgb(213, 213, 213)}
body[data-schema="dark"].reading-manga .content-area .read-container * {color: rgb(213, 213, 213) !important}

.mobile.reading-manga .chapter-type-text #text-chapter-toolbar{display: none;}

/* Footer Sidebar */
.c-footer-sidebar .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.c-footer-sidebar .row > div:not(:first-child) {
    flex:1;
    display: flex;
    justify-content: flex-end;
}

.c-footer-sidebar .row > div:first-child {
    flex: 2;
}

/* custom css for specific pages */
.page-content-listing.item-big_thumbnail .bigthumbnail2 .item-thumb .overlay-content{
	width: 100%;
}

.ranking-page .page-listing-item .item-thumb:before {
    display: flex;
    justify-content: center;
    align-items: center;
        width: 30px;
	font-size:18px;
    color: white;
    font-weight: 700;
    position: absolute;
    left: 6px;
    top: 8px;
    aspect-ratio: .866;
    clip-path: polygon(0% 25%, 0% 75%, 50% 100%, 100% 75%, 100% 25%, 50% 0%);
    background: radial-gradient(#fac303, #f78e2e);
	z-index:99;
}

.ranking-page #loop-content .page-listing-item .item-index-1-1 .item-thumb:before {
    content: '1';
}

.ranking-page #loop-content .page-listing-item .item-index-1-2 .item-thumb:before {
    content: '2';
}

.ranking-page #loop-content .page-listing-item .item-index-1-3 .item-thumb:before {
    content: '3';
}

.ranking-page #loop-content .page-listing-item .item-index-1-4 .item-thumb:before {
    content: '4';
}

.ranking-page #loop-content .page-listing-item .item-index-1-5 .item-thumb:before {
    content: '5';
}

.ranking-page #loop-content .page-listing-item .item-index-1-6 .item-thumb:before {
    content: '6';
}

.ranking-page #loop-content .page-listing-item .item-index-1-7 .item-thumb:before {
    content: '7';
}

.ranking-page #loop-content .page-listing-item .item-index-1-8 .item-thumb:before {
    content: '8';
}

.ranking-page #loop-content .page-listing-item .item-index-1-9 .item-thumb:before {
    content: '9';
}

.ranking-page #loop-content .page-listing-item .item-index-1-10 .item-thumb:before {
    content: '10';
}

.new-page .page-listing-item .item-thumb:before {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
	font-size:18px;
    color: black;
    font-size:11px;
    font-weight: 500;
    position: absolute;
    left: 6px;
    top: 8px;
    aspect-ratio: 1;
    clip-path: polygon(100% 50%,88.3% 82.14%,58.68% 99.24%,25% 93.3%,3.02% 67.1%,3.02% 32.9%,25% 6.7%,58.68% 0.76%,88.3% 17.86%);
    background: rgb(250, 183, 131);
		z-index:99;
}

.new-page #loop-content .page-listing-item .item-index-1-1 .item-thumb:before,
.new-page #loop-content .page-listing-item .item-index-1-2 .item-thumb:before,
.new-page #loop-content .page-listing-item .item-index-1-3 .item-thumb:before,
.new-page #loop-content .page-listing-item .item-index-1-4 .item-thumb:before,
.new-page #loop-content .page-listing-item .item-index-1-5 .item-thumb:before,
.new-page #loop-content .page-listing-item .item-index-1-6 .item-thumb:before,
.new-page #loop-content .page-listing-item .item-index-1-7 .item-thumb:before,
.new-page #loop-content .page-listing-item .item-index-1-8 .item-thumb:before,
.new-page #loop-content .page-listing-item .item-index-1-9 .item-thumb:before,
.new-page #loop-content .page-listing-item .item-index-1-10 .item-thumb:before{
	content: 'New';
}

.sidebar-col .widget.c-popular .popular-item-wrap .popular-content .chapter-item {
    display: none;
}

.sidebar-col .widget.c-popular .style-1 .popular-item-wrap .popular-img {
    max-width: 50px;
}

.sidebar-col .widget.c-popular .popular-item-wrap {
    display: flex;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

/* trending widget */
.time-range-tabs {
    margin-bottom: 15px;
}

.time-range-tabs .tabs {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    margin: 0;
}

.time-range-tabs .tab-link {
    flex: 1;
    text-align: center;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--gray-bg-color);
    color: var(--gray-text-color);
}

.time-range-tabs .tab-link.active {
    color: var(--dark-text-color);
    background-color: #d6b27e;
}
.trending-spinner {
    display: flex;
    justify-content: center;
}
.trending-spinner i {
    margin-top: 10px;
    font-size: 16px;
}
#trending-posts-content {
    min-height: 400px;
}
#trending-posts-content .trending-item-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    padding-bottom: 10px;
    border-bottom: dashed 1px var(--gray-bg-color);
}

#trending-posts-content > div:last-child {
    border:none;
}

#trending-posts-content .trending-img {
    position: relative;
}

#trending-posts-content > div:first-child .trending-img:before,
#trending-posts-content > div:nth-child(2) .trending-img:before,
#trending-posts-content > div:nth-child(3) .trending-img:before {
    position: absolute;
    top:0;
    left: 0;
    background: hsl(35, 82%, 68%);
    color: #fff;
    padding: 3px 6px;
    font-size: 13px;
    font-weight: 500;
}

#trending-posts-content > div:first-child .trending-img:before {
    content: '1';
}

#trending-posts-content > div:nth-child(2) .trending-img:before {
    content: '2';
}

#trending-posts-content > div:nth-child(3) .trending-img:before {
    content: '3';
}

#trending-posts-content .trending-item-wrap .trending-img {
    flex:1;
}

#trending-posts-content .trending-item-wrap .trending-content {
    flex: 3;
}

.wpforms-form {
    border: 1px solid rgba(128, 128, 128, 0.28);
    padding: 15px;
}
.wpforms-submit {
    padding: 15px 45px;
    border:none;
    box-shadow: none;
    background: black;
    color: orange;
    font-weight: 550;
    font-size: 16px;
}

/**
 * WP Manga User Upload PRO support
 **/
 body.page .c-page-content.madara-user-edit-page .content-area{margin: 0}
 body.manga-page:not(.reading-manga) .c-page-content.madara-user-edit-page{margin: 0}
 .madara-user-edit-page .item-title, body.text-ui-light .madara-user-edit-page a:not(:hover), body.text-ui-light .madara-user-edit-page h1, body.text-ui-light .madara-user-edit-page h2, body.text-ui-light .madara-user-edit-page h3, body.text-ui-light .madara-user-edit-page h4, body.text-ui-light .madara-user-edit-page h5, body.text-ui-light .madara-user-edit-page .h1, body.text-ui-light .madara-user-edit-page .h2, body.text-ui-light .madara-user-edit-page .h3, body.text-ui-light .madara-user-edit-page .h4, body.text-ui-light .madara-user-edit-page .h5, body.text-ui-light .madara-user-edit-page h6, body.text-ui-light .madara-user-edit-page .h6{color:#000}
 body.text-ui-light .madara-user-edit-page input:not([type]), body.text-ui-light .madara-user-edit-page input[type="color"], body.text-ui-light .madara-user-edit-page input[type="email"], body.text-ui-light .madara-user-edit-page input[type="number"], body.text-ui-light .madara-user-edit-page input[type="password"], body.text-ui-light .madara-user-edit-page input[type="tel"], body.text-ui-light .madara-user-edit-page input[type="url"], body.text-ui-light .madara-user-edit-page input[type="text"], body.text-ui-light .madara-user-edit-page input[type="search"], body.text-ui-light .madara-user-edit-page textarea, body.text-ui-light .madara-user-edit-page select{color:#333}
 .text-ui-light .madara-user-edit-page .btn{color:#333}
 .madara-user-edit-page .main-col-inner{padding-bottom: 0;}
 body.text-ui-light  .madara-user-edit-page .settings-page .tabs-content-wrap .tab-group-item .tab-item{border-color: #ebebeb;}
 body.manga-page:not(.reading-manga) .madara-user-edit-page.c-page-content .content-area .container{z-index: auto;}

 body.manga-page .page-content-listing.single-page .listing-chapters_wrap a:hover > span.muu-edit-actions-btn{display: inline-block;}
 .madara-user-edit-page .listing-chapters_wrap .main, body.manga-page .madara-user-edit-page .page-content-listing.single-page .listing-chapters_wrap ul.sub-chap-list{display: block !important;flex-wrap: unset;}
 .madara-user-edit-page .listing-chapters_wrap a{display: block !important; }
 .madara-user-edit-page .listing-chapters_wrap .wp-manga-chapter a:before{display: none;}

 #manga-reading-nav-foot .chapter-selection{display: none;}

body.text-ui-light .premium-block a:not(:hover){color: #000; font-weight: bold;}
body.text-ui-light .premium-block a:hover{font-weight: bold;}
.reading-sticky-menu:not(.active) .reading-sticky-menu-inner{display: none;}

body.text-ui-light .comment-author h6{color:#666}

.rtl{text-align: right;}


.rtl .reading-content-wrap .container-inner .main-col{transform: translate(-190px);}

.rtl .c-search-header__wrapper .search-content .search-form .icon{left: 30px; right: auto}
@media screen and (max-width: 600px) {
    .rtl .reading-content-wrap .container-inner .main-col{transform: translate(0);}
    .rtl .c-search-header__wrapper .search-content .search-form .icon{left: 15px; right: auto}
}

 /*.rtl .site-header .main-navigation .main-navigation_wrap{padding: 18.5px 40px}*/
 .rtl .sidebar-tools{left: 0; right: auto}
 .rtl .wrap-right .open-search-main-menu span{margin-right: 8px; margin-left: 0}
 .rtl .main-navigation .main-menu ul li.menu-item-has-children > a:after{margin-right: 10px; margin-left: 0}
 .rtl .site-header .c-user_menu{left: 0; right: auto}
 .rtl .site-header .c-user_menu li{text-align: right;}
 .rtl .text-left, .rtl .reading-content-wrap .chapter-name{text-align: right !important;}
 body.reading-manga.rtl .entry-header .select-pagination, body.reading-manga.rtl .c-select-bottom .select-pagination{float: left}
 .rtl .reading-content-wrap .container-inner .side-col{left: 0; right: auto; transform: translateX(100%)}
 .rtl .reading-content-wrap .container-inner .side-col.show-chapters-list, .rtl .reading-content-wrap .container-inner .side-col.show-comments,  .rtl .reading-content-wrap .container-inner .main-col.active-chapters-list,  .rtl .reading-content-wrap .container-inner .main-col.active-comments{transform: translateX(0);}
 .rtl .reading-content-wrap .container-inner .side-col h4{text-align: right;}
 .rtl .reading-content-wrap .container-inner .side-col .close-btn{right: auto; left: 16px}
 .rtl .listing-chapters_wrap a{text-align: right;}
 .rtl .reading-settings #wp-manga-reader-settings{right: auto !important; left:55px !important}
 .rtl .theme-set-font li{float: right;}
 .rtl #wp-manga-reader-settings h6{text-align: right;}
 .rtl #wp-manga-reader-settings .close{right: auto; left: 15px}
 .rtl .manga-novelhub-hero-slider{direction: ltr;}
 .rtl .novelhub-hero_slider__container .slick-prev{right:15%; left: auto}
 .rtl .novelhub-hero_slider__container .slick-next{left:15%; right: auto}
 .rtl .page-item-detail .font-title a{text-align: right;}
 .rtl .page-item-detail .manga-genres{text-align: right;}
 .rtl .item-summary .meta-item.rating{text-align: right;}
 body.page.rtl .page-content-listing .page-listing-item .page-item-detail .item-summary .rating .score{margin-left: 0; margin-right: 8px}
 .rtl .manga-extra-info__tabs .nav-tabs{padding-right:0}
 .rtl .off-canvas .close-nav > .menu_icon__close > span:last-child{margin-right: 14px;}
 .rtl .menu{text-align: right;}

 .rtl .shortcode-advancesearchform .c-search-header__wrapper .search-content .search-form,  .rtl .c-search-header__wrapper .search-content .search-form{margin-left: 20px; margin-right: 0;}
 .rtl .c-search-header__wrapper .search-content .search-form .search-submit{left: -4px; right: auto; border-top-right-radius: 0; border-bottom-right-radius: 0; border-bottom-left-radius: 5px; border-top-left-radius: 5px}
 .rtl .c-search-header__wrapper .search-content .search-form .search-field{padding: 17px 30px 16px 100px}


 body.manga-page .profile-manga  .tab-summary.thumb-full .summary_image {
     height: auto;
 }

 .text-ui-light #madara-comments.comments-area ol.comment-list li.comment article.comment-body .block-right .comment-content, .text-ui-light #madara-comments.comments-area ol.comment-list li.pingback article.comment-body .block-right .comment-content{
     color:inherit
 }
 body.text-ui-light #madara-comments a:not(:hover){color:#666}
 body.text-ui-light #madara-comments a:hover{color:#000}
 .rtl #madara-comments.comments-area ol.comment-list li.comment article.comment-body .block-left, .rtl #madara-comments.comments-area ol.comment-list li.pingback article.comment-body .block-left{float: right;margin-right:0; margin-left:30px}
 .rtl #madara-comments.comments-area ol.comment-list li.comment article.comment-body div.reply, .rtl #madara-comments.comments-area ol.comment-list li.pingback article.comment-body div.reply{left:0; right: auto}

 @media only screen and (max-width: 767px) {
    .rtl #madara-comments.comments-area ol.comment-list li.comment ol.children, .rtl #madara-comments.comments-area ol.comment-list li.pingback ol.children {
        padding-right: 0;
        margin-right: 0;
    }
}

@media only screen and (max-width: 599px) {
    .reading-manga .manga-info .summary_image{text-align:center}
    .reading-manga .manga-info .summary_image img{width:auto; margin: 20px 0 0 0}
    .rtl #manga-extra-info__tabs > li:not(:first-child){
        padding-left: 0;
        padding-right: 20px;
    }
}

.rtl #manga-extra-info__tabs > li:not(:first-child):before{
    left:auto;
    right:0
}

body.text-ui-light .madara-user-upload-pro-form{color:#FFF}
body.text-ui-light.single-format-standard .c-blog-post .entry-content{color:#FFF}

.text-ui-dark .site-header .c-modal_item .c-user_item{color: #000}
.text-ui-dark .body-wrap{background:#f6f6f6}

.text-ui-light .checkout-order table{color: #FFF}
.text-ui-light .checkout-order hr{border-top:1px solid rgb(255 255 255 / 10%)}

body.manga-page .page-content-listing.single-page .listing-chapters_wrap > ul.main.version-chap li:after, .shortcode-manga-chapters .listing-chapters_wrap > ul.main.version-chap li:after{display: none;}

.text-ui-dark .c-blog__heading.style-3 h5, .text-ui-dark .tab-wrap .c-nav-tabs span, .text-ui-dark .genres_wrap .genres__collapse .genres ul li a{
    color:var(--dark-2-text-color)
}

.tab-summary .genres-content{max-width: 50%}

@media (max-width: 767px) {
    .rtl #manga-reading-nav-foot{direction: rtl ;}
    .rtl #manga-reading-nav-foot .nav-links{display: flex; justify-content: end; flex-direction: row;}
    .rtl .select-pagination{width: 100%}

    .tab-summary .genres-content{max-width: 100%}

    body.reading-manga.rtl .entry-header .select-pagination .nav-links .nav-previous a, body.reading-manga .entry-header .select-pagination .nav-links .nav-next a{text-indent:initial; width: auto}
	body.reading-manga.rtl .chapter-type-text .entry-header .select-pagination .nav-links .nav-previous a{padding-left:35px}
	body.reading-manga.rtl .chapter-type-text .entry-header .select-pagination .nav-links .nav-next a{padding-right:35px; }
	body.reading-manga.rtl .entry-header .select-pagination .nav-links .nav-next a:before, body.reading-manga .c-select-bottom .select-pagination .nav-links .nav-next a:before{left: auto}
}
/**
 * fix for Firefox on mobile, arabic RTL content
 **/
@-moz-document url-prefix() {
	body.reading-manga.mobile.rtl .entry-header .select-pagination .nav-links .btn-primary a{
		text-indent: unset;
        width: auto;
        padding-left: 10px;
        padding-right: 10px;
    }
	body.reading-manga.mobile.rtl .entry-header .select-pagination .nav-links .btn-primary a.back:before{content:''}
}

.mobile .reading-content-wrap .container-inner .side-col .side-col-inner{
    direction:ltr;
}

.mobile .reading-content-wrap .container-inner .side-col .chapters-list .main{
    padding-bottom:30px !important
}

/* =============== KODIGO CUSTOM CODES GENERAL =============== */
body {
    font-family: 'Lora', serif;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', serif;
}

.site-footer{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* =============== LIGHT MODE STYLES =============== */

body.text-ui-dark .body-wrap {
    background-color: var(--custom-cream-pop) !important;
}

body.text-ui-dark .body-wrap p,
body.text-ui-dark .body-wrap h1,
body.text-ui-dark .body-wrap h2,
body.text-ui-dark .body-wrap h3,
body.text-ui-dark .body-wrap h4,
body.text-ui-dark .body-wrap h5,
body.text-ui-dark .body-wrap h6{
    color: var(--custom-warm-charcoal) !important;
}

body.text-ui-dark .main-navigation, 
body.text-ui-dark .site-footer, 
body.text-ui-dark .off-canvas {
    background: var(--custom-pale-lavender) !important;
}

body.text-ui-dark .main-navigation a, 
body.text-ui-dark .main-navigation span, 
body.text-ui-dark .bottom-footer .copyright p,
body.text-ui-dark .off-canvas .c-user_name,
body.text-ui-dark .off-canvas ul.main-navbar li a{
    color: var(--custom-warm-charcoal) !important;
}

body.text-ui-dark .signin-btn{
    background-color: var(--custom-light-pink);
    color: var(--custom-warm-charcoal) !important;
    border: 2px solid var(--custom-light-pink) !important;
    text-decoration: none;
}

body.text-ui-dark .signin-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.3);
}

body.text-ui-dark .signup-btn{
    background-color: var(--custom-pale-lavender);
    border: 2px solid var(--custom-light-pink) !important;
    text-decoration: none;
}

body.text-ui-dark a.signup-btn{
    color: var(--custom-light-pink) !important;
}

body.text-ui-dark .signup-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.3);
}

body.text-ui-dark.censored .modal .modal-content{
    background-color: var(--custom-pure-white);
    border-radius: 12px;
}

body.text-ui-dark #adult_modal p,
body.text-ui-dark #adult_modal h5,
body.text-ui-dark #adult_modal .modal-footer .btn.btn-secondary{
    color: var(--custom-warm-charcoal);
}

body.text-ui-dark #adult_modal .modal-footer .btn.btn-primary{
    background-color: var(--custom-rosewood-mist) !important;
    color: var(--custom-light-pink) !important;
}

body.text-ui-dark #adult_modal .modal-footer .btn.btn-primary:hover{
    background-color: var(--custom-rosewood-mist-dark) !important;
}

body.text-ui-dark #adult_modal .modal-footer .btn.btn-secondary:hover{
    background-color: transparent;
    color: var(--custom-rosewood-mist-dark);
}
/* =============== DARK MODE STYLES =============== */

body.text-ui-light .body-wrap {
    background-color: var(--custom-moonlit-mauve) !important;
}

body.text-ui-light .body-wrap p,
body.text-ui-light .body-wrap h1,
body.text-ui-light .body-wrap h2,
body.text-ui-light .body-wrap h3,
body.text-ui-light .body-wrap h4,
body.text-ui-light .body-wrap h5,
body.text-ui-light .body-wrap h6{
    color: var(--custom-blush-light) !important;
}

body.text-ui-light .main-navigation, 
body.text-ui-light .site-footer,
body.text-ui-light .off-canvas {
    background: var(--custom-midnight-lavender) !important;
}

body.text-ui-light .site-footer{
    border-bottom: none;
}

body.text-ui-light .main-navigation a, 
body.text-ui-light .main-navigation span, 
body.text-ui-light .bottom-footer .copyright p,
body.text-ui-light .off-canvas .c-user_name,
body.text-ui-light .off-canvas ul.main-navbar li a {
    color: var(--custom-blush-light) !important;
}

body.text-ui-light .signin-btn{
    background-color: var(--custom-dream-peach);
    color: var(--custom-blush-light) !important;
    border: 2px solid var(--custom-dream-peach) !important;
    text-decoration: none;
}

body.text-ui-light .signin-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.3);
}

body.text-ui-light .signup-btn{
    background-color: var(--custom-midnight-lavender);
    border: 2px solid var(--custom-dream-peach) !important;
    text-decoration: none;
}

body.text-ui-light a.signup-btn{
    color: var(--custom-dream-peach) !important;
}

body.text-ui-light .signup-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.3);
}

body.text-ui-light.censored .modal .modal-content{
    background-color: var(--custom-plum-shadow);
    border-color: var(--custom-plum-shadow);
    border-radius: 12px;
}

body.text-ui-light #adult_modal p,
body.text-ui-light #adult_modal h5{
    color: var(--custom-blush-light);
}

body.text-ui-light #adult_modal .modal-footer .btn.btn-secondary{
    color: var(--custom-blush-light);
    background-color: transparent;
}

body.text-ui-light #adult_modal .modal-footer .btn.btn-primary{
    background-color: var(--custom-midnight-lavender) !important;
    color: var(--custom-blush-light) !important;
}

body.text-ui-light #adult_modal .modal-footer .btn.btn-primary:hover{
    background-color: var(--custom-midnight-lavender-dark) !important;
}

body.text-ui-light #adult_modal .modal-footer .btn.btn-secondary:hover{
    background-color: transparent;
    color: var(--custom-midnight-lavender-dark);
}
/* ============= */
.social_account__item{
    display: none;
}

.open-search-main-menu {
  display: none;
}

#darklight_toggle {
  position: unset !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 100%;
  display: flex;
  align-items: center;
}

.toggle-switch {
  display: flex;
  align-items: center;
  margin-top: 12px;
}

/* =============== LIGHT MODE STYLES =============== */
body.text-ui-dark .toggle-switch label{
    background-color: transparent !important;
    border: 1px solid var(--custom-light-pink) !important;
}

/* =============== DARK MODE STYLES =============== */
body.text-ui-light .toggle-switch label{
    background-color: transparent !important;
    border: 1px solid var(--custom-plum-shadow) !important;
}


.toggle-switch input:checked ~ .slider {
  background-color: skyblue !important;
}

.slider{
    background: black !important;
    opacity: 1 !important;
}

.toggle-switch input:checked ~ .slider::before{
    background-color: orange !important;
}

.text-ui-dark .body-wrap{
    background-color: var(--custom-cream);
}

.text-ui-dark .manga-chapters-listing tbody tr:nth-child(odd), .text-ui-dark .page-content-listing.item-chapters .view-all, .text-ui-dark .page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-1 {
    background: var(--custom-darkcream);
}

body[data-font="reading-font-0"].reading-manga .read-container p, body[data-font="reading-font-0"].reading-manga .read-container h3 {
  font-family: 'Helvetica', sans-serif !important;
}

body[data-font="reading-font-1"].reading-manga .read-container p, body[data-font="reading-font-1"].reading-manga .read-container h3 {
  font-family: 'Times New Roman', serif !important;
}

body[data-schema="default"].reading-manga .content-area {
  background: #FFF9F6 !important;
}

body[data-schema="default"].reading-manga .content-area p, 
body[data-schema="default"].reading-manga .content-area h3, 
body[data-schema="default"].reading-manga .content-area h4,
body[data-schema="default"].reading-manga .content-area a,
body[data-schema="default"].reading-manga .content-area .modern-footnotes-list,
body[data-schema="default"].reading-manga .content-area .modern-footnotes-list span{
    color: #5C4A4A !important;
}

body[data-schema="umber"].reading-manga .content-area {
  background: #FFDFDF;
}

body[data-schema="umber"].reading-manga .content-area p, 
body[data-schema="umber"].reading-manga .content-area h3, 
body[data-schema="umber"].reading-manga .content-area h4,
body[data-schema="umber"].reading-manga .content-area a,
body[data-schema="umber"].reading-manga .content-area .modern-footnotes-list,
body[data-schema="umber"].reading-manga .content-area .modern-footnotes-list span{
    color: #5C4A4A !important;
}

body[data-schema="blossom"].reading-manga .content-area {
  background: #3A2840;
}

body[data-schema="blossom"].reading-manga .content-area p, 
body[data-schema="blossom"].reading-manga .content-area h3, 
body[data-schema="blossom"].reading-manga .content-area h4,
body[data-schema="blossom"].reading-manga .content-area a,
body[data-schema="blossom"].reading-manga .content-area .modern-footnotes-list,
body[data-schema="blossom"].reading-manga .content-area .modern-footnotes-list span{
    color: #F6DCE4 !important;
}

body[data-schema="apricot"].reading-manga .content-area {
  background: #3A2840;
}

body[data-schema="apricot"].reading-manga .content-area p, 
body[data-schema="apricot"].reading-manga .content-area h3, 
body[data-schema="apricot"].reading-manga .content-area h4,
body[data-schema="apricot"].reading-manga .content-area a,
body[data-schema="apricot"].reading-manga .content-area .modern-footnotes-list,
body[data-schema="apricot"].reading-manga .content-area .modern-footnotes-list span{
  color: #E7AE8C !important;
}

body[data-schema="rosewood"].reading-manga .content-area {
  background: #8A4C63;
}

body[data-schema="rosewood"].reading-manga .content-area p, 
body[data-schema="rosewood"].reading-manga .content-area h3, 
body[data-schema="rosewood"].reading-manga .content-area h4,
body[data-schema="rosewood"].reading-manga .content-area a,
body[data-schema="rosewood"].reading-manga .content-area .modern-footnotes-list,
body[data-schema="rosewood"].reading-manga .content-area .modern-footnotes-list span{
  color: #F6DCE4 !important;
}

body[data-schema="peach"].reading-manga .content-area {
  background: #FEC8A3;
}

body[data-schema="peach"].reading-manga .content-area p, 
body[data-schema="peach"].reading-manga .content-area h3, 
body[data-schema="peach"].reading-manga .content-area h4,
body[data-schema="peach"].reading-manga .content-area a,
body[data-schema="peach"].reading-manga .content-area .modern-footnotes-list,
body[data-schema="peach"].reading-manga .content-area .modern-footnotes-list span{
  color: #5C4A4A !important;
}

#wp-manga-reader-settings .theme-set-color ._default strong {
  background-color: #FFF9F6;
  color: #5C4A4A;
}

#wp-manga-reader-settings .theme-set-color ._umber strong {
  background-color: #FFDFDF;
  color: #5C4A4A;
}

#wp-manga-reader-settings .theme-set-color ._blossom strong {
  background-color: #3A2840;
  color: #F6DCE4;
}

#wp-manga-reader-settings .theme-set-color ._apricot strong {
  background-color: #3A2840;
  color: #E7AE8C;
}

#wp-manga-reader-settings .theme-set-color ._rosewood strong {
  background-color: #8A4C63;
  color: #F6DCE4;
}

#wp-manga-reader-settings .theme-set-color ._peach strong {
  background: #FEC8A3;
  color: #5C4A4A;
}

@media (max-width: 599px) {
    .toggle-switch {
        margin-top: 0;
    }

    .mobile-navigation-wrap .m-nav-top-right {
        gap: 12px;
    }
}

/* Novel Slider Styles */
.madara-manga-cards-container {
    background-color: transparent;
    padding: 10px 0;
}

.madara-manga-cards-heading h4 {
    /* color: var(--custom-wine); */
    text-align: center;
}

.madara-manga-cards-heading h4 i {
    /* color: var(--custom-rose); */
}

.madara-manga-carousel-wrapper {
    overflow: hidden;
    position: relative;
    margin: 0 -7px;
    padding: 0 7px;
}

.madara-manga-carousel-wrapper.is-carousel {
    cursor: grab;
    user-select: none;
}

.madara-manga-carousel-wrapper.is-carousel:active {
    cursor: grabbing;
}

.madara-manga-cards-row.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.5s ease-out;
    will-change: transform;
}

.madara-manga-carousel-wrapper.is-carousel .madara-manga-card-col {
    flex-shrink: 0;
}

/* =============== DARK MODE STYLES =============== */

body.text-ui-light .madara-manga-card {
    background: var(--custom-plum-shadow) !important;
    border: 2px solid var(--custom-midnight-lavender);
}

body.text-ui-light .madara-manga-card-title a,
body.text-ui-light .meta-item {
    color: var(--custom-blush-light) !important;
}

/* =============== LIGHT MODE STYLES =============== */

body.text-ui-dark .madara-manga-card {
    background: var(--custom-pure-white) !important;
    border: 2px solid var(--custom-soft-peach);
}

body.text-ui-dark .madara-manga-card-title a,
body.text-ui-dark .meta-item {
    color: var(--custom-warm-charcoal) !important;
}

.madara-manga-card {
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(138, 0, 5, 0.1),
                0 2px 8px rgba(255, 191, 233, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.madara-manga-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(138, 0, 5, 0.15),
                0 4px 15px rgba(255, 191, 233, 0.3),
                0 0 20px rgba(180, 235, 255, 0.4);
}

.madara-manga-card-thumb {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
    height: auto;
    aspect-ratio: 2/3;
}

.madara-manga-card-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 0;
    transition: transform 0.3s ease;
    object-fit: cover;
}

.madara-manga-card:hover .madara-manga-card-thumb img {
    transform: scale(1.05);
}

.madara-manga-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(138, 0, 5, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 12px;
}

.madara-manga-card:hover .madara-manga-card-overlay {
    opacity: 1;
}

.madara-manga-card-read-btn {
    background: linear-gradient(45deg, var(--custom-rose), var(--custom-soft-sky));
    color: var(--custom-wine);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.madara-manga-card:hover .madara-manga-card-read-btn {
    transform: translateY(0);
}

.madara-manga-card-read-btn:hover {
    background: linear-gradient(45deg, var(--custom-soft-sky), var(--custom-rose));
    transform: scale(1.05);
}

.madara-manga-card-content {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 8px;
}

.madara-manga-card-title h3 {
    text-align: left;
    margin: 0 0 6px 0;
    font-size: 0.9rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.madara-manga-card-title a {
    /* color: var(--custom-wine); */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

/* .madara-manga-card-title a:hover {
    color: var(--custom-rose);
} */

.madara-manga-card-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: auto;
}

.madara-manga-card-chapters {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--custom-wine);
    font-size: 0.75rem;
    font-weight: 500;
}

.madara-manga-card-chapters svg {
    width: 14px;
    height: 14px;
    color: var(--custom-rose);
}

.manga-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 10px 0;
}

.manga-carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--custom-rose), var(--custom-soft-sky));
    border: 2px solid var(--custom-wine);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.manga-carousel-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.manga-carousel-dot:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 191, 233, 0.6);
}

.manga-carousel-dot.active {
    background: linear-gradient(145deg, var(--custom-wine), #B4003F);
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(138, 0, 5, 0.5);
}

.manga-carousel-dot.active::before {
    opacity: 1;
}

.c-page-content .c-page .c-page__content .page-content-listing .col-md-2 {
    flex: 0 0 25%;
    padding-left: 7px;
    padding-right: 7px;
}

.c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail.item-one_featured .item-index-1-1{
    border-radius: 12px;
}

.featured-item-description .description-truncate {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
    max-height: calc(1.6em * 5);
}

.featured-item-description p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6;
    max-height: calc(1.6em * 5);
}

@media (max-width: 767px) {
    .madara-manga-card-col {
        margin-bottom: 10px;
    }
}

@media (max-width: 599px) {
    .c-page-content .c-page .c-page__content .page-content-listing .col-md-2 {
        flex: 0 0 33%;
        padding-left: 4px;
        padding-right: 4px;
    }
}

@media (min-width: 600px) and (max-width: 1023px) {
    .c-page-content .c-page .c-page__content .page-content-listing .col-md-2 {
        flex: 0 0 25%;
        padding-left: 5px;
        padding-right: 5px;
    }
}

/* Novel Listing Styles */

.madara-manga-listing-container {
    position: relative;
}

.manga-listing-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 12px;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(138, 0, 5, 0.1);
    border-top-color: var(--custom-rose);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.desktop-view {
    display: table;
    width: 100%;
}

.mobile-view {
    display: none !important;
}

.manga-shortcodes.manga-chapters-listing {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(145deg, var(--custom-strawberry-milk), #ffffff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(138, 0, 5, 0.1);
}

.manga-shortcodes.manga-chapters-listing thead {
    background: var(--custom-wine);
}

.manga-shortcodes.manga-chapters-listing thead th {
    padding: 15px 10px;
    text-align: left;
    font-weight: 600;
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.manga-shortcodes.manga-chapters-listing thead th.thumbnail {
    width: 80px;
    text-align: center;
}

.manga-shortcodes.manga-chapters-listing thead th.genre {
    width: 20%;
}

.manga-shortcodes.manga-chapters-listing thead th.title {
    width: 25%;
}

.manga-shortcodes.manga-chapters-listing thead th.release {
    width: 20%;
}

.manga-shortcodes.manga-chapters-listing thead th.author {
    width: 15%;
}

.manga-shortcodes.manga-chapters-listing thead th.time {
    width: 15%;
}

.manga-shortcodes.manga-chapters-listing tbody tr {
    border-bottom: 1px solid rgba(255, 191, 233, 0.3);
    transition: all 0.3s ease;
}

.manga-shortcodes.manga-chapters-listing tbody tr:hover {
    background: linear-gradient(90deg, rgba(255, 191, 233, 0.2), transparent);
    transform: translateX(5px);
}

.manga-shortcodes.manga-chapters-listing tbody td {
    padding: 12px 10px;
    vertical-align: middle;
}

.manga-shortcodes.manga-chapters-listing tbody td.thumbnail {
    text-align: center;
    padding: 8px;
}

.manga-listing-thumb {
    width: 60px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(138, 0, 5, 0.2);
    transition: transform 0.3s ease;
}

.manga-shortcodes.manga-chapters-listing tbody tr:hover .manga-listing-thumb {
    transform: scale(1.05);
}

.manga-shortcodes.manga-chapters-listing tbody td a {
    color: var(--custom-wine);
    text-decoration: none;
    transition: color 0.3s ease;
}

.manga-shortcodes.manga-chapters-listing tbody td a:hover {
    color: var(--custom-rose);
}

.manga-shortcodes.manga-chapters-listing tbody td.genre a,
.manga-shortcodes.manga-chapters-listing tbody td.author a {
    display: inline-block;
    margin-right: 5px;
    font-size: 0.85rem;
    padding: 2px 8px;
    background: rgba(255, 191, 233, 0.3);
    border-radius: 12px;
    margin-bottom: 3px;
}

.manga-shortcodes.manga-chapters-listing tbody td.genre a:hover,
.manga-shortcodes.manga-chapters-listing tbody td.author a:hover {
    background: var(--custom-rose);
    color: white;
}

.manga-shortcodes.manga-chapters-listing tbody td.title a {
    font-weight: 600;
    font-size: 0.95rem;
}

.manga-shortcodes.manga-chapters-listing tbody td.time {
    color: #666;
    font-size: 0.85rem;
}

.manga-shortcodes.manga-chapters-listing tbody tr:nth-child(odd) {
    background: white;
}

.manga-shortcodes.manga-chapters-listing tbody tr:nth-child(even) {
    background: transparent;
}

.manga-listing-mobile {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.manga-mobile-card {
    display: flex;
    gap: 15px;
    background: white;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 2px 10px rgba(138, 0, 5, 0.1);
    transition: all 0.3s ease;
}

.manga-mobile-card:hover {
    box-shadow: 0 4px 15px rgba(138, 0, 5, 0.2);
    transform: translateY(-2px);
}

.manga-mobile-thumb-link {
    flex-shrink: 0;
}

.manga-mobile-thumb {
    width: 80px;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(138, 0, 5, 0.15);
}

.manga-mobile-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.manga-mobile-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.manga-mobile-title a {
    color: var(--custom-wine) !important;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.manga-mobile-title a:hover {
    color: var(--custom-rose);
}

.manga-mobile-genres {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.genre-tag {
    font-size: 0.75rem;
    padding: 3px 10px;
    background: rgba(255, 191, 233, 0.4);
    border-radius: 12px;
    color: var(--custom-wine);
    font-weight: 600;
}

.manga-mobile-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.85rem;
    color: #666;
}

.manga-mobile-meta .meta-item {
    display: block;
}

.manga-mobile-meta .meta-item strong {
    color: var(--custom-wine) !important;
    font-weight: 600;
}

.manga-mobile-meta .meta-item a {
    color: var(--custom-rose) !important;
    text-decoration: none;
}

.manga-mobile-meta .meta-item a:hover {
    text-decoration: underline;
}

.manga-mobile-meta .meta-date {
    font-size: 0.75rem;
    color: #999;
    margin-top: auto;
}

.manga-listing-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(145deg, var(--custom-strawberry-milk), #ffffff);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(138, 0, 5, 0.1);
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--custom-wine);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--custom-rose);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 0, 5, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.pagination-info {
    font-weight: 600;
    /* color: var(--custom-wine); */
    font-size: 0.95rem;
}

.pagination-info .current-page {
    font-size: 1.1rem;
}

/* =============== LIGHT MODE STYLES =============== */
body.text-ui-dark .pagination-info{
    color: var(--custom-warm-charcoal);
}

body.text-ui-dark .pagination-info .current-page{
    color: var(--custom-soft-peach);
}

/* =============== DARK MODE STYLES =============== */
body.text-ui-light .pagination-info{
    color: var(--custom-blush-light);
}

body.text-ui-light .pagination-info .current-page{
    color: var(--custom-midnight-lavender);
}

@media (max-width: 1024px) {
    .manga-shortcodes.manga-chapters-listing thead th.genre,
    .manga-shortcodes.manga-chapters-listing thead th.author {
        display: none;
    }
    
    .manga-shortcodes.manga-chapters-listing tbody td.genre,
    .manga-shortcodes.manga-chapters-listing tbody td.author {
        display: none;
    }
}

@media (max-width: 768px) {
    .desktop-view {
        display: none !important;
    }
    
    .mobile-view {
        display: flex !important;
    }

    .manga-listing-pagination {
        padding: 12px;
    }
    
    .pagination-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .pagination-info {
        font-size: 0.85rem;
    }

    .pagination-info .current-page {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .manga-mobile-card {
        gap: 10px;
        padding: 10px;
    }

    .manga-mobile-thumb {
        width: 70px;
        height: 95px;
    }

    .manga-mobile-title {
        font-size: 0.9rem;
    }

    .genre-tag {
        font-size: 0.7rem;
        padding: 2px 8px;
    }

    .manga-mobile-meta {
        font-size: 0.8rem;
    }

    .pagination-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        gap: 4px;
    }

    .pagination-btn .btn-text {
        display: none;
    }

    .pagination-btn svg {
        width: 16px;
        height: 16px;
    }

    .pagination-info {
        font-size: 0.8rem;
    }

    .pagination-info .page-text {
        display: none;
    }
}

/* Novel Normal Styles */

.madara-normal-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px 0;
}

.madara-normal-card {
    margin-bottom: 0;
    min-width: 0;
}

.normal-layout-card {
    background: linear-gradient(145deg, var(--custom-strawberry-milk), #ffffff);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 4px 15px rgba(138, 0, 5, 0.1),
                0 2px 8px rgba(255, 191, 233, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 191, 233, 0.3);
    height: 100%;
    overflow: hidden;
}

.normal-layout-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(138, 0, 5, 0.15),
                0 4px 15px rgba(255, 191, 233, 0.3),
                0 0 20px rgba(180, 235, 255, 0.4);
}

.normal-layout-inner {
    display: flex;
    align-items: stretch;
    min-height: 140px;
}

.normal-layout-thumb {
    flex: 0 0 120px;
    position: relative;
}

.normal-layout-thumb .madara-manga-card-thumb {
    height: 100%;
    margin-bottom: 0;
    border-radius: 0;
}

.normal-layout-thumb .madara-manga-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.normal-layout-content {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.normal-layout-description {
    margin: 8px 0;
    flex: 1;
}

.normal-layout-description .description-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(1.4em * 2);
    color: #666;
    font-size: 0.85rem;
    margin: 0;
}

.normal-layout-card .madara-manga-card-title h3 {
    text-align: left;
    margin: 0;
    font-size: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.normal-layout-card .madara-manga-card-title a {
    color: var(--custom-wine) !important;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.normal-layout-card .madara-manga-card-title a:hover {
    color: var(--custom-rose) !important;
}

.normal-layout-card .madara-manga-card-meta {
    margin-top: auto;
}

.normal-layout-card .madara-manga-card-chapters {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--custom-wine);
    font-size: 0.8rem;
    font-weight: 500;
}

.normal-layout-card .madara-manga-card-chapters svg {
    width: 14px;
    height: 14px;
    color: var(--custom-rose);
}

.normal-layout-thumb .madara-manga-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(138, 0, 5, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
}

.normal-layout-thumb .madara-manga-card-read-btn {
    background: linear-gradient(45deg, var(--custom-rose), var(--custom-soft-sky));
    color: var(--custom-wine);
    padding: 6px 12px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.normal-layout-card:hover .madara-manga-card-overlay {
    opacity: 1;
}

.normal-layout-card:hover .madara-manga-card-read-btn {
    transform: translateY(0);
}

.normal-layout-thumb .madara-manga-card-read-btn:hover {
    background: linear-gradient(45deg, var(--custom-soft-sky), var(--custom-rose));
    transform: scale(1.05);
}

@media (max-width: 767px) {
    .item-default.madara-normal-layout {
        grid-template-columns: 1fr !important;
        gap: 12px;
        display: grid !important;
    }
    
    .madara-normal-card {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .normal-layout-thumb {
        flex: 0 0 100px;
    }
    
    .normal-layout-content {
        padding: 12px;
    }
    
    .normal-layout-card .madara-manga-card-title h3 {
        font-size: 0.9rem;
    }
    
    .normal-layout-description .description-truncate-2 {
        font-size: 0.8rem;
    }
    
    .normal-layout-inner {
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .item-default.madara-normal-layout {
        grid-template-columns: 1fr !important;
        gap: 10px;
        display: grid !important;
    }
    
    .madara-normal-card {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .normal-layout-thumb {
        flex: 0 0 80px;
    }
    
    .normal-layout-content {
        padding: 10px;
    }
    
    .normal-layout-inner {
        min-height: 100px;
    }
}

/* Novel Big Thumbnail Styles */

@media (max-width: 768px) {
    .madara-featured-item {
        display: none !important;
    }
    
    .madara-first-card-mobile {
        display: none !important;
    }
    
    .page-content-listing.item-big_thumbnail.madara-custom-layout {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .madara-custom-layout .madara-manga-card-small {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 !important;
    }
    
    .madara-manga-card {
        width: 100% !important;
    }
}

@media (min-width: 769px) {
    .madara-first-card-mobile {
        display: none;
    }
}

.madara-custom-layout .madara-manga-card-small.madara-first-card-mobile {
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    box-shadow: none;
}

.madara-custom-layout .madara-manga-card-small.madara-first-card-mobile .madara-manga-card {
    margin: 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* =============== NEW NOVEL READING STYLES =============== */
body.reading-manga .entry-header .select-pagination > *{
    display: flex;
    justify-content: center;
    gap: 6px;
}

body.reading-manga .entry-header .select-pagination .nav-links .nav-previous a, body.reading-manga .entry-header .select-pagination .nav-links .nav-next a, body.reading-manga .entry-header .select-pagination .nav-links .btn-primary a{
    border-radius: 25px;
    background-color: var(--custom-rosewood-mist) !important; 
}

.btn-toggle-comments {
  display: none;
}

.reading-comments-below{
    border-top: 1px solid var(--custom-darkcream);
    padding: 40px;
}

body.reading-manga #madara-comments.comments-area #respond.comment-respond .comment-form .form-submit #submit{
    background-color: var(--custom-rosewood-mist); 
}

body.reading-manga .kofi-text {
  margin: 0;
}

body.reading-manga .kofi-support {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.reading-content-wrap .chapter-name{
    margin: 0;
    text-align: center;
    font-size: calc(.75rem + var(--readingFontSize)) !important;
}

.reading-content-wrap .chapter-name2{
    margin-bottom: 1.5em;
    text-align: center;
    font-size: calc(.5rem + var(--readingFontSize)) !important;
}

.kofi-btn{
    transition: all 0.3s ease !important;
}

.kofi-btn:hover{
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(138, 0, 5, 0.2) !important;
    border-radius: 12px !important;
}

.nav-previous, .nav-next, .btn-primary, .submit{
    transition: all 0.3s ease !important;
}

.nav-previous:hover, .nav-next:hover, .btn-primary:hover, .submit:hover{
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(138, 0, 5, 0.2) !important;
    border-radius: 25px !important;
}

.madara-translator-note-frontend {
    background: var(--custom-pure-white);
    border-radius: 12px;
    margin: 30px 8px;
    padding: 0;
    overflow: hidden;
}

.madara-translator-note-frontend .note-header {
    background-color: var(--custom-carnation-pink);
    color: var(--custom-warm-charcoal);
    padding: 12px 20px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.madara-translator-note-frontend .note-header i {
    font-size: 18px;
}

.madara-translator-note-frontend .note-content {
    padding: 20px;
    color: #333;
    line-height: 1.6;
    border: 2px solid var(--custom-carnation-pink);
    border-radius: 0 0 12px 12px;
}

body.reading-manga .kofi-support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 30px 8px;
    padding: 20px;
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    border-radius: 12px;
    border: 2px solid var(--custom-soft-peach);
}

body.reading-manga .kofi-text {
    margin: 0;
    font-weight: 500;
    color: #333;
    font-size: 16px;
}

.theme-set-color.no-wrap {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 6px; 
}

.theme-set-color.no-wrap label {
    white-space: nowrap;
    flex: 0 0 auto;
}

body.reading-manga .chapter-table-header .col-date,
body.reading-manga .chapter-table-body .col-date {
    display: none !important;
}

body.reading-manga .chapter-readmore{
    display: none;
}

@media (max-width: 768px) {
    body.reading-manga .kofi-support{
        flex-direction: column;
    }

    body.reading-manga .entry-header .select-pagination .nav-links .nav-next a{
        text-indent: -999em !important;
    }

    body.reading-manga .reading-settings.active #wp-manga-reader-settings{
        width: 185%;
    }
}

/* =============== NEW HOMEPAGE STYLES =============== */
.manga-grid-search-wrapper {
    margin-bottom: 30px;
}

.manga-grid-search-container {
    display: flex;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
    align-items: center;
    background: #fff;
    padding: 12px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.manga-grid-search-input {
    flex: 1;
    padding: 16px 24px;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    outline: none;
}

.manga-grid-search-input:focus {
    border-color: #3498db;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.manga-grid-search-input::placeholder {
    color: #999;
}

.manga-grid-search-btn,
.manga-grid-filter-btn {
    border-radius: 25px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.manga-grid-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.manga-grid-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.3);
}

.manga-grid-search-btn:active,
.manga-grid-filter-btn:active {
    transform: translateY(0);
}

.manga-grid-clear-btn {
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    flex-shrink: 0;
}

.manga-grid-clear-btn:hover {
    transform: scale(1.1);
}

/* =============== LIGHT MODE STYLES =============== */
body.text-ui-dark .manga-grid-search-container {
    background-color: var(--custom-pure-white) !important;
    border: 2px solid var(--custom-soft-peach);
}

body.text-ui-dark .manga-grid-search-btn {
    background-color: var(--custom-soft-peach);
    color: var(--custom-warm-charcoal);
    border: 2px solid var(--custom-soft-peach);
}

body.text-ui-dark .manga-grid-search-btn:hover {
    background-color: var(--custom-soft-peach-dark);
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.3);
}

body.text-ui-dark .manga-grid-filter-btn {
    background-color: transparent;
    border: 2px solid var(--custom-soft-peach);
    color: var(--custom-soft-peach);
}

body.text-ui-dark .manga-grid-filter-btn:hover {
    border: 2px solid var(--custom-soft-peach-dark);
    color: var(--custom-soft-peach-dark);
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.3);
}

body.text-ui-dark .manga-grid-clear-btn {
    background-color: var(--custom-carnation-pink);  
    color: var(--custom-warm-charcoal); 
}

body.text-ui-dark .manga-grid-clear-btn:hover {
    background-color: var(--custom-carnation-pink-dark); 
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.3);
}

body.text-ui-dark .filter-modal-content{
    background-color: var(--custom-pure-white);
    color: var(--custom-warm-charcoal);
}

body.text-ui-dark .filter-modal-header {
    border-bottom: 2px solid var(--custom-soft-peach);
}

body.text-ui-dark .filter-modal-close{
    color: var(--custom-warm-charcoal);
}

body.text-ui-dark .filter-checkbox-item{
    background-color: var(--custom-pure-white);
    color: var(--custom-warm-charcoal);
    border: 2px solid #cccccc;
}

body.text-ui-dark .filter-checkbox-item:hover{
    border: 2px solid var(--custom-soft-peach);
}

body.text-ui-dark .filter-checkbox-item input[type="checkbox"]{
    accent-color: var(--custom-soft-peach);
}

body.text-ui-dark .filter-checkbox-item input[type="checkbox"]:checked + span{
    color: var(--custom-soft-peach);
}

body.text-ui-dark .filter-checkbox-item span{
    color: var(--custom-warm-charcoal);
}

body.text-ui-dark .filter-tag-item{
    background-color: var(--custom-pure-white);
    color: var(--custom-warm-charcoal);
    border: 2px solid #cccccc;
}

body.text-ui-dark .filter-tag-item:hover{
    border: 2px solid var(--custom-soft-peach);
}

body.text-ui-dark .filter-tag-item input[type="checkbox"]{
    accent-color: var(--custom-soft-peach);
}

body.text-ui-dark .filter-tag-item input[type="checkbox"]:checked + span{
    color: var(--custom-soft-peach);
}

body.text-ui-dark .filter-tag-item span{
    color: var(--custom-warm-charcoal);
}
/* =============== DARK MODE STYLES =============== */
body.text-ui-light .manga-grid-search-container {
    background-color: var(--custom-plum-shadow) !important;
    border: 2px solid var(--custom-midnight-lavender);
}

body.text-ui-light .manga-grid-search-btn {
    background-color: var(--custom-midnight-lavender);
    color: var(--custom-blush-light);
    border: 2px solid var(--custom-midnight-lavender);
}

body.text-ui-light .manga-grid-search-btn:hover {
    background-color: var(--custom-midnight-lavender-dark);
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.3);
}

body.text-ui-light .manga-grid-filter-btn {
    background-color: transparent;
    border: 2px solid var(--custom-midnight-lavender);
    color: var(--custom-midnight-lavender);
}

body.text-ui-light .manga-grid-filter-btn:hover {
    border: 2px solid var(--custom-midnight-lavender-dark);
    color: var(--custom-midnight-lavender-dark);
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.3);
}

body.text-ui-light .manga-grid-clear-btn {
    background-color: var(--custom-dewberry-rose);  
    color: var(--custom-blush-light); 
}

body.text-ui-light .manga-grid-clear-btn:hover {
    background-color: var(--custom-dewberry-rose-dark); 
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.3);
}

body.text-ui-light .filter-modal-content{
    background-color: var(--custom-plum-shadow);
    color: var(--custom-blush-light);
}

body.text-ui-light .filter-modal-header {
    border-bottom: 2px solid var(--custom-midnight-lavender);
}

body.text-ui-light .filter-modal-close{
    color: var(--custom-blush-light);
}

body.text-ui-light .filter-checkbox-item{
    background-color: rgba(235, 235, 235, 0.2);
    color: var(--custom-blush-light);
    border: 2px solid var(--custom-blush-light);
}

body.text-ui-light .filter-checkbox-item:hover{
    border: 2px solid var(--custom-midnight-lavender);
}

body.text-ui-light .filter-checkbox-item input[type="checkbox"]{
    accent-color: var(--custom-midnight-lavender);
}

body.text-ui-light .filter-checkbox-item input[type="checkbox"]:checked + span{
    color: var(--custom-midnight-lavender);
}

body.text-ui-light .filter-checkbox-item span{
    color: var(--custom-blush-light);
}

body.text-ui-light .filter-tag-item{
    background-color: rgba(235, 235, 235, 0.2);
    color: var(--custom-blush-light);
    border: 2px solid var(--custom-blush-light);
}

body.text-ui-light .filter-tag-item:hover{
    border: 2px solid var(--custom-midnight-lavender);
}

body.text-ui-light .filter-tag-item input[type="checkbox"]{
    accent-color: var(--custom-midnight-lavender);
}

body.text-ui-light .filter-tag-item input[type="checkbox"]:checked + span{
    color: var(--custom-midnight-lavender);
}

body.text-ui-light .filter-tag-item span{
    color: var(--custom-blush-light);
}

.manga-grid-filter-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}

.filter-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.filter-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translate(-50%, -45%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
}

.filter-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.filter-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.text-ui-light .filter-modal-close:hover,
body.text-ui-dark .filter-modal-close:hover {
    color: #e74c3c;
    transform: rotate(90deg);
}

.filter-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.filter-section {
    margin-bottom: 25px;
}

.filter-section:last-of-type {
    margin-bottom: 20px;
}

.filter-section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.filter-orderby,
.filter-adult-content {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
    cursor: pointer;
}

.filter-orderby:focus,
.filter-adult-content:focus {
    border-color: var(--custom-wine);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.filter-text-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
    background: #fff;
}

.filter-text-input:focus {
    border-color: var(--custom-wine);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.filter-text-input::placeholder {
    color: #999;
}

.filter-status-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 5px;
}

.filter-checkbox-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.filter-checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
}

.filter-checkbox-item input[type="checkbox"]:checked + span {
    font-weight: 600;
}

.filter-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-height: 250px;
    overflow-y: auto;
    padding: 5px;
}

.filter-tag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.filter-tag-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
}

.filter-tag-item input[type="checkbox"]:checked + span {
    font-weight: 600;
}

.filter-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.filter-apply-btn,
.filter-reset-btn {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.filter-reset-btn:hover {
    transform: translateY(-2px);
}

/* =============== LIGHT MODE STYLES =============== */
body.text-ui-dark .filter-apply-btn {
    background: var(--custom-soft-peach);
    color: var(--custom-warm-charcoal);
}

body.text-ui-dark .filter-apply-btn:hover {
    background: var(--custom-soft-peach-dark);
}

body.text-ui-dark .filter-reset-btn {
    background: transparent;
    border: 2px solid var(--custom-soft-peach);
    color: var(--custom-soft-peach);
}

body.text-ui-dark .filter-reset-btn:hover {
    border: 2px solid var(--custom-soft-peach-dark);
    color: var(--custom-soft-peach-dark);
}
/* =============== DARK MODE STYLES =============== */
body.text-ui-light .filter-apply-btn {
    background: var(--custom-midnight-lavender);
    color: var(--custom-blush-light);
}

body.text-ui-light .filter-apply-btn:hover {
    background: var(--custom-midnight-lavender-dark);
}

body.text-ui-light .filter-reset-btn {
    background: transparent;
    border: 2px solid var(--custom-midnight-lavender);
    color: var(--custom-midnight-lavender);
}

body.text-ui-light .filter-reset-btn:hover {
    border: 2px solid var(--custom-midnight-lavender-dark);
    color: var(--custom-midnight-lavender-dark);
}


.manga-grid-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 20px 15px;
    gap: 20px;
}

.grid-pagination-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* =============== LIGHT MODE STYLES =============== */
body.text-ui-dark .grid-pagination-btn {
    color: var(--custom-soft-peach);
}

body.text-ui-dark .grid-pagination-btn:hover:not(:disabled) i{
    transform: scale(1.1);
    color: var(--custom-soft-peach-dark);
}

/* =============== DARK MODE STYLES =============== */
body.text-ui-light .grid-pagination-btn {
    color: var(--custom-midnight-lavender);
}

body.text-ui-light .grid-pagination-btn:hover:not(:disabled) i{
    transform: scale(1.1);
    color: var(--custom-midnight-lavender-dark);
}

.grid-pagination-btn i {
    font-size: 48px;
    transition: all 0.3s ease;
}

.grid-pagination-btn:disabled {
    cursor: not-allowed;
    opacity: 0.4;
    color: #bdc3c7;
}

.grid-pagination-btn:disabled i {
    color: #bdc3c7;
}

.pagination-info {
    font-size: 15px;
    color: #555;
    font-weight: 500;
}

.madara-manga-cards-row {
    row-gap: 20px;
    margin-bottom: 20px;
}

.col-grid-item {
    display: flex;
}

.madara-manga-card-col {
    display: flex;
}

.madara-manga-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.madara-manga-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.madara-manga-card-title {
    flex: 1;
    margin-bottom: 12px;
}

.madara-manga-card-overlay {
    display: none !important;
}

.manga-card-badges {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.manga-card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.meta-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.meta-right {
    flex-shrink: 0;
}

.manga-card-status {
    margin-bottom: 0;
}

/* =============== lIGHT MODE STYLES =============== */

body.text-ui-dark .status-pill{
    background-color: var(--custom-carnation-pink) !important;
    color: var(--custom-warm-charcoal) !important;
}

/* =============== DARK MODE STYLES =============== */

body.text-ui-light .status-pill{
    background-color: var(--custom-dewberry-rose) !important;
    color: var(--custom-blush-light) !important;
}

.status-pill {
    display: inline-block;
    padding: 1px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
}

.meta-item svg {
    flex-shrink: 0;
}

.meta-item span {
    font-weight: 500;
}

@media (max-width: 768px) {
    .manga-grid-search-container {
        flex-wrap: wrap;
        padding: 8px;
    }

    .manga-grid-search-input {
        width: 100%;
    }
    
    .manga-grid-search-btn span,
    .manga-grid-filter-btn span {
        display: none;
    }

    .manga-grid-search-btn,
    .manga-grid-filter-btn {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        padding: 0;
    }

    .manga-grid-pagination {
        gap: 15px;
    }

    .pagination-btn i {
        font-size: 36px;
    }

    .filter-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .filter-tags-list,
    .filter-status-list {
        max-height: 150px;
    }

    .manga-card-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .meta-right {
        align-self: flex-start;
    }
}

.manga-grid-loader {
    padding: 20px 0;
}

.skeleton-grid {
    display: grid;
    gap: 30px 20px;
    padding: 0 15px;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .skeleton-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .skeleton-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.skeleton-card {
    animation: pulse 2s ease-in-out infinite;
}

.skeleton-thumb {
    width: 100%;
    padding-bottom: 140%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 8px;
    margin-bottom: 12px;
}

.skeleton-title {
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
    margin-bottom: 8px;
}

.skeleton-meta {
    height: 16px;
    width: 70%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

.manga-grid-content.loading {
    display: none;
}

.col-grid-item {
    width: 50%;
    padding: 0 3px;
}

body.page .page-content-listing .page-listing-item{
    border-bottom: none;
    padding-bottom: 0;
}

body.page .page-content-listing{
    margin-top: 0;
}

@media (min-width: 768px) {
    .col-grid-item {
        width: 33.333%;
    }
}

@media (min-width: 1024px) {
    .col-grid-item {
        width: 20%;
    }
}

/* =============== NEW NOVEL INFO STYLES =============== */
/* =============== LIGHT MODE STYLES =============== */
body.text-ui-dark .manga-alt-title{
    color: var(--custom-carnation-pink);
    font-weight: bold;
}

body.text-ui-dark .manga-status-bar{
    background-color: var(--custom-light-pink);
}

body.text-ui-dark .status-item{
    color: var(--custom-warm-charcoal);
    font-weight: bold;
}

body.text-ui-dark .status-item i{
    color: var(--custom-rosewood-mist);
}

body.text-ui-dark .manga-info-table {
    border: 1px solid #e0e0e0;
}

body.text-ui-dark .info-row{
    border-bottom: 1px solid #e0e0e0;
}

body.text-ui-dark .info-label{
    color: var(--custom-rosewood-mist);
    background-color: #f8f8f8;
    border-right: 1px solid #e0e0e0;
}

body.text-ui-dark .info-value, 
body.text-ui-dark .info-value a{
    color: var(--custom-warm-charcoal);
    background-color: var(--custom-pure-white);
}

body.text-ui-dark .info-value a:hover {
    color: var(--custom-rosewood-mist);
}

body.text-ui-dark .quick-read #init-links .c-btn.c-btn_style-1{
    background-color: var(--custom-rosewood-mist);
    color: var(--custom-light-pink);
}

body.text-ui-dark .quick-read #init-links .c-btn.c-btn_style-1:hover{
    background-color: var(--custom-rosewood-mist-dark);
}

body.text-ui-dark .manga-left-column .bookmark-btn a{
    background-color: var(--custom-rosewood-mist);
    color: var(--custom-light-pink);
}

body.text-ui-dark .manga-left-column .bookmark-btn a:hover{
    background-color: var(--custom-rosewood-mist-dark);
}

body.text-ui-dark .tab-nav-button{
    background-color: var(--custom-pure-white);
    border: 2px solid #e0e0e0;
    color: #999;
}

body.text-ui-dark .tab-nav-button:hover{
    border-color: var(--custom-pale-lavender);
    color: var(--custom-pale-lavender);
}

body.text-ui-dark .tab-nav-button.active{
    background-color: var(--custom-pale-lavender);
    border: 2px solid var(--custom-pale-lavender);
    color: var(--custom-warm-charcoal);
}

body.text-ui-dark .chapter-btn{
    background-color: var(--custom-pale-lavender);
    color: var(--custom-warm-charcoal);
}

body.text-ui-dark .read-more-btn{
    background-color: var(--custom-light-pink);
    color: var(--custom-warm-charcoal);
}

body.text-ui-dark .read-more-btn:hover{
    background-color: var(--custom-light-pink-dark);
}

body.text-ui-dark .chapter-table-header{
    background-color: var(--custom-light-pink);
    color: var(--custom-rosewood-mist);
}

body.text-ui-dark .chapter-table-body{
    background-color: var(--custom-pure-white);
    color: var(--custom-warm-charcoal);
}

body.text-ui-dark .listing-chapters_wrap a{
    color: var(--custom-warm-charcoal) !important;
    text-decoration: underline !important;
}

body.text-ui-dark .listing-chapters_wrap a:hover{
    color: var(--custom-light-pink) !important;
}

body.text-ui-dark .chapter-row{
    border-bottom: 1px solid var(--custom-light-pink);
}

body.text-ui-dark .chapter-row:last-child{
    border-bottom: none;
}

body.text-ui-dark .manga-tabs-content{
    background-color: var(--custom-pure-white);
}

body.text-ui-dark .review-stats{
    background-color: var(--custom-light-pink);
    color: var(--custom-warm-charcoal);
}

body.text-ui-dark .review-avg{
    color: var(--custom-rosewood-mist);
}

body.text-ui-dark .review-form-wrapper .alert-warning, 
body.text-ui-dark .review-form-wrapper .alert-info{
    background: var(--custom-light-pink-light); 
    border-color: transparent;
    border-left: 4px solid var(--custom-rosewood-mist); 
    color: var(--custom-warm-charcoal);
}

body.text-ui-dark .reaction-btn{
    background-color: var(--custom-pure-white);
    border-color: 2px solid var(--custom-rosewood-mist);
    color: var(--custom-rosewood-mist);
}

body.text-ui-dark .reaction-btn:hover{
    background-color: var(--custom-rosewood-mist-dark);
    color: var(--custom-light-pink);
}

body.text-ui-dark .reaction-btn.active.like,
body.text-ui-dark .reaction-btn.active.dislike{
    background-color: var(--custom-rosewood-mist);
    border-color: var(--custom-rosewood-mist);
    color: var(--custom-light-pink);
}

body.text-ui-dark .review-list .review-item {
    border-bottom: 1px solid lightpink;
    color: var(--custom-warm-charcoal);
}

body.text-ui-dark .review-list .review-item .review-date {
    color: var(--custom-warm-charcoal);
}

body.text-ui-dark .novel-subscribe-button {
    background-color: var(--custom-pure-white);
    border: 2px solid var(--custom-rosewood-mist);
    color: var(--custom-rosewood-mist);
}

body.text-ui-dark .novel-subscribe-button:hover {
    border: 2px solid var(--custom-rosewood-mist-dark);
}

body.text-ui-dark .novel-subscribe-button.subscribed {
    background-color: var(--custom-rosewood-mist);
    color: var(--custom-light-pink);
}

body.text-ui-dark .novel-subscribe-button.subscribed:hover {
    background-color: var(--custom-rosewood-mist-dark);
}
/* =============== DARK MODE STYLES =============== */
body.text-ui-light .manga-alt-title{
    color: var(--custom-dream-peach);
    font-weight: bold;
}

body.text-ui-light .manga-status-bar{
    background-color: var(--custom-dewberry-rose);
}

body.text-ui-light .status-item{
    color: var(--custom-blush-light);
    font-weight: bold;
}

body.text-ui-light .status-item i{
    color: var(--custom-dream-peach);
}

body.text-ui-light .manga-info-table {
    border: 1px solid var(--custom-midnight-lavender);
}

body.text-ui-light .info-row{
    border-bottom: 1px solid var(--custom-midnight-lavender);
}

body.text-ui-light .info-label{
    color: var(--custom-dream-peach);
    background-color: var(--custom-plum-shadow-dark);
    border-right: 1px solid var(--custom-midnight-lavender);
}

body.text-ui-light .info-value, 
body.text-ui-light .info-value a{
    color: var(--custom-blush-light);
    background-color: var(--custom-plum-shadow);
}

body.text-ui-light .info-value a:hover {
    color: var(--custom-midnight-lavender);
}

body.text-ui-light .quick-read #init-links .c-btn.c-btn_style-1{
    background-color: var(--custom-midnight-lavender);
    color: var(--custom-blush-light);
}

body.text-ui-light .quick-read #init-links .c-btn.c-btn_style-1:hover{
    background-color: var(--custom-midnight-lavender-dark);
}

body.text-ui-light .manga-left-column .bookmark-btn a{
    background-color: var(--custom-midnight-lavender);
    color: var(--custom-blush-light);
}

body.text-ui-light .manga-left-column .bookmark-btn a:hover{
    background-color: var(--custom-midnight-lavender-dark);
}

body.text-ui-light .tab-nav-button{
    background-color: var(--custom-plum-shadow-dark);
    border: 2px solid var(--custom-plum-shadow);
    color: var(--custom-blush-light);
}

body.text-ui-light .tab-nav-button:hover{
    border-color: var(--custom-midnight-lavender);
    color: var(--custom-midnight-lavender);
}

body.text-ui-light .tab-nav-button.active{
    background-color: var(--custom-midnight-lavender);
    border: 2px solid var(--custom-midnight-lavender);
    color: var(--custom-blush-light);
}

body.text-ui-light .chapter-btn{
    background-color: var(--custom-midnight-lavender);
    color: var(--custom-midnight-lavender);
}

body.text-ui-light .read-more-btn{
    background-color: var(--custom-midnight-lavender);
    color: var(--custom-blush-light);
}

body.text-ui-light .read-more-btn:hover{
    background-color: var(--custom-light-pink-dark);
}

body.text-ui-light .chapter-table-header{
    background-color: var(--custom-dewberry-rose);
    color: var(--custom-dream-peach);
}

body.text-ui-light .chapter-table-body{
    background-color: var(--custom-plum-shadow-dark);
    color: var(--custom-blush-light);
}

body.text-ui-light .listing-chapters_wrap a{
    color: var(--custom-blush-light) !important;
    text-decoration: underline !important;
}

body.text-ui-light .listing-chapters_wrap a:hover{
    color: var(--custom-dewberry-rose) !important;
}

body.text-ui-light .chapter-row{
    border-bottom: 1px solid var(--custom-dewberry-rose);
}

body.text-ui-light .chapter-row:last-child{
    border-bottom: none;
}

body.text-ui-light .manga-tabs-content{
    background-color: var(--custom-plum-shadow);
}

body.text-ui-light .review-stats{
    background-color: var(--custom-dewberry-rose);
    color: var(--custom-blush-light);
}

body.text-ui-light .review-avg{
    color: var(--custom-dream-peach);
}

body.text-ui-light .review-form-wrapper .alert-warning, 
body.text-ui-light .review-form-wrapper .alert-info{
    background: var(--custom-dewberry-rose-darker); 
    border-color: transparent;
    border-left: 4px solid var(--custom-dewberry-rose-dark); 
    color: var(--custom-blush-light);
}

body.text-ui-light .reaction-btn{
    background-color: var(--custom-plum-shadow);
    border-color: 2px solid var(--custom-midnight-lavender);
    color: var(--custom-midnight-lavender);
}

body.text-ui-light .reaction-btn:hover{
    background-color: var(--custom-midnight-lavender);
    color: var(--custom-blush-light);
}

body.text-ui-light .reaction-btn.active.like,
body.text-ui-light .reaction-btn.active.dislike{
    background-color: var(--custom-midnight-lavender);
    border-color: var(--custom-midnight-lavender);
    color: var(--custom-blush-light);
}

body.text-ui-light .review-list .review-item {
    border-bottom: 1px solid var(--custom-dream-peach);
    color: var(--custom-blush-light);
}

body.text-ui-light .review-list .review-item .review-date {
    color: var(--custom-blush-light);
}

body.text-ui-light .novel-subscribe-button {
    background-color: var(--custom-plum-shadow  );
    border: 2px solid var(--custom-midnight-lavender);
    color: var(--custom-midnight-lavender);
}

body.text-ui-light .novel-subscribe-button:hover {
    border: 2px solid var(--custom-midnight-lavender-dark);
}

body.text-ui-light .novel-subscribe-button.subscribed {
    background-color: var(--custom-midnight-lavender);
    color: var(--custom-blush-light);
}

body.text-ui-light .novel-subscribe-button.subscribed:hover {
    background-color: var(--custom-midnight-lavender-dark);
}
/* =========================================== */

.manga-row-1 {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-top: 20px;
}

.manga-left-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.manga-left-column .summary_image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.manga-left-column .summary_image img {
    width: 100%;
    height: auto;
    display: block;
}

.action-buttons-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.action-buttons-row > .quick-read,
.action-buttons-row > .bookmark-btn {
    flex: 1;             
    display: flex;        
}

.action-buttons-row .nav-links span,
.action-buttons-row .action_icon
{
    width: 100%;
}

.quick-read #init-links,
.bookmark-btn .add-bookmark {
    flex: 1;
    width: 100%;
    display: flex;
}

.action-buttons-row a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: center;
    border-radius: 25px;
    font-weight: 600;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-read a {
    padding: 10px 35px;
}

.bookmark-btn a {
    padding: 10px 16px !important; 
    border: none;
}

.action-buttons-row a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.3);
}

.manga-right-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.manga-title-wrapper h1.manga-main-title {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #2c2c2c;
    line-height: 1.2;
}

.manga-alt-title {
    font-size: 16px;
    margin-bottom: 16px;
}

.bookmark-btn .action_detail{
    display: none;
}

.manga-status-bar {
    display: table;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    table-layout: fixed;
}

.status-item {
    display: table-cell;
    text-align: center;
    padding: 14px 12px;
    font-size: 14px;
    font-weight: 600;
    vertical-align: middle;
}

.manga-status-badge {
    color: #8b0000;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.chapter-count,
.view-count,
.bookmark-count {
    border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.status-item i {
    font-size: 16px;
    margin-right: 4px;
    vertical-align: middle;
}

.manga-info-table {
    display: grid;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
}

.info-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    font-size: 14px;
    padding: 14px 16px;
}

.info-value {
    font-size: 14px;
    line-height: 1.6;
    padding: 14px 16px;
}

.info-value a {
    text-decoration: underline;
    transition: color 0.3s ease;
}

.info-value a:hover {
    text-decoration: underline;
}

.manga-row-2 {
    margin-top: 40px;
    padding-bottom: 20px;
}

.manga-tabs-wrapper {
    background: transparent;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
}

.manga-tabs-nav {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
    background-color: transparent;
    border-bottom: none;
    border-radius: 0;
    gap: 12px;
}

.tab-nav-item {
    flex: 1;
}

.tab-nav-button {
    width: 100%;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    white-space: nowrap;
}

.tab-nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 165, 165, 0.2);
}

.tab-nav-button.active {
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.3);
}

.tab-nav-button.active::after {
    display: none;
}

.manga-tabs-content {
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-content-panel {
    display: none;
}

.tab-content-panel.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.synopsis-content {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

.synopsis-content.expanded {
    max-height: none;
}

.synopsis-content p {
    margin-bottom: 16px;
}

.read-more-wrapper {
    margin-top: 20px;
    text-align: center;
}

.read-more-btn {
    padding: 10px 32px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    aspect-ratio: 1 / 1;
}

.gallery-fullscreen-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.gallery-fullscreen-modal.active {
    display: flex;
}

.gallery-fullscreen-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.gallery-fullscreen-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}

.gallery-fullscreen-close:hover {
    color: #d4a5a5;
}

.reviews-content {
    font-size: 15px;
    line-height: 1.8;
}

.chapters-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chapter-action-buttons {
    display: flex;
    gap: 16px;
}

.chapter-btn {
    flex: 1;
    padding: 16px 24px;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.chapter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.first-chapter-btn.active {
    background-color: #c9a5d4;
    color: #fff;
}

.first-chapter-btn.active:hover {
    background-color: #b890c4;
    box-shadow: 0 4px 12px rgba(201, 165, 212, 0.3);
}

.latest-chapter-btn.active {
    background-color: #b8a5c9;
    color: #fff;
}

.latest-chapter-btn.active:hover {
    background-color: #a890b8;
    box-shadow: 0 4px 12px rgba(184, 165, 201, 0.3);
}

.chapter-table-header {
    display: grid;
    grid-template-columns: 150px 1fr 120px;
    gap: 16px;
    padding: 14px 20px;
    border-radius: 8px 8px 0 0;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.chapter-table-body {
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.chapter-row {
    display: grid;
    grid-template-columns: 150px 1fr 120px;
    gap: 16px;
    padding: 16px 20px;
    transition: background-color 0.2s ease;
}

.chapter-row.reading {
    background-color: #ffe8f0 !important;
}

.chapter-row.unread {
    font-weight: 600;
}

.row-col {
    display: flex;
    align-items: center;
}

.col-vol {
    font-weight: 600;
    font-size: 14px;
}

.col-name {
    font-size: 14px;
}

.col-name a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.col-name a:hover {
    color: #d4a5a5;
    text-decoration: underline;
}

.col-date {
    font-size: 13px;
    justify-content: flex-end;
    text-align: right;
}

.no-chapters-message {
    padding: 40px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

.c-chapter-readmore {
    margin-top: 20px;
    text-align: center;
}

.chapter-readmore {
    display: inline-block;
    padding: 10px 32px;
    background-color: #d4a5a5;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.chapter-readmore:hover {
    background-color: #c99090;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 165, 0.3);
}

.custom-review-section { 
    margin-top: 20px; 
}

.review-stats { 
    padding: 15px; 
    border-radius: 5px; 
    margin-bottom: 20px; 
}

.review-avg { 
    font-size: 24px; 
    font-weight: bold; 
    margin-right: 10px; 
}

.review-list .review-item { 
    padding: 20px 0; 
}

.review-header { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 10px; 
    align-items: flex-start; 
}

.review-author-info { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
}

.review-author { 
    font-weight: bold; 
    margin-bottom: 3px; 
}

.review-rating-star { 
    color: #ff9800; 
    font-size: 14px; 
}

.review-date { 
    font-size: 12px; 
    color: #999; 
}

.review-reactions { 
    display: flex; 
    gap: 15px; 
    margin-top: 10px; 
}

.reaction-btn { 
    border: 1px solid #ddd; 
    background: #fff; 
    padding: 5px 12px; 
    border-radius: 4px; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    transition: all 0.2s; 
}

.reaction-btn:hover { 
    background: #f5f5f5; 
}
.reaction-btn.active { 
    background: #e3f2fd; 
    border-color: #2196f3; 
}

.reaction-btn.active.like { 
    background: #e8f5e9; 
    border-color: #4caf50; 
}

.reaction-btn.active.dislike { 
    background: #ffebee; 
    border-color: #f44336; 
}

.reaction-btn:disabled { 
    opacity: 0.5; 
    cursor: not-allowed; 
}

.review-form-box { 
    background: #fafafa; 
    padding: 20px; 
    border: 1px solid #eee; 
    border-radius: 5px; 
    margin-bottom: 25px; 
}

.review-form-box textarea { 
    width: 100%; 
    height: 100px; 
    margin-bottom: 10px; 
    padding: 10px; 
    border: 1px solid #ddd; 
    border-radius: 4px; 
}

.review-form-box select { 
    margin-bottom: 10px;
    padding: 8px; 
    border: 1px solid #ddd; 
    border-radius: 4px; 
}

.alert-info { 
    padding: 15px; 
    background: #e1f5fe; 
    border-left: 4px solid #039be5; 
    border-radius: 4px; 
}

.alert-warning { 
    padding: 15px; 
    border-radius: 4px; 
    margin-bottom: 20px; 
}

.review-feedback { 
    margin-bottom: 15px; 
    padding: 12px; 
    border-radius: 4px; 
}

.review-feedback.success { 
    background-color: #e8f5e9; 
    color: #2e7d32; 
    border-left: 4px solid #4caf50; 
}

.review-feedback.error { 
    background-color: #ffebee; 
    color: #c62828; 
    border-left: 4px solid #f44336; 
}

.pagination { 
    display: flex; 
    justify-content: center; 
    gap: 5px; 
    margin-top: 30px; 
    flex-wrap: wrap; 
}

.pagination a, 
.pagination span { 
    padding: 8px 12px; 
    border: 1px solid #ddd; 
    background: #fff; 
    border-radius: 4px; 
    text-decoration: none; 
    color: #333; 
}

.pagination span.current { 
    background: #2196f3; 
    color: #fff; 
    border-color: #2196f3; 
}

.pagination a:hover { 
    background: #f5f5f5; 
}

@media (max-width: 1024px) {
    .manga-row-1 {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }
    
    .manga-title-wrapper h1.manga-main-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .manga-row-1 {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .manga-left-column {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .manga-title-wrapper h1.manga-main-title {
        font-size: 24px;
        text-align: center;
    }
    
    .manga-alt-title {
        text-align: center;
    }
    
    .manga-status-bar {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    
    .status-item {
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    }
    
    .status-item:nth-child(even) {
        border-left: 1px solid rgba(255, 255, 255, 0.4);
    }
    
    .status-item:nth-last-child(-n+2) {
        border-bottom: none;
    }
    
    .info-row {
        grid-template-columns: 1fr;
    }
    
    .info-label {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .manga-tabs-nav {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
    }
    
    .tab-nav-item {
        flex: 0 1 auto;
    }
    
    .tab-nav-button {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .manga-tabs-content {
        padding: 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .chapter-action-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .chapter-table-header {
        grid-template-columns: 100px 1fr;
        padding: 12px 16px;
    }
    
    .chapter-table-header .col-date {
        display: none;
    }
    
    .chapter-row {
        grid-template-columns: 100px 1fr;
        padding: 14px 16px;
    }
    
    .chapter-row .col-date {
        display: none;
    }
}

@media (max-width: 480px) {
    .manga-tabs-content {
        padding: 16px;
    }
    
    .tab-nav-button {
        padding: 12px 16px;
        font-size: 12px;
    }
    
    .synopsis-content {
        font-size: 14px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .gallery-item img {
        height: 120px;
    }
}

.novel-subscribe-section {
    margin: 20px 0;
    border-radius: 8px;
}

.novel-subscribe-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.novel-subscribe-button:hover {
    box-shadow: 0 4px 8px rgba(212, 165, 165, 0.2);
}

.novel-subscribe-button:active {
    transform: translateY(0);
}

.novel-subscribe-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.novel-subscribe-button i {
    font-size: 16px;
}

.subscribe-description {
    margin: 10px 0 0 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
    .novel-subscribe-section {
        padding: 15px;
        margin: 15px 0;
    }
    
    .novel-subscribe-button {
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .subscribe-description {
        font-size: 12px;
    }
}

/* signin, singup, reset modal styles */
/* =============== LIGHT MODE STYLES =============== */
body.text-ui-dark .modal .modal-content .modal-body .login label,
body.text-ui-dark .modal .modal-content .modal-body .login .modal-title{
    color: var(--custom-warm-charcoal) !important;
}

body.text-ui-dark .modal .modal-content .modal-body .login .to-reset,
body.text-ui-dark .modal .modal-content .modal-body .login .to-login{
    text-decoration: underline !important;
    color: var(--custom-warm-charcoal) !important;
}

body.text-ui-dark .modal .modal-content .modal-body .login .backtoblog a{
    color: var(--custom-rosewood-mist) !important;
}

body.text-ui-dark .modal .modal-content .modal-body .login .to-reset:hover,
body.text-ui-dark .modal .modal-content .modal-body .login .to-login:hover,
body.text-ui-dark .modal .modal-content .modal-body .login .backtoblog a:hover{
    color: var(--custom-rosewood-mist-dark) !important;
}

body.text-ui-dark .wp-manga-section .modal-content{
    background-color: var(--custom-pure-white);
}

body.text-ui-dark .wp-manga-section .login input[type="submit"]{
    background-color: var(--custom-rosewood-mist) !important;
    color: var(--custom-light-pink) !important;
}

body.text-ui-dark .wp-manga-section .login input[type="submit"]:hover{
    background-color: var(--custom-rosewood-mist-dark) !important;
}

body.text-ui-dark .wp-manga-section .login input[type="text"],
body.text-ui-dark .wp-manga-section .login input[type="email"],
body.text-ui-dark .wp-manga-section .login input[type="password"]{
    border: 1px solid #d1d5db !important;
    background: var(--custom-pure-white) !important;
    color: var(--custom-warm-charcoal);
}

body.text-ui-dark .wp-manga-section .login input[type="text"]:focus,
body.text-ui-dark .wp-manga-section .login input[type="email"]:focus,
body.text-ui-dark .wp-manga-section .login input[type="password"]:focus{
    border-color: transparent !important;
}
/* =============== DARK MODE STYLES =============== */
body.text-ui-light .modal .modal-content .modal-body .login label,
body.text-ui-light .modal .modal-content .modal-body .login .modal-title{
    color: var(--custom-blush-light) !important;
}

body.text-ui-light .modal .modal-content .modal-body .login .to-reset,
body.text-ui-light .modal .modal-content .modal-body .login .to-login{
    text-decoration: underline !important;
    color: var(--custom-blush-light) !important;
}

body.text-ui-light .modal .modal-content .modal-body .login .backtoblog a{
    color: var(--custom-midnight-lavender) !important;
}

body.text-ui-light .modal .modal-content .modal-body .login .to-reset:hover,
body.text-ui-light .modal .modal-content .modal-body .login .to-login:hover,
body.text-ui-light .modal .modal-content .modal-body .login .backtoblog a:hover{
    color: var(--custom-midnight-lavender-dark) !important;
}

body.text-ui-light .wp-manga-section .modal-content{
    background-color: var(--custom-plum-shadow);
}

body.text-ui-light .wp-manga-section .login input[type="submit"]{
    background-color: var(--custom-midnight-lavender) !important;
    color: var(--custom-blush-light) !important;
}

body.text-ui-light .wp-manga-section .login input[type="submit"]:hover{
    background-color: var(--custom-midnight-lavender-dark) !important;
}

body.text-ui-light .wp-manga-section .login input[type="text"],
body.text-ui-light .wp-manga-section .login input[type="email"],
body.text-ui-light .wp-manga-section .login input[type="password"]{
    border: 1px solid #cccccc !important;
    background: rgba(235, 235, 235, 0.2) !important;
    color: var(--custom-blush-light);
}

body.text-ui-light .wp-manga-section .login input[type="text"]:focus,
body.text-ui-light .wp-manga-section .login input[type="email"]:focus,
body.text-ui-light .wp-manga-section .login input[type="password"]:focus{
    border-color: var(--custom-blush-light) !important;
}
/* ================= */
.modal-backdrop {
    background-color: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
}

.wp-manga-section .modal-dialog {
    max-width: 450px;
    margin: 50px auto;
}

.wp-manga-section .modal-content {
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden;
}

.wp-manga-section .modal-header {
    border-bottom: none !important;
    padding: 15px 20px 0;
    position: relative;
}

.wp-manga-section .modal-header .close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 24px;
    font-weight: 300;
    color: #999;
    opacity: 0.7;
    transition: opacity 0.3s;
    background: transparent;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 1;
}

.wp-manga-section .modal-header .close:hover {
    opacity: 1;
    color: #333;
}

.wp-manga-section .modal-body {
    padding: 20px 40px 40px;
}

.wp-manga-section .modal-footer {
    display: none;
}

.modal-logo {
    text-align: center;
    margin-bottom: 20px;
}

.modal-logo img {
    max-width: 150px;
    max-height: 60px;
    height: auto;
    width: auto;
}

.wp-manga-section .login h3 {
    text-align: center;
    margin: 0 0 25px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.wp-manga-section .login h3 a {
    text-decoration: none;
    color: #333;
    pointer-events: none;
}

.wp-manga-section .login .message {
    text-align: center;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px !important;
    font-size: 14px;
    background: #f5f7fa !important;
    color: #666 !important;
    border: 1px solid #e5e7eb !important;
    display: none;
}

.wp-manga-section .login .message:not(:empty) {
    display: block;
}

.wp-manga-section .login form p {
    margin-bottom: 16px;
}

.wp-manga-section .login label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 14px;
}

.wp-manga-section .login input[type="text"],
.wp-manga-section .login input[type="email"],
.wp-manga-section .login input[type="password"] {
    width: 100% !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    transition: all 0.2s !important;
    box-sizing: border-box !important;
}

.wp-manga-section .login input[type="text"]:focus,
.wp-manga-section .login input[type="email"]:focus,
.wp-manga-section .login input[type="password"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1) !important;
}

.wp-manga-section .login input[type="text"]::placeholder,
.wp-manga-section .login input[type="email"]::placeholder,
.wp-manga-section .login input[type="password"]::placeholder {
    color: #9ca3af;
}

.wp-manga-section .login .forgetmenot {
    margin: 12px 0;
}

.wp-manga-section .login .forgetmenot label {
    display: flex;
    align-items: center;
    font-weight: normal;
    cursor: pointer;
    font-size: 14px;
    color: #6b7280;
}

.wp-manga-section .login .forgetmenot input[type="checkbox"] {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.wp-manga-section .login .submit {
    margin-top: 20px;
}

body.modal-open .modal .modal-content .modal-body .login #loginform .submit,
body.modal-open .modal .modal-content .modal-body .login .submit{
    width: 100%;
}

body.modal-open .modal .modal-content .modal-body .login #loginform .forgetmenot{
    float: left;
}

.wp-manga-section .login input[type="submit"] {
    width: 100% !important;
    padding: 12px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    letter-spacing: 0.3px;
}

.wp-manga-section .login input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3) !important;
}

.wp-manga-section .login input[type="submit"]:active {
    transform: translateY(0);
}

.wp-manga-section .login .nav {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.wp-manga-section .login .nav a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.wp-manga-section .login .nav a:hover {
    color: #4f46e5;
    text-decoration: underline;
}

.wp-manga-section .login .backtoblog {
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
}

.wp-manga-section .login .backtoblog a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.2s;
}

.wp-manga-section .login .backtoblog a:hover {
    color: #6366f1;
}

body.modal-open .modal .modal-content .modal-body .login:not(.message) {
    padding: 0 !important;
}

body.modal-open .modal .modal-dialog{
    background-color: transparent;
}

@media (max-width: 576px) {
    .wp-manga-section .modal-dialog {
        margin: 20px;
    }
    
    .wp-manga-section .modal-body {
        padding: 20px 25px 30px;
    }
    
    .wp-manga-section .login h3 {
        font-size: 22px;
    }
}

/* =============== ABOUT PAGE STYLES =============== */

.about-custom {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.about-hero {
    text-align: center;
    margin-bottom: 60px;
}

.about-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

body.text-ui-dark .about-hero h1 {
    color: var(--custom-warm-charcoal);
}

body.text-ui-light .about-hero h1 {
    color: var(--custom-blush-light);
}

.about-hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}

body.text-ui-dark .about-hero-subtitle {
    color: var(--custom-warm-charcoal);
    opacity: 0.85;
}

body.text-ui-light .about-hero-subtitle {
    color: var(--custom-blush-light);
    opacity: 0.85;
}

.mascot-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 60px 0;
    padding: 40px;
    border-radius: 16px;
}

body.text-ui-dark .mascot-section {
    background: var(--custom-light-pink-light);
}

body.text-ui-light .mascot-section {
    background: var(--custom-dewberry-rose-darker);
}

.mascot-image {
    flex-shrink: 0;
}

.mascot-image img {
    width: 200px;
    height: auto;
    border-radius: 12px;
}

.mascot-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

body.text-ui-dark .mascot-content h2 {
    color: var(--custom-warm-charcoal);
}

body.text-ui-light .mascot-content h2 {
    color: var(--custom-blush-light);
}

.mascot-content p {
    line-height: 1.7;
    margin-bottom: 15px;
}

body.text-ui-dark .mascot-content p {
    color: var(--custom-warm-charcoal);
}

body.text-ui-light .mascot-content p {
    color: var(--custom-blush-light);
}

.about-section {
    margin: 50px 0;
}

.about-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

body.text-ui-dark .about-section h2 {
    color: var(--custom-rosewood-mist);
}

body.text-ui-light .about-section h2 {
    color: var(--custom-dewberry-rose);
}

.about-section p {
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

body.text-ui-dark .about-section p {
    color: var(--custom-warm-charcoal);
}

body.text-ui-light .about-section p {
    color: var(--custom-blush-light);
}

.highlight-box {
    padding: 25px 30px;
    border-radius: 12px;
    margin: 30px 0;
    border-left: 4px solid;
}

body.text-ui-dark .highlight-box {
    background: var(--custom-light-pink);
    border-left-color: var(--custom-rosewood-mist);
}

body.text-ui-light .highlight-box {
    background: var(--custom-dewberry-rose-darker);
    border-left-color: var(--custom-dewberry-rose);
}

.highlight-box p {
    margin-bottom: 10px;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.section-divider {
    height: 2px;
    margin: 50px 0;
    border-radius: 2px;
}

body.text-ui-dark .section-divider {
    background: var(--custom-soft-peach);
}

body.text-ui-light .section-divider {
    background: var(--custom-dewberry-rose);
}

.copyright-section {
    padding: 30px;
    border-radius: 12px;
    margin: 40px 0;
}

body.text-ui-dark .copyright-section {
    background: var(--custom-light-pink-light);
    border: 1px solid var(--custom-light-pink-dark);
}

body.text-ui-light .copyright-section {
    background: var(--custom-dewberry-rose-darker);
    border: 1px solid var(--custom-dewberry-rose-dark);
}

.copyright-section h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

body.text-ui-dark .copyright-section h3 {
    color: var(--custom-rosewood-mist);
}

body.text-ui-light .copyright-section h3 {
    color: var(--custom-dewberry-rose);
}

.copyright-section p {
    font-size: 0.95rem;
    line-height: 1.7;
}

.support-section {
    text-align: center;
    padding: 50px 30px;
    border-radius: 16px;
    margin: 50px 0;
}

body.text-ui-dark .support-section {
    background: var(--custom-light-pink-light);
}

body.text-ui-light .support-section {
    background: var(--custom-dewberry-rose-darker);
}

.support-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

body.text-ui-dark .support-section h2 {
    color: var(--custom-warm-charcoal);
}

body.text-ui-light .support-section h2 {
    color: var(--custom-blush-light);
}

.support-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

body.text-ui-dark .support-section p {
    color: var(--custom-warm-charcoal);
}

body.text-ui-light .support-section p {
    color: var(--custom-blush-light);
}

.kofi-support {
    display: inline-block;
    text-align: center;
}

.kofi-text {
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 500;
}

body.text-ui-dark .kofi-text {
    color: var(--custom-warm-charcoal);
}

body.text-ui-light .kofi-text {
    color: var(--custom-blush-light);
}

.kofi-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

body.text-ui-dark .kofi-btn {
    background: var(--custom-rosewood-mist);
}

body.text-ui-light .kofi-btn {
    background: var(--custom-dewberry-rose);
}

.kofi-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kofi-btn img {
    display: block;
}

@media (max-width: 768px) {
    .about-custom {
        padding: 30px 15px;
    }

    .about-hero h1 {
        font-size: 2rem;
    }

    .mascot-section {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .mascot-image img {
        width: 150px;
    }

    .about-section h2 {
        font-size: 1.5rem;
    }

    .support-section {
        padding: 40px 20px;
    }

    .support-section h2 {
        font-size: 1.6rem;
    }
}

/* =============== NEED HELP PAGE STYLES =============== */

/* =============== LIGHT MODE STYLES =============== */
body.text-ui-dark .need-help-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

body.text-ui-dark .need-help-header {
    text-align: center;
    margin-bottom: 30px;
}

body.text-ui-dark .need-help-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--custom-warm-charcoal);
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

body.text-ui-dark .need-help-intro {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--custom-warm-charcoal);
    margin: 0;
}

body.text-ui-dark .form-instructions {
    font-size: 1em;
    font-weight: 600;
    color: var(--custom-rosewood-mist);
    margin: 25px 0 30px 0;
    text-align: center;
}

body.text-ui-dark .everest-form label {
    color: var(--custom-warm-charcoal);
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 8px;
    display: block;
}

body.text-ui-dark .everest-form .input-text,
body.text-ui-dark .everest-form select,
body.text-ui-dark .everest-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db !important;
    border-radius: 8px;
    font-size: 1em;
    color: var(--custom-warm-charcoal);
    background: var(--custom-pure-white) !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

body.text-ui-dark .everest-form .input-text:focus,
body.text-ui-dark .everest-form select:focus,
body.text-ui-dark .everest-form textarea:focus {
    outline: none;
    border-color: transparent !important;
    background: var(--custom-pure-white) !important;
}

body.text-ui-dark .everest-form textarea {
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
}

body.text-ui-dark .everest-forms-uploader {
    border: 1px solid #d1d5db !important;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: var(--custom-pure-white) !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

body.text-ui-dark .everest-forms-uploader:hover {
    border-color: transparent !important;
    background: var(--custom-pure-white) !important;
}

body.text-ui-dark .everest-forms-upload-title {
    color: var(--custom-warm-charcoal);
    font-weight: 600;
    display: block;
    margin-top: 10px;
}

body.text-ui-dark .everest-forms-upload-hint {
    color: var(--custom-rosewood-mist);
    font-size: 0.9em;
    display: block;
    margin-top: 5px;
}

body.text-ui-dark .everest-custom-btn {
    width: 100% !important;
    padding: 16px 32px !important;
    background: var(--custom-rosewood-mist) !important;
    color: var(--custom-light-pink) !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 1.1em !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 20px !important;
}

body.text-ui-dark .everest-custom-btn:hover {
    background: var(--custom-rosewood-mist-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(198, 117, 134, 0.4) !important;
}

body.text-ui-dark .evf-field {
    margin-bottom: 25px;
}

body.text-ui-dark .required {
    color: var(--custom-rosewood-mist);
    text-decoration: none;
}

/* =============== DARK MODE STYLES =============== */
body.text-ui-light .need-help-wrapper {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

body.text-ui-light .need-help-header {
    text-align: center;
    margin-bottom: 30px;
}

body.text-ui-light .need-help-title {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--custom-blush-light);
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

body.text-ui-light .need-help-intro {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--custom-blush-light);
    margin: 0;
}

body.text-ui-light .form-instructions {
    font-size: 1em;
    font-weight: 600;
    color: var(--custom-dream-peach);
    margin: 25px 0 30px 0;
    text-align: center;
}

body.text-ui-light .everest-form label {
    color: var(--custom-blush-light);
    font-weight: 600;
    font-size: 0.95em;
    margin-bottom: 8px;
    display: block;
}

body.text-ui-light .everest-form .input-text,
body.text-ui-light .everest-form select,
body.text-ui-light .everest-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #cccccc !important;
    border-radius: 8px;
    font-size: 1em;
    color: var(--custom-blush-light);
    background: rgba(235, 235, 235, 0.2) !important;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

body.text-ui-light .everest-form .input-text:focus,
body.text-ui-light .everest-form select:focus,
body.text-ui-light .everest-form textarea:focus {
    outline: none;
    border-color: var(--custom-blush-light) !important;
    background: rgba(235, 235, 235, 0.2) !important;
}

body.text-ui-light .everest-form textarea {
    min-height: 150px;
    resize: vertical;
    font-family: inherit;
}

body.text-ui-light .everest-forms-uploader {
    border: 1px solid #cccccc !important;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: rgba(235, 235, 235, 0.2) !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

body.text-ui-light .everest-forms-uploader:hover {
    border-color: var(--custom-blush-light) !important;
    background: rgba(235, 235, 235, 0.2) !important;
}

body.text-ui-light .everest-forms-uploader svg {
    fill: var(--custom-blush-light);
}

body.text-ui-light .everest-forms-upload-title {
    color: var(--custom-blush-light);
    font-weight: 600;
    display: block;
    margin-top: 10px;
}

body.text-ui-light .everest-forms-upload-hint {
    color: var(--custom-dream-peach);
    font-size: 0.9em;
    display: block;
    margin-top: 5px;
}

body.text-ui-light .everest-custom-btn {
    width: 100% !important;
    padding: 16px 32px !important;
    background: var(--custom-midnight-lavender) !important;
    color: var(--custom-blush-light) !important;
    border: none !important;
    border-radius: 50px !important;
    font-size: 1.1em !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 20px !important;
}

body.text-ui-light .everest-custom-btn:hover {
    background: var(--custom-midnight-lavender-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(140, 95, 163, 0.4) !important;
}

body.text-ui-light .evf-field {
    margin-bottom: 25px;
}

body.text-ui-light .required {
    color: var(--custom-dream-peach);
    text-decoration: none;
}

body.text-ui-dark .everest-forms-notice--success {
    background: var(--custom-light-pink-light) !important;
    border: 2px solid var(--custom-rosewood-mist) !important;
    border-radius: 8px !important;
    padding: 20px !important;
    color: var(--custom-warm-charcoal) !important;
    font-size: 1.1em !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin-top: 20px !important;
    line-height: 1.6 !important;
    box-shadow: none !important;
}

body.text-ui-light .everest-forms-notice--success {
    background: var(--custom-dewberry-rose-darker) !important;
    border: 2px solid var(--custom-midnight-lavender) !important;
    border-radius: 8px !important;
    padding: 20px !important;
    color: var(--custom-blush-light) !important;
    font-size: 1.1em !important;
    font-weight: 600 !important;
    text-align: center !important;
    margin-top: 20px !important;
    line-height: 1.6 !important;
    box-shadow: none !important;
}

@media (max-width: 768px) {
    body.text-ui-dark .need-help-title,
    body.text-ui-light .need-help-title {
        font-size: 2em;
    }

    body.text-ui-dark .need-help-wrapper,
    body.text-ui-light .need-help-wrapper {
        padding: 30px 15px;
    }
}