/*!
Theme Name: Shanes Rib Shack
Theme URI:
Author: CloudMellow - Michael John de Castro
Author URI: https://www.cloudmellow.com/
Description: Child Theme for Shanes Rib Shack Custom WordPress Theme.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: shanesribshack
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

*/
.vc_row-has-fill+.vc_row-full-width+.vc_row>.vc_column_container>.vc_column-inner,.vc_row-has-fill+.vc_row>.vc_column_container>.vc_column-inner,.vc_row-has-fill>.vc_column_container>.vc_column-inner{padding-top:0 !important}.vc_row{margin-left:0 !important;margin-right:0 !important}.row{position:relative}.rev_slider_wrapper{z-index:7 !important;overflow:hidden !important}.vc_section{padding-left:0 !important;padding-right:0 !important;margin-left:0 !important;margin-right:0 !important;padding-top:0 !important}.wpb_button,.wpb_content_element,ul.wpb_thumbnails-fluid>li{margin-bottom:0 !important}.wpb_single_image{position:relative}


/* Team With Popup modulle css */

.my_team_container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.my_team_member {
    flex: 0 0 calc(25% - 20px); 
    min-width: 250px;
    max-width: 300px;
    height: 325px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
    aspect-ratio: 1/1;
}

.my_team_member:hover {
    transform: translateY(-5px);
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
     filter: grayscale(100%) !important;
}

.member-overlay {
    position: absolute;
    bottom: 15px;
    left: 15px;
    right: 15px;
    border-radius: 10px;
    background: rgb(255 255 255);
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.member-name {
    font-size: 18px;
    margin: 0 0 0px 0;
    font-weight: bold;
    color: #333;
    line-height: 28px;
    font-family: "Inter", "Helvetica", Arial sans-serif;
}

.member-title {
    font-size: 16px;
    margin: 0;
    opacity: 1;
    color: #6C6F70;
}

.view-detail {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border: 1px solid #08588C;
    background-color: transparent;
    color: #08588C;
    border-radius: 50%;
    display: flex;
    font-size: 12px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-detail:hover {
    transform: scale(1.1);
    background-color: transparent;
}

.team_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
}

.my_team_model-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    position: relative;
    animation: modalopen 0.5s;
}

@media (max-width: 768px) {

    .my_team_model-content {   
    width: 80% !important;    
}
}


@keyframes modalopen {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #000;
}

.close-modal:hover {
    color: #333;
}

.my_team_model-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .my_team_model-body {
        flex-direction: row;
    }
}

.my_team_model-image {
    flex: 1;
    min-width: 250px;
    filter: grayscale(100%) !important;
}

.my_team_model-image img {
    width: 100%;
    border-radius: 8px;
}

.my_team_model-info {
    flex: 2;
}

.my_team_model-name {
       font-size: 20px;
    line-height: 30px;
    margin: 16px 0 4px 0;
    color: #333;
    font-weight: 700;
}

.my_team_model-title {
  font-size: 16px;
    color: #6C6F70;
    margin: 0 0 15px 0;
}


.my_team_model-bio {
       line-height: 1.6;
    color: #333;
    padding: 15px;
    border-left: 2px solid #08588c;
}

.my_team-social-links {
      display: flex;
    gap: 15px;
    margin-top: 10px;
}

.my_team-social-links a {
    color: #08588C;
    font-size: 20px;
    transition: color 0.3s ease;
}

.my_team-social-links a:hover {
    color: #08588C;
}


/* horizontal timeline module css */


.desktop-timeline {
    display: none;
    width: 100%;
    padding: 20px 20px 20px;

    margin: 0 auto;
}

.timeline-years {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 0 50px;
    margin-top: 40px;
}

.timeline-years::before {
    content: '';
    position: absolute;
    top: 47px;
    left: 50px;
    right: 50px;
    height: 2px;
    background-color: #fff;
    z-index: 1;
}

.year {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.year-label {
    font-weight: 400;
    color: #ffffff;
    line-height: 20px;
    vertical-align: middle;
    background: rgba(2255, 255, 255, 0.08);
    margin-bottom: 15px;
    padding: 4px 8px 2px 8px;
    border-radius: 3px;
    font-size: 18px;
}

.year.active .year-label {
    color: #08588C;
    background: #fff;
    padding: 5px 6px 2px 6px;
    font-size: 24px;
    font-weight: 600;
}

.year-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
    position: relative;
    transition: all 0.3s ease;
}

.year.active .year-dot {
    background-color: #00AFF0;
    width: 16px;
    height: 16px;
    margin-top: -2px;
}

.year-dot::after {
    content: '';
    position: absolute;
    top: 24px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 15px solid #00AFF0;
    opacity: 0;


}

.year.active .year-dot::after {
    opacity: 1;
}

.timeline-content-container {
    width: 100%;
    background-color: #00AFF0;
    padding: 60px 30px;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

}


.timeline-content {
    display: flex;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.timeline-year-column {
    font-size: 150px;
    font-weight: bold;
    color: #fff;
    padding-right: 30px;
    width: 50%;
    position: relative;
    display: flex;
    justify-content: end;
}

.timeline-year-column::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: rgb(17 28 56 / 30%);
}

.timeline-content-column {
    padding-left: 24px;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-title {
    font-size: 44px;
    font-weight: 500;
    line-height: 58px;
    color: #fff;
    margin-bottom: 15px;
}

.event-description {
    font-size: 16px;
    line-height: 1.6;
    color: #fff;
}



.desktop-timeline {
    display: block;
}

.timeline-nav-buttons {
    display: none;
}

.timeline-nav-buttons .timeline-nav {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #00AFF0;
}



@media (max-width: 768px) {

    .timeline-nav:disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

    .timeline-nav-buttons {
        display: flex;
        justify-content: center;
        gap: 24px;
        margin-top: 32px;
    }

    .timeline-nav {
        background: #fff !important;
        padding: 8px;

        width: 50%;
        border-radius: 5px;
    }

    .timeline-content {

        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 0 7px;

    }

    .timeline-years {
        overflow: hidden;
        padding: 0 10px;
    }

    .year {
        flex: 0 0 50%;
        max-width: 50%;
        display: none;
    }

    .year.visible {
        display: flex;
    }

    .timeline-year-column {
        width: 100%;
        justify-content: center;
        font-size: 89px;
        text-align: center;
        padding: 0px;
    }

    .timeline-year-column::after {

        left: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        height: 1px;
        background-color: rgba(255, 255, 255, 0.3);
    }

    .timeline-content-column {
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0px;
    }

    .event-description {
        text-align: center;
    }

    .timeline-progress-bar {     
        height: 6px;
        background: #e0e0e0;
        border-radius: 3px;
        margin: 16px auto 0 auto;
        position: relative;
        overflow: hidden;
    }

    .timeline-progress {
        height: 100%;
        background: #00AFF0;
        border-radius: 3px;
        width: 0%;
        transition: width 0.3s;
    }

}

@media (min-width: 768px) {
    .timeline-year-column {

        align-items: center;
        justify-content: end;
        flex: 0 0 25%;
    }

    .timeline-content-column {

        justify-content: center;
        flex: 1;
    }
}

@media (max-width: 992px) {
    .timeline-year-column {
        font-size: 90px;
    }

}

/* testimoniial image slider */
       .testimonial_slider_section {
            width: 100%;
            display: block;
        }

        .testimonial_slider_section .testimonial-content {
            display: flex;
            align-items: stretch;
            /* Changed from center to stretch */
            background: #f1fafd;
            width: 100%;
            min-height: 400px;
            /* Added minimum height */
            border-top-left-radius: 20px;
        }

        .testimonial_slider_section .testimonial-image {
            width: 44%;
            /* Set fixed width for image container */
            flex-shrink: 0;
            /* Prevent shrinking */
            position: relative;
        }

        .testimonial_slider_section .testimonial-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            /* Ensures image covers the area */
            display: block;
            border-top-left-radius: 20px;
        }

        .testimonial_slider_section .testimonial-text {
            flex: 1;
             padding: 180px 40px;
            background: #f1fafd;
            min-height: 100%;
            text-align: left;
            box-sizing: border-box;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: start;
            font-size: 24px !important;
        }
         .testimonial_slider_section .testimonial-text .author{
            margin-top: 15px !important;
         }

        /* Rest of your existing CSS remains the same */
        .testimonial_slider_section .testimonial-text blockquote {
            font-size: 1.1rem;
            color: #333;
        }

        .testimonial_slider_section .testimonial-text .author {
            font-weight: bold;
            margin-top: 15px;
        }

        .testimonial_slider_section .custom-arrows {
            display: flex;
            justify-content: end;
            bottom: 32px;
            position: relative;
            z-index: 10;
            right: 30px;
        }

        .testimonial_slider_section .slick-next {
            width: 42px;
            height: 42px;
            background: #08588C  url(https://shanesribshackdev.wpenginepowered.com/wp-content/uploads/2025/06/arrow-right.svg) center no-repeat !important;
            border-radius: 6px;
        }

        .testimonial_slider_section .slick-prev {
            width: 42px;
            height: 42px;
            background: #08588C  url(https://shanesribshackdev.wpenginepowered.com/wp-content/uploads/2025/06/arrow-left.svg) center no-repeat !important;
            border-radius: 6px;
        }

        .testimonial_slider_section .slick-prev:hover,
        .testimonial_slider_section .slick-prev:focus {
            background: #08588C url(https://shanesribshackdev.wpenginepowered.com/wp-content/uploads/2025/06/arrow-left.svg) center no-repeat !important;
        }

        .testimonial_slider_section .slick-next:hover,
        .testimonial_slider_section .slick-next:focus {
            background: #08588C url(https://shanesribshackdev.wpenginepowered.com/wp-content/uploads/2025/06/arrow-right.svg) center no-repeat !important;
        }

        .testimonial_slider_section .slick-prev,
        .testimonial_slider_section .slick-next {
            text-indent: -9999px;
            overflow: hidden;
        }

        .testimonial_slider_section .slick-prev {
            left: auto !important;
            right: 50px !important;
        }

        .testimonial_slider_section .slick-next {
            right: 0px !important;
        }

          .testimonial_slider_section .testimonial-text p{
                padding-left: 50px;                  
                font-size: 24px;
                color: #333;
                line-height: 28px;
            }
            .testimonial_slider_section .testimonial-text p:first-child{
                margin-bottom: 30px !important;
            }

        @media (max-width: 768px) {
            .testimonial_slider_section{
                padding: 0 20px;
            }
            .testimonial_slider_section .testimonial-content {
                flex-direction: column;
                min-height: auto;
                padding-bottom: 100px;
              
            }

            .testimonial_slider_section .testimonial-image {
                width: 100%;
                height: 350px;
                /* Fixed height on mobile */
            }

            .testimonial_slider_section .testimonial-text {
                padding: 30px;
            }

            .testimonial_slider_section .custom-arrows {
                flex-wrap: nowrap;               
                justify-content: end;             
                right: 0px !important;  
                 bottom: 0px;      
                 max-width: 80%;
                 margin: auto;
            }

            .testimonial_slider_section .slick-prev {
                right: 22px !important;
                width: 48% !important;
                left: 0 !important;
            }

            .testimonial_slider_section .slick-next {
                right: 0 !important;
                width: 48% !important;
            }
              .testimonial_slider_section .testimonial-text p{
                padding-left: 0px;
            }
        }

        /* Single Menu Item Page Adjustment */
        .single_menu_item select {
            background-color: #fff;
        }

        .single_menu_item #optionsDropdown {
            margin-top: 12px !important;
        }

        @media (min-width: 1252px) {
            .back-btn {
                text-align: left;
                max-width: 1300px;
                margin: 0 0 20px;
                padding: 0 15px;
                position: relative;
                left: -0.5rem;
            }    
        }
        
        .back-btn .button-primary {
            font-size: 14px;
            padding: 10px 25px;
            line-height: 1;
        }

        @media(max-width: 768px) {
            .back-btn {
                justify-self: center;
                text-align: left;
                max-width: 11rem;
                margin: 0 0 20px;
                padding: 0 15px;
                position: inherit;
                left: 0px;
            }
        }

        @media(max-width: 1251px) and (min-width: 769px) {
            .back-btn {
                justify-self: left;
                text-align: left;
                max-width: 11rem;
                margin: 0 0 20px;
                padding: 0 15px;
                position: inherit;
                left: 0rem;
            }
        }

/* ========================================
   Feature 001: Menu Wing Display Updates
   ======================================== */

/* US1: Hide Options dropdown only on specific SKU single pages */
.single_container[data-sku="TRA6pc"] .options_dropdown,
.single_container[data-sku="TRA10pc"] .options_dropdown,
.single_container[data-sku="SMO6pc"] .options_dropdown {
    display: none !important;
}

/* US2: Hide specific wing items from menu displays (hide parent wrapper to prevent empty cards) */
.post_item.resource_item:has(article[data-sku="SMO10pc"]),
.post_item.resource_item:has(article[data-sku="TRA6pc"]),
.post_item.resource_item:has(article[data-sku="TRA10pc"]) {
    display: none !important;
}

/* US4: Hide pricing only on specific SKU single pages */
.single_container[data-sku="TRA6pc"] .item_price,
.single_container[data-sku="TRA10pc"] .item_price,
.single_container[data-sku="SMO6pc"] .item_price {
    display: none !important;
}

/* US4: Hide calorie information only on specific SKU single pages */
.single_container[data-sku="TRA6pc"] .calorie_count,
.single_container[data-sku="TRA10pc"] .calorie_count,
.single_container[data-sku="SMO6pc"] .calorie_count {
    display: none !important;
}