/*!
Theme Name: BXTV
Theme URI: https://bx-tv.com/
Author: bxtv
Author URI: https://bx-tv.com/
Description: BXTV 
Version: 1.0.3
Tested up to: 6.9
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bxtv
Template: blog-postx
Tags: tv



BXTV is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.


*/

/*
MARK: BXTV Archive Style Post Sections
*/

    .bxtv-archive-style-section .bxtv-archive-card-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }

    .bxtv-archive-style-section.no-of-columns--one .bxtv-archive-card-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .bxtv-archive-style-section.no-of-columns--two .bxtv-archive-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bxtv-archive-style-section.no-of-columns--three .bxtv-archive-card-grid,
    .single-related-posts-section-wrap.bxtv-archive-style-section.column--three .bxtv-archive-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bxtv-archive-style-section.no-of-columns--four .bxtv-archive-card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bxtv-archive-style-section .bxtv-archive-style-card {
        overflow: visible;
    }

    .bxtv-archive-style-section .bxtv-archive-style-card .blog-postx-article-inner {
        height: 100%;
        padding: 18px;
        background-color: var(--blog-postx-white-dark-color);
        border: 1px solid var(--card-border-color);
        border-radius: 10px;
        box-shadow: var(--card-box-shadow);
        transition: 0.3s ease;
    }

    .bxtv-archive-style-section .bxtv-archive-style-card .blog-postx-article-inner:hover {
        transform: translateY(-3px);
    }

    .bxtv-archive-style-section .bxtv-archive-style-card figure.post-thumbnail-wrapper {
        display: block;
        position: relative;
        margin: 0 0 16px;
        overflow: hidden;
        aspect-ratio: 16 / 10;
        border-radius: 10px;
        background-color: var(--blog-postx-white-dark-color);
    }

    .bxtv-archive-style-section .bxtv-archive-style-card figure.post-thumbnail-wrapper:after {
        content: none;
    }

    .bxtv-archive-style-section .bxtv-archive-style-card .post-thumnail-inner-wrapper,
    .bxtv-archive-style-section .bxtv-archive-style-card .post-thumbnail {
        display: block;
        position: static;
        width: 100%;
        height: 100%;
        padding-bottom: 0;
    }

    .bxtv-archive-style-section .bxtv-archive-style-card .post-thumbnail img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: 0.3s ease;
    }

    .bxtv-archive-style-section .bxtv-archive-style-card .post-thumbnail:hover img {
        transform: scale(1.04);
    }

    .bxtv-archive-style-section .bxtv-archive-style-card .inner-content,
    .bxtv-archive-style-section .bxtv-archive-style-card .content-wrap,
    .bxtv-archive-style-section .bxtv-archive-style-card .blog-postx-inner-content-wrap-fi {
        position: static;
        padding: 0;
        color: var(--blog-postx-black-dark-color);
        text-align: left;
    }

    .bxtv-archive-style-section .bxtv-archive-style-card .post-categories {
        position: static;
        margin: 0 0 10px;
        padding: 0;
    }

    .bxtv-archive-style-section .bxtv-archive-style-card .entry-title {
        margin: 0 0 12px;
        -webkit-line-clamp: 2;
    }

    .bxtv-archive-style-section .bxtv-archive-style-card .entry-title a {
        color: var(--blog-postx-black-dark-color);
    }

    .bxtv-archive-style-section .bxtv-archive-style-card .post-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .single-related-posts-section-wrap.bxtv-archive-style-section .single-related-posts-wrap article .post-element,
    .single-related-posts-section-wrap.bxtv-archive-style-section .single-related-posts-wrap article:hover .post-element {
        transform: none;
    }

    body.single-post .single-related-posts-section-wrap.bxtv-archive-style-section article .post-meta,
    body.single-post .single-related-posts-section-wrap.bxtv-archive-style-section article:hover .post-meta {
        opacity: 1;
        visibility: visible;
    }

    @media (max-width: 940px) {
        .bxtv-archive-style-section .bxtv-archive-card-grid,
        .bxtv-archive-style-section.no-of-columns--four .bxtv-archive-card-grid,
        .single-related-posts-section-wrap.bxtv-archive-style-section.column--three .bxtv-archive-card-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    @media (max-width: 610px) {
        .bxtv-archive-style-section .bxtv-archive-card-grid,
        .bxtv-archive-style-section.no-of-columns--two .bxtv-archive-card-grid,
        .bxtv-archive-style-section.no-of-columns--three .bxtv-archive-card-grid,
        .bxtv-archive-style-section.no-of-columns--four .bxtv-archive-card-grid,
        .single-related-posts-section-wrap.bxtv-archive-style-section.column--three .bxtv-archive-card-grid {
            grid-template-columns: 1fr;
        }
    }


/* 
MARK: Category Collection
*/

    .blog-postx-category-collection-section.layout--four .category-wrap {
        background: var(--blog-postx-white-dark-color);
        border: 1px solid var(--card-border-color);
        box-shadow: var(--card-box-shadow);
        padding: 10px;
        position: relative;
    }

    .blog-postx-category-collection-section.layout--four .category-wrap:before {
        content: none;
    }

    .blog-postx-category-collection-section.layout--four .category-wrap .category-thumb {
        border-radius: var(--category-collection-radius);
        overflow: hidden;
        position: relative;
    }

    .blog-postx-category-collection-section.layout--four .category-wrap .category-thumb a {
        position: initial;
    }

    .blog-postx-category-collection-section.layout--four .category-wrap .category-item a {
        padding: 5px 10px;
        margin-top: 10px;
        background-color: transparent;
        flex-direction: column;
        align-items: self-start;
        color: var(--blog-postx-black-dark-color);
    }

    .blog-postx-category-collection-section.layout--four .category-wrap .category-item .category-label {
        padding: 2px 15px 2px 26px;
        border-radius: 30px;
        transition: all 0.3s ease-in-out;
        position: relative;
        background: transparent;
        border: 1px solid var(--blog-postx-category-border-color);
    }

    .blog-postx-category-collection-section.layout--four .category-wrap .category-item .category-label > span {
        display: block;
        transition: 0.5s cubic-bezier(.25, .7, .24, .91);
    }

    .blog-postx-category-collection-section.layout--four .category-wrap .category-item .category-label span.hover-label {
        position: absolute;
        top: 2px;
        transform: translateY(120%);
        opacity: 0;
    }

    .blog-postx-category-collection-section.layout--four .category-wrap:hover .category-item .category-label span.initial-label {
        transform: translateY(-120%);
    }

    .blog-postx-category-collection-section.layout--four .category-wrap:hover .category-item .category-label span.hover-label {
        transform: translateY(0%);
        opacity: 1;
    }

    .blog-postx-category-collection-section.layout--four .category-wrap .category-item .category-count {
        width: initial;
        height: initial;
        padding: 2px 15px;
        border-radius: 30px;
        background-color: transparent;
        padding: 0;
        color: var(--blog-postx-black-dark-color);
    }

    /* image ratio */
    .blog-postx-category-collection-section.layout--four.column--two .category-wrap .category-thumb:before {
        padding-bottom: 210px;
    }

/* 
    MARK: Web Stories
*/
    .blog-postx-web-stories .stories-wrap {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
    }

    .blog-postx-web-stories .stories-wrap .story {
        width: initial;
    }

    .blog-postx-web-stories .stories-wrap .preview {
        border-radius: 10px;
    }

    .blog-postx-web-stories .stories-wrap .story-title-wrap {
        bottom: 18px;
    }

    .blog-postx-web-stories .preview .indicators {
        padding: 7% 8.1%;
    }

    .blog-postx-web-stories .stories-wrap .preview .preview-thumb:before {
        background: linear-gradient(#0000002b, #000000d9);
    }

/* Archive */
    body.archive.term-post-format-video #blog-postx-main-wrap .page-header,
    body.archive.term-post-format-gallery #blog-postx-main-wrap .page-header,
    body.archive.term-post-format-audio #blog-postx-main-wrap .page-header,
    body.archive.term-post-format-image #blog-postx-main-wrap .page-header, 
    body.archive.term-post-format-quote #blog-postx-main-wrap .page-header {
        padding: 20px 0px 30px 0px;
        position: relative;
        z-index: 1;
        margin-bottom: 55px;
        display: flex;
        flex-direction: column;
        text-align: center;
        border-top: 1px solid var(--blog-postx-border-dark-color);
        border-bottom: 1px solid var(--blog-postx-border-dark-color);
    }

    body.archive.term-post-format-video #blog-postx-main-wrap .page-header .page-title::before,
    body.archive.term-post-format-gallery #blog-postx-main-wrap .page-header .page-title::before,
    body.archive.term-post-format-audio #blog-postx-main-wrap .page-header .page-title::before,
    body.archive.term-post-format-image #blog-postx-main-wrap .page-header .page-title::before,
    body.archive.term-post-format-quote #blog-postx-main-wrap .page-header .page-title::before {
        content: '\f5fd';
        color: #C69270;
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        padding-right: 20px;
        font-size: 17px;
    }
    
 /*
 MARK: Ticker News
 */

    /* slider enabled */
        body .slick-slider .slick-arrow {
            opacity: 0;
        }

        body .slick-slider.carousel-wrap:hover .slick-arrow,
        body .ticker-item-wrap.slick-slider:hover .slick-arrow,
        .post_format-post-format-gallery:hover .slick-arrow {
            opacity: 1;
        }

        body .post_format-post-format-gallery:hover .slick-slider .slick-prev.slick-arrow {
            left: 15px;
        }

        body .post_format-post-format-gallery:hover .slick-slider .slick-next.slick-arrow {
            right: 15px;
        }


/* Category collection */


    .blog-postx-dark-mode .blog-postx-category-collection-section .category-wrap .cat-meta .category-label {
        font-family: var(--post-title-family);
    }

    @media (max-width: 1024px) {
        .blog-postx-ticker-news.slider-type--none.desktop-column--four .ticker-item-wrap {
            grid-template-columns: repeat(2, 1fr);
        }

        .blog-postx-category-collection-section.column--six .category-collection-wrap {
            grid-template-columns: repeat(3, 1fr);
        }
    }
/* 
    @media (min-width: 768px) {
        body.archive--right-sidebar #blog-postx-main-wrap > .blog-postx-container .row #primary {
             flex: 1 1 100%; 
            max-width: 100%;
        }
    } */
