/*
Theme Name:   SBS Motorsport
Theme URI:    https://xstore.8theme.com
Description:  XStore is a multi-purpose theme that offers the ultimate WordPress and WooCommerce synergy, providing a comprehensive, all-in-one solution.
Author:       8theme
Author URI:   https://www.8theme.com
Template:     xstore
Version:      1.0
Text Domain:  xstore-child
Tags: e-commerce, two-columns, left-sidebar, right-sidebar, custom-background, custom-colors, custom-header, custom-menu, custom-logo, featured-images, full-width-template, threaded-comments, accessibility-ready, rtl-language-support, footer-widgets, sticky-post, theme-options, translation-ready, ecommerce, woocommerce, shop, elementor, business, corporate, blog, news, light, dark
*/

.container.content-page.sidebar-mobile-bottom {
    padding-bottom: 0;
}

article.post-grid .wp-picture img {
    object-fit: cover;
    height: 300px;
}

.post-comments-count {
    display: none;
}

.grid-post-body .meta-divider {
    display: none;
}

.mega .item-link:hover::after {
    content: "";
    height: 50px;
    position: absolute;
    display: block;
    width: 110%;
    z-index: 100;
}

.required {
    color: red;
}

.required-text {
    font-size: 12px;
}

.header-bottom {
    background: transparent;
    background-color: transparent;
    margin-top: -20px;

    & img {
        max-height: 50px;
        /* object-fit: contain; */
    }

    .wpb_content_element {
        margin-bottom: 0px;
    };
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.form-col label {
    display: block;
}

.menu-form {
    max-height: 140px;
}

.footer.text-color-light {
    --et_btn-dark-bg-color: #F58130;
    --et_btn-dark-br-color: #F58130;
    --et_btn-dark-color: #fff;
    --et_btn-dark-bg-color-hover: #F79A5D;
    --et_btn-dark-br-color-hover: #F79A5D;
    --et_btn-dark-color-hover : #fff;
}

.mep-events-wrapper.wrapper {
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1170px; 

    .mpwem_style {
        margin-top: 20px;
        width: calc(100% + 320px);

        @media only screen and (max-width: 1199px) {
            width: calc(100% + 295px);
        }

        @media only screen and (max-width: 991px) {
            width: calc(100% + 270px);
        }
        @media only screen and (max-width: 767px) {
            width: calc(100% + 0px);
        }
    }
}


.mep_list_event_date {
    .evl-cc {
        display: flex;
    }
}



.event-header-bg,
.licence-header-bg {
    min-height: 272px;
    background-image: var(--page-heading-bg, url(https://sbsmotorsport.com.au/prod/wp-content/uploads/2025/11/hexagon_glow-e1762923553476.png));
    background-position-x:0%;
    background-position-y:50%;
    background-repeat:no-repeat;
    background-size:cover;
    margin-bottom: 25px;

    .delimeter {
        font-size:7.98px;
    }

    .breadcrumbs {
        padding-bottom: 34px;
    }

    .breadcrumb-title {
        cursor: default;
        opacity: 1 !important;
    }

    .back-history,
    .breadcrumbs a {
        --color_theme: black;
        color: black;
    }

    .wpb_column {
        max-width: 1170px;
        margin: 0 auto;
    }

    @media(max-width: 990px) {
        
        min-height: 240px;

        .breadcrumbs {
            padding-bottom: 4px !important;
            margin: 0px 80px;
        }
    }
    
}


#customer_details {
    .woocommerce-input-wrapper {
        grid-column: span 2;
    }

    #billing_address_2_field .woocommerce-input-wrapper {
        grid-column: 2 / span 2;
    }
}

.woocommerce-checkout-payment {
    .place-order {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media only screen and (min-width: 10px) {
    .mep_smart_theme .mpwem_right_content {
        display: none;
    }
}

@media only screen and (min-width: 10px) and (min-width: 1024px) {
    .mep_smart_theme .mpwem_right_content {
        display: block;
    }
}

.mep_event_list div[data-pagination="carousal"] [data-bg-image]{
    background-size: 110% auto;
    /* background-position: top; */
}


/* BLOG POSTS */

.blog-masonry {
    .post-heading h2 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        overflow: hidden;
    }

    article.blog-post {
        min-height: 460px;
    }

    .content-article {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
    }
}