/*
Theme Name: AXIIX - Child Styles
Description: Overrides and additions for AXIIX theme.
Author: hhdev
Version: 1.0.0
*/
img.img-responsive {
    max-width: 100%;
    width: 100%;
    height: auto;
}
.item-thumb {
    position: relative;
    border: 1px solid #e6e6e6;
}
.meta-item.rating.r-8muses {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2px 5px;
    background: rgba(0, 0, 0, 0.65);
}
.meta-item.rating.r-8muses span.score.font-meta.total_votes {
    display: none;
}
body.manga-type-icon .page-listing-item .page-item-detail.manga .item-thumb:before, body.manga-type-icon .page-listing-item .page-item-detail.video .item-thumb:before, body.manga-type-icon .page-listing-item .page-item-detail.text .item-thumb:before, body.manga-type-icon .page-listing-item .page-item-detail.manga .item-thumb:before {
    content: '';
}
body.page .c-page-content .c-page .c-page__content .page-content-listing.item-big_thumbnail .page-listing-item .page-item-detail .item-thumb {
    margin-bottom: 0;
}
.post-title.font-title h3 a {
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    margin-bottom: 15px;
    background: #e6e6e6;
    text-align: center;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 4px 6px;
}
body.manga-page .profile-manga .tab-summary .summary_content_wrap .summary_content .post-content {
    width: 85%;
}
body.manga-page .profile-manga .tab-summary .summary_content_wrap .summary_content .post-status {
    width: 15%;
}  
body.manga-page .profile-manga .tab-summary .summary_content_wrap .summary_content .post-status .manga-action .count-comment, body.manga-page .profile-manga .tab-summary .summary_content_wrap .summary_content .post-status .manga-action .add-bookmark {
    width: 100%;
}
@media (max-width: 992px) {
    body.manga-page .profile-manga .tab-summary .summary_content_wrap .summary_content .post-content {
        width: 100%;
    }
    body.manga-page .profile-manga .tab-summary .summary_content_wrap .summary_content .post-status {
        width: 100%;
    } 
}
body.manga-page .profile-manga .tab-summary .summary_content_wrap .summary_content .post-status {
    margin-top: 0;
}
body.manga-page .profile-manga .tab-summary .summary_content_wrap .summary_content .post-status .manga-action .count-comment, body.manga-page .profile-manga .tab-summary .summary_content_wrap .summary_content .post-status .manga-action .add-bookmark {
    float: left;
}
.c-blog-post {
    float: left;
}
.item-thumb img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.related-manga .item-thumb img {
    height: 350px;
}
.post-tags {
    width: 100%;
}
.c-blog__heading.style-2.heading-related-post, .c-blog__heading.style-2.heading-tags-post, .c-blog__heading.style-2.heading-categories-post, .c-blog__heading.style-2.font-heading {
    margin-bottom: 15px;
}
.post-tags-list, .post-categories-list {
    overflow: hidden;
    margin-bottom: 20px;
}
.post-tags-z, .post-cats-z {
    list-style: none;
    margin: 0;
    padding: 0;
}
.post-tags-z li, .post-cats-z li {
    float: left;
    padding: 5px 15px;
    background-color: #f3f3f3;
    margin: 5px 5px 0 0;
    border-radius: 8px;
}
.genres ul li {
    width: 50%;
    float: left;
    padding: 10px 5px;
    border-bottom: 1px solid #ebebeb;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (min-width: 576px), (min-width: 320px) {
    .item-thumb img {
        height: 175px;
    }
    .related_comic .related-manga .item-thumb img {
        height: 350px;
    }
    .related_comic_reading .related-manga .item-thumb img {
        height: 175px;
    }
}
@media (min-width: 768px) {
    .item-thumb img {
        height: 175px;
    }
    .related_comic .related-manga .item-thumb img {
        height: 175px;
    }
    .related_comic_reading .related-manga .item-thumb img {
        height: 200px;
    }
}
@media (min-width: 992px) {
    .item-thumb img {
        height: 220px;
    }
    .related_comic .related-manga .item-thumb img {
        height: 215px;
    }
    .related_comic_reading .related-manga .item-thumb img {
        height: 270px;
    }
}
@media (min-width: 1200px) {
    .item-thumb img {
        height: 300px;
    }
    .related_comic .related-manga .item-thumb img {
        height: 275px;
    }
    .related_comic_reading .related-manga .item-thumb img {
        height: 350px;
    }
}
body:not(.reading-manga) .site-content {
    margin-top: 1rem;
}
.profile-manga {
    background-image: url(../images/bg-search.jpg);
}
.related-heading > *, .widget-heading > *, .related-heading a, .widget-heading a {
    display: block;
}
.o-h {
    overflow: hidden;
}
.body-top-ads .code-block,
.body-bottom-ads .code-block {
    margin-top: 8px !important;
}
.wp-pagenavi {
    float: none !important;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 2px;
}
.collapse {
    display: none;
}
.collapse.in {
    display: block;
}
.description-summary .summary__content.collapsed {
    max-height: 150px;
    overflow: hidden;
    position: relative;
}
.description-summary .summary__content.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
}
.description-summary .summary__content.expanded {
    max-height: none;
}
.description-summary .content-readmore {
    display: block;
    text-align: center;
    padding: 8px 0;
    cursor: pointer;
}

/* Categories widget - pill style */
.widget.widget_categories ul {
    margin: -5px;
    list-style: none;
    padding: 0;
}
.widget.widget_categories ul:after {
    display: table;
    content: "";
    clear: both;
}
.widget.widget_categories .cat-item {
    display: inline-block;
    margin: 5px;
    float: left;
}
.widget.widget_categories .cat-item a {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 15px;
    background-color: #f3f3f3;
    border-radius: 15px;
    display: inline-block;
    transition: background-color 200ms ease;
}
.widget.widget_categories .cat-item a:hover {
    color: #fff;
    background-color: #eb3349;
}

/* Single post: related / categories sections */
.post-related,
.post-categories,
.post-tags {
    margin-top: 30px;
}
.post-related-list .row {
    margin-top: 10px;
}
.c-blog_item {
    margin-bottom: 20px;
}
.c-blog__thumbnail {
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 8px;
}
.c-blog__thumbnail img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform 200ms ease;
}
.c-blog__thumbnail:hover img {
    transform: scale(1.03);
}
.c-blog__summary .post-title .heading {
    font-size: 14px;
    line-height: 1.3;
    margin: 0;
}
.c-blog__summary .post-title .heading a {
    color: inherit;
}
.c-blog__summary .post-title .heading a:hover {
    color: var(--madara-main-color);
}
.post-categories-list {
    margin-top: 10px;
}