.title-genres-detail {
    text-align: center;
    margin: 0px auto 8px auto;
    padding: 0px 10px;
}

/* carousel dots  */
.owl-carousel .owl-dots {
    display: flex;
    justify-content: center;
    align-items: center;
}
.owl-carousel .owl-dots button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    font-size: 24px;
}
.owl-carousel .owl-dots button.owl-dot.active span {
    background-color: #38B3E8;
    width: 16px;
    height: 16px;
}
.owl-carousel .owl-dots button span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #1F1F1F4D;
    display: inline-block;
}

.owl-carousel .owl-dots {
    margin-top: 16px;
}

.tab-content-wrap #list-comics-by-rows {
    display: none;
}

.tab-content-wrap #list-comics-by-rows.active {
    display: block;
}

.tab-content-wrap #list-comics-by-columns {
    display: none;
}

.tab-content-wrap #list-comics-by-columns.active {
    display: block;
}

.c-blog__heading.style-2 {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #c3c3c3;
    flex-wrap: wrap;
}

@media (max-width: 1025px) {
    .title-genres-detail {
        max-width: 70% !important;
        /* line-height: 40px!important; */
    }

    .site-content .top-day-container .container {
        max-width: max-content !important;
    }
}

.trending-comic img,
.related-manga img {
    height: auto !important
}

.related-manga {
    margin-bottom: 15px;
}

.c-image-hover {
    border-radius: 12px;
}

.summary_image {
    display: flex;
    min-width: 300px;
}

.summary_image img {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.wrap_image_hover {
    /* height: auto !important; */
}

.comic-thumbnail {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
    /* padding-top: 133.33%; */
}

.header-menu-mobile,
.main-menu__mobile {
    display: none !important;
}

.comics-desktop {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.comics-mobile {
    display: none;
}

.top-day-content {
    padding: 12px 0;
    max-width: calc(100% - 10px - 103px) !important;
}

.top-day-content .widget-title {
    text-align: left;
}

.tags {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    text-align: left;
}

.tags span a {
    padding: 4px 8px;
    color: var(--color-primary, #f8bc01);
    font-size: 13px;
    font-weight: 600;
    line-height: 3em;
    border-radius: 12px;
    background: #f7f7f7;
    margin-right: 10px;
}

.chapter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.badge-pos-1 .item-summary.item-comic .chapter-item {
    margin-top: 8px;
}

.img-top-day {
    height: auto !important;
}

.badge-pos-1:nth-child(odd),
.badge-pos-1:nth-child(even) {
    padding-left: 8px !important;
    padding-right: 8px !important;
}

body.page .c-page-content .c-page .c-page__content .page-content-listing .page-listing-item .page-item-detail {
    margin: 0 !important;
}

.top-day-container-comics {
    display: block !important;
}

.comic-item {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 16px !important;
    /* padding: 6px 0px !important;
    gap: 0px !important; */
    gap: 16px !important;
}

.top-item-wrap {
    gap: 10px !important;
}

.c-blog__heading.style-2 .released-search {
    display: flex;
    align-items: center;
}

.c-genres-block.archive-page {
    background-color: transparent !important;
}

.c-genres-block.archive-page .genres_wrap > div {
    margin: 0;
}

.c-genres-block.archive-page .genres__collapse {
    background-color: white;
    padding-top: 24px;
}

body.page .c-page-content .c-page .c-page__content .page-content-listing .page-listing-item .page-item-detail .item-thumb {
    margin-right: 16px !important;
}

#list-comics-by-rows .page-item-detail.manga {
    display: flex;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    padding: 26px;
}

#list-comics-by-rows .page-item-detail.manga .item-thumb {
    margin-right: 16px;
    width: 140px;
}

#list-comics-by-rows .list-chapter .chapter {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#list-comics-by-rows .page-item-detail.manga .item-summary {
    display: flex;
    flex-direction: column;
    padding: 8px 0;
    flex: 1;
    justify-content: space-between;
    overflow: hidden;
}

#list-comics-by-rows .list-chapter .chapter a,
#list-comics-by-rows .list-chapter .chapter span {
    font-size: 12px;
    color: #A3A3A3;
    cursor: pointer;
}

.c-blog__heading.style-2 {
    margin-bottom: 12px !important;
}

img.img-responsive.effect-fade {
    width: max-content !important;
}

.related-heading, .widget-heading {
    margin-bottom: 12px !important;
}

.container-image-related {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 8px;
    padding-right: 8px;
    margin: 0 !important;
}

.chapter-item-dropdown {
    text-align: center;
    font-family: Poppins;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 4px 8px;
    border-radius: 4px;
    display: flex;
    flex: 1;
    width: 100%;
    background: transparent;
}

.chapter-item-dropdown:hover {
    color: var(--color-neutral-1000, #000) !important;
}

body.search .c-search-header__wrapper {
    margin-bottom: 0 !important;
}

.popular-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tab-wrap .c-blog__heading {
    display: flex;
    align-items: center;
}

.widget-manga-popular-slider .owl-carousel .slider-item {
    text-align: left !important;       
}

.wrap_image_hover img {
    aspect-ratio: 75 / 106
}

.post-title.font-title {
    margin-top: 0 !important;
}

.footer-keywords, .list-history.mobile, .list-bookmark.mobile {
    display: none;
}

@media screen and (max-width: 575px) {
    
    /* hide elm here */
    .comics-desktop, .body-wrap > .container {
        display: none;
    }

    /* lock elm */
    .comics-mobile, .footer-keywords {
        display: block;
    }

    .site-head {
        padding-top: 20px
    }

    .manga-widget {
        padding-right: 0 !important;
    }

    .widget-manga-popular-slider .owl-carousel .slider-item,
    .container.wrap>div {
        padding: 0 !important;
    }

    .badge-pos-1 {
        padding: 6px !important;
    }

    .c-genres-block.archive-page {
        background: none !important;
    }

    .c-blog__heading.style-3 {
        margin-bottom: 0 !important;
    }

    .top-day-heading {
        width: 70%;
    }

    .back-button {
        display: inline-block;
    }

    .site-genres {
        height: auto !important;
        padding-bottom: 30px;
    }

    .site-genres .title-genres-detail {
        font-size: 13px;
    }

    #manga-popular-slider-7 .slider-items {
        padding-left: 15px;
    }

    .comic-item {
        padding: 6px 0 !important;
        gap: 0 !important;
        box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    }

    .widget-manga-popular-slider .slider-items .slider-item {
        text-align: left;
        justify-content: left;
        padding: 0
    }

    .widget-manga-popular-slider .slider-items .slider-item .wrap_image_hover {
        border-radius: 16px;
        max-height: 245px;
        max-width: 172px;
        border-radius: 16px;
    }

    .widget-manga-popular-slider .slider-items .slider-item .list-chapter,
    .widget-manga-popular-slider .slider-items .slider-item .widget-title {
        max-width: 172px;
    }

    /* Menu mobile */
    .main-menu__mobile.active {
        visibility: visible;
        opacity: 1;
        width: 85%;
        background: white;
    }

    .main-menu__mobile.active h2,
    .main-menu__mobile.active h4,
    .main-menu__mobile.active h6,
    .main-menu__mobile.active p {
        color: black;
    }

    .badge-pos-1:nth-child(odd),
    .badge-pos-1:nth-child(even) {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .main-menu__mobile {
        height: 100%;
        width: 25%;
        z-index: 999;
        position: fixed;
        background-color: #fffffff2;
        left: 0;
        top: 0;
        display: flex !important;
        align-items: start;
        padding: 24px;
        border-right: 1px solid #ebebeb;
        justify-content: start;
        gap: 30px;
        flex-direction: column;
        visibility: hidden;
        transition: .3s ease-in-out;
        opacity: 0;
    }

    .main-menu__mobile-content {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 100%;
        flex: 1;
    }

    .menu-item {
        padding: 24px 0;
        border-bottom: 1px solid #C8C8C8;
        list-style: none;
        width: 100%;
    }

    .main-navbar__mobile {
        display: flex;
        flex-direction: column;
        align-items: start;
        gap: 0 !important;
        width: 100%;
    }

    .c-header__logo {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }

    button.btn-icon {
        background-color: transparent;
        border: none;
    }

    .buttons {
        display: flex;
        gap: 12px;
        margin-bottom: 16px;
        justify-content: center;
    }

    .buttons .auth-area {
        margin-left: 0 !important;
    }

    .buttons .sign-in,
    .buttons .sign-up {
        display: flex;
        flex: 1;
        border: 1px solid #ebebeb;
        padding: 12px 16px;
        border-radius: 11px;
        justify-content: center;
    }

    .main-navigation_wrap.sub__menu,
    .c-header__first {
        display: none;
    }

    .main-navigation {
        background: #272727 !important;
    }

    .site-header {
        background-color: #272727;
    }

    .header-menu-mobile {
        background-color: #272727;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 16px 0;
    }

    .header-menu-mobile .btn-actions {
        display: flex;
    }

    #search-form-wrap {
        height: 48px;
        visibility: hidden;
        z-index: 999;
        transition: .3s ease-in-out;
        width: 100%;
        position: absolute;
        right: 0;
        display: flex;
        gap: 8px;
        padding: 0 24px;
        align-items: center;
    }

    #search-form-wrap.active {
        visibility: visible;
        opacity: 1;
    }

    #search-form-wrap .back-icon {
        display: flex;
        align-items: center;
        width: 40px;
        height: 40px;
        background: white;
        border-radius: 50%;
        justify-content: center;
        border: none;
    }

    /* search suggest modal  */
    #search-form {
        border-radius: 16px;
        background: white;
        display: flex;
        border: 1px solid #F8BC01;
        padding: 2px;
        flex: 1;
    }


    #search-form form {
        display: flex;
        flex: 1;
        justify-content: space-between;
    }

    #search-form button {
        border: none;
        background: none;
        padding: 0 16px;
        position: initial;
        display: none;
    }

    #search-form.active button {
        opacity: 1;
    }

    #search-form .search_input {
        display: flex;
        flex: 1;
    }

    .search-modal {
        width: 100%;
        height: 100%;
        position: fixed;
        background-color: #0000008c;
        top: 0;
        left: 0;
        display: none;
        z-index: 999;
    }

    .search-modal.active {
        display: block
    }

    #search-form input {
        border: none;
    }

    #search-form form .list-search-res {
        top: 68px;
        max-height: 56vh;
        overflow: hidden;
        overflow-y: scroll;
        position: fixed;
        border-radius: 16px;
        width: calc(100% - 48px);
        left: 24px;
        min-width: auto;
    }

    .list-search-res .slider-item {
        flex-direction: row;
        padding: 8px 16px;
    }

    .list-search-debounce {
        top: 50px;
        width: 100%;
        padding: 16px;
        height: 50px;
        overflow: hidden;
        z-index: 1001;
        position: absolute;
        background-color: white;
        border-radius: 16px;
    }

    /* logo main  */
    .wrap_branding {
        width: 50% !important;
    }

    .summary_image img {
        width: 220px !important;
        margin: 0 auto;
    }

    .top-day-container-comics .slider-items .owl-item .slider-item.top-item-wrap {
        flex-direction: row;
        padding: 6px 12px;
        gap: 12px;
    }

    .page-listing-item .row-eq-height {
        margin: 0 -6px
    }

    .c-blog__heading.style-2 .c-nav-tabs {
        /* flex: none; */
        order: 2;
    }

    .c-genres-block.archive-page .genres__collapse {
        max-height: 40vh;
        overflow: hidden;
        overflow-y: scroll;
        box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
        border-radius: 6px;
    }

    #list-comics-by-rows.page-content-listing .page-listing-item .page-item-detail {
        padding: 12px;
        gap: 12px;
    }

    #init-links {
        display: flex !important;
        flex: 1;
    }

    .mobile .profile-manga #init-links {
        margin: 0 !important;
    }

    #init-links .c-btn.c-btn_style-1 {
        text-align: center;
        flex: 1;
    }

    .comic-read-detail {
        order: 1;
        display: flex;
        gap: 12px !important;
        flex-wrap: wrap;
    }

    .listing-chapters_wrap ul li {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #ebebeb;
    }

    .listing-chapters_wrap ul li a {
        padding: 12px !important;
        padding-left: 0 !important;
    }
    .action_list_icon {
        margin-left: 0 !important;
        transform: initial !important;
    }

    .site-genres .title-genres {
        font-size: 38px;
    }

    #list-suggest .no-wrap {
        gap: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .container-image-related {
        min-width: calc(33% - 10px);
        max-width: max-content;
        padding-left: 6px;
        padding-right: 6px;
    }

    .action_list_icon {
        display: flex !important;
    }

    /* footer */
    .site__footer .footer-section-2 {
        padding: 24px;
    }

    .site__footer .footer-s2-logo {
        text-align: left !important;
        max-width: 445px;
    }
    
    .site__footer .footer-s2-logo .footer-text-info:nth-child(2) {
        margin-top: 12px;
    }

    .site__footer .footer-menu-item {
        margin: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        gap: 0;
    }

    .site__footer .footer-text-info {
        padding: 0;
    }

    .site__footer .footer-menu-item .footer-menu-item-child:first-child {
        display: block;
        width: 100%;
        margin-top: 16px;
    }

    .site__footer .footer-menu-item-child {
        width: 50%;
        margin-bottom: 24px;
    }

    .site__footer .footer-menu-item-child a {
        font-size: 14px;
    }

    .site__footer .footer-s2-logo img {
        margin-top: 0;
    }

    .footer-keywords {
        width: 100%;
        margin-top: 28px;
        display: block;
    }

    .footer-keywords .footer-menu-item-child:first-child span {
        color: gray !important;
    }

    .footer-menu-item .footer-menu-item-child:last-child {
        margin-bottom: 0;
    }

    .site__footer .footer-copyright {
        padding: 12px 0;
    }

    /* user history list */
    .list-history.mobile, .list-bookmark.mobile {
        display: block
    }
    
    .list-history.mobile img.img-responsive.effect-fade,
    .list-bookmark.mobile img.img-responsive.effect-fade {
        width: 91px !important;
        min-width: 91px !important;
    }

    .list-history.mobile .settings-page .list-chapter, .settings-page .post-on,
    .list-bookmark.mobile .settings-page .list-chapter, .settings-page .post-on {
        margin: 0 !important
    }

    .list-history.mobile .summary a {
        font-weight: 600;
        color: #F8BC01;
        font-size: 13px;
        margin: 0 !important;
    }

    .list-history.mobile #list-comics-by-rows .list-chapter .chapter,
    .list-bookmark.mobile #list-comics-by-rows .list-chapter .chapter {
        gap: 16px;
    }

    .list-history.mobile .selected-all,
    .list-bookmark.mobile .selected-all {
        justify-content: center;
        display: flex;
        align-items: center;
    }

    .list-history.mobile .selected-all .checkbox,
    .list-bookmark.mobile .selected-all .checkbox {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .list-history.mobile .selected-all .checkbox label,
    .list-bookmark.mobile .selected-all .checkbox label {
        margin: 16px 0;
    }
    
    .list-history.mobile #list-comics-by-rows.page-content-listing .page-listing-item .page-item-detail .item-thumb,
    .list-bookmark.mobile #list-comics-by-rows.page-content-listing .page-listing-item .page-item-detail .item-thumb {
        margin: 0
    }

    .list-history.mobile #list-comics-by-rows .page-item-detail.manga .item-thumb,
    .list-bookmark.mobile #list-comics-by-rows .page-item-detail.manga .item-thumb {
        width: auto
    }

    .list-history.mobile .delete-wrap,
    .list-bookmark.mobile .delete-wrap{
        display: flex;
        gap: 8px;
        align-items: center
    }
    .list-history.mobile .delete-wrap a.wp-manga-delete-bookmark,
    .list-history.mobile .delete-wrap a.remove-manga-history,
    .list-bookmark.mobile .delete-wrap a.wp-manga-delete-bookmark,
    .list-bookmark.mobile .delete-wrap a.remove-manga-history {
        background: #FFF1F1;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center
    }

    .list-history.mobile .chapter-summary,
    .list-bookmark.mobile .chapter-summary {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .list-history.mobile .checkbox,
    .list-bookmark.mobile .checkbox {
        display: flex;
        align-items: center
    }

    .list-history.mobile .list-chapter,
    .list-bookmark.mobile .list-chapter {
        display: flex;
        justify-content: flex-end;
    }

    .list-history.mobile .list-chapter .chapter,
    .list-bookmark.mobile .list-chapter .chapter {
        flex: 1
    }
}

.catfish-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.catfish-container .close-button {
    position: absolute;
    top: -24px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    border: none;
    background-color: rgba(50, 50, 50, 0.4);
    color: #ff2b00;
    font-size: 16px;
}

.catfish-container a,
.catfish-container img {
    width: 728px;
    max-width: 100%;
}

