/*-------------------------------------------------------------------------------------
Theme Name:		 Fixturbo Child Theme
Theme URI:		 https://wowtheme7.com/fixturbo-child-theme
Description:	 Fixturbo Car Repair & Auto Services WordPress Theme
Author:			 wowtheme7
Author URI:		 https://wowtheme7.com/
Template:		 fixturbo
Version:		 1.0.4
Text Domain:	 fixturbo-child-theme
-------------------------------------------------------------------------------------*/

/*
    Please Add your custom styles here
*/

/* Override hardcoded red SVG colors to brand green */
svg path[stroke="#E8092E"] { stroke: #1E352F !important; }
svg circle[stroke="#E8092E"] { stroke: #1E352F !important; }
svg rect[stroke="#E8092E"] { stroke: #1E352F !important; }
svg path[fill="#E8092E"] { fill: #1E352F !important; }
svg circle[fill="#E8092E"] { fill: #1E352F !important; }
svg rect[fill="#E8092E"] { fill: #1E352F !important; }
svg [fill="#e8092e"] { fill: #1E352F !important; }
svg [stroke="#e8092e"] { stroke: #1E352F !important; }

/* Fix newsletter widget positioning in footer - prevent overlap with green action bar */
.footer-style .footer-widget.widget-newsletter {
    margin-top: 20px !important;
}
/* Push footer content below green top bar */
.footer--top.padding-top-120 {
    padding-top: 160px !important;
}

/* Hide custom scrollbar completely */
body::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* Counter checklist: red gradient -> green */
.counter-checklist-wrap:after {
    background: linear-gradient(90deg, #1E352F -1.06%, rgba(30, 53, 47, 0) 100%) !important;
}

/* Center SVG icons inside counter card circles */
.counter-card_icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

/* Hero buttons: add bottom spacing so they don't stick to counter block */
.hero-1 {
    padding-bottom: 40px !important;
}

/* FAQ Accordion: override Bootstrap defaults to match theme style */
.single-accordion-inner .accordion-item {
    margin-bottom: 15px !important;
    border: none !important;
    border-radius: 5px !important;
    overflow: hidden !important;
    background: var(--smoke-color) !important;
}
.single-accordion-inner .accordion-button {
    font-size: 20px !important;
    font-weight: 700 !important;
    font-family: var(--title-font) !important;
    color: var(--title-color) !important;
    background-color: var(--smoke-color) !important;
    padding: 18px 50px 18px 25px !important;
    border: none !important;
    box-shadow: none !important;
}
.single-accordion-inner .accordion-button:focus {
    box-shadow: none !important;
}
.single-accordion-inner .accordion-button:not(.collapsed) {
    color: var(--title-color) !important;
    background-color: var(--smoke-color) !important;
}
.single-accordion-inner .accordion-button::after {
    content: "\f078" !important;
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    background-image: none !important;
    color: var(--main-color-one) !important;
    width: auto !important;
    height: auto !important;
    position: absolute !important;
    right: 20px !important;
    transition: transform 0.3s !important;
}
.single-accordion-inner .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg) !important;
    content: "\f078" !important;
}
.single-accordion-inner .accordion-body {
    padding: 0 25px 20px !important;
    font-size: 16px !important;
    color: var(--body-color) !important;
    background: var(--smoke-color) !important;
}

/* Collapsed accordion items: green background + white text (theme style2 look) */
.single-accordion-inner .accordion-item:has(.accordion-button.collapsed) {
    background: var(--main-color-one) !important;
}
.single-accordion-inner .accordion-item:has(.accordion-button.collapsed) .accordion-button {
    background: var(--main-color-one) !important;
    color: #fff !important;
}
.single-accordion-inner .accordion-item:has(.accordion-button.collapsed) .accordion-button::after {
    color: #fff !important;
}

/* ==================== HEADER: TOP BAR (all screens) ==================== */
.header-top {
    background-color: var(--main-color-one) !important;
}
.header-top,
.header-top a,
.header-top li,
.header-top span,
.header-top p,
.header-top i {
    color: #fff !important;
}
.header-top a:hover {
    color: rgba(255, 255, 255, 0.7) !important;
}
.header-top .row {
    justify-content: flex-end !important;
}
.header-top .header-links li {
    font-size: 14px !important;
}
.header-top .header-links li > a {
    font-size: 14px !important;
}
.header-top .header-links li > i {
    font-size: 14px !important;
}

/* ==================== HEADER: DESKTOP MENU (>=1200px) ==================== */
@media (min-width: 1200px) {
    /* Horizontal menu item styling */
    ul.main-menu > li {
        margin: 0 20px !important;
        list-style: none !important;
        display: inline-block !important;
        position: relative !important;
    }
    ul.main-menu > li > a {
        padding: 36px 0 !important;
        display: block !important;
        font-size: 18px !important;
        font-weight: 600 !important;
        font-family: var(--title-font) !important;
        color: var(--title-color) !important;
        text-decoration: none !important;
    }
    ul.main-menu > li > a:hover {
        color: var(--main-color-one) !important;
    }

    /* Center logo in green header box */
    .header-layout1 .header-navbar-logo {
        display: grid !important;
        place-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
        top: 0 !important;
        left: 0 !important;
        height: 100% !important;
        width: 14.2% !important;
        box-sizing: border-box !important;
    }
    .header-layout1 .header-navbar-logo .site-logo {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: center !important;
        line-height: 0 !important;
    }
    .header-layout1 .header-navbar-logo .site-logo img {
        width: 220px !important; max-width: none !important;
        height: auto !important;
        display: inline-block !important;
    }

    /* Ensure menu clears the green logo area */
    .header-layout1 .menu-area ul.main-menu {
        padding-left: 60px !important;
    }
}

/* Desktop breakpoints for logo width + menu padding */
@media (min-width: 1200px) and (max-width: 1700px) {
    .header-layout1 .header-navbar-logo {
        width: 16% !important;
    }
    .header-layout1 .menu-area ul.main-menu {
        padding-left: 180px !important;
    }
}
@media (min-width: 1200px) and (max-width: 1500px) {
    .header-layout1 .header-navbar-logo {
        width: 17% !important;
    }
    .header-layout1 .menu-area ul.main-menu {
        padding-left: 220px !important;
    }
}
@media (min-width: 1200px) and (max-width: 1399px) {
    .header-layout1 .menu-area ul.main-menu {
        padding-left: 180px !important;
    }
}
@media (min-width: 1200px) and (max-width: 1299px) {
    .header-layout1 .header-navbar-logo {
        width: 20% !important;
    }
    .header-layout1 .menu-area ul.main-menu {
        padding-left: 250px !important;
    }
}

/* ==================== HEADER: TABLET 992-1199px ==================== */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Show desktop logo + green box (theme hides them at this range) */
    .header-layout1 .header-navbar-logo {
        display: grid !important;
        place-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
        top: 0 !important;
        left: 0 !important;
        height: 100% !important;
        width: 22% !important;
        box-sizing: border-box !important;
    }
    .header-layout1 .header-navbar-logo .site-logo {
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        text-align: center !important;
        line-height: 0 !important;
    }
    .header-layout1 .header-navbar-logo .site-logo img {
        width: 180px !important; max-width: none !important;
        height: auto !important;
        display: inline-block !important;
    }
    .header-layout1 .menu-area .logo-bg {
        display: block !important;
        width: 22% !important;
    }
    /* Horizontal menu: smaller, push past logo */
    ul.main-menu > li {
        margin: 0 10px !important;
        list-style: none !important;
        display: inline-block !important;
        position: relative !important;
    }
    ul.main-menu > li > a {
        padding: 30px 0 !important;
        display: block !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        font-family: var(--title-font) !important;
        color: var(--title-color) !important;
        text-decoration: none !important;
    }
    ul.main-menu > li > a:hover {
        color: var(--main-color-one) !important;
    }
    .header-layout1 .menu-area ul.main-menu {
        padding-left: 240px !important;
    }
}

/* ==================== HEADER: MOBILE <992px ==================== */
@media (max-width: 991px) {
    /* Hide desktop green logo box and its background on mobile */
    .header-navbar-logo,
    .logo-bg {
        display: none !important;
    }

    /* Make mobile header container full-width */
    .mobile-menu-logo,
    .mobile-menu-logo.col-auto {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Mobile header layout: burger left, logo center */
    .responsive-mobile-menu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        width: 100% !important;
        padding: 12px 15px !important;
    }

    /* Logo: centered (full width, text-align center) */
    .responsive-mobile-menu .logo-wrapper {
        width: 100% !important;
        text-align: center !important;
    }
    .responsive-mobile-menu .logo-wrapper img {
        height: 50px !important; max-height: none !important;
        width: auto !important;
    }

    /* Burger: absolute left so logo stays truly centered */
    .navbar-toggler {
        position: absolute !important;
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        border: 1px solid rgba(0, 0, 0, 0.3) !important;
        padding: 6px 10px !important;
        background-color: #fff !important;
        z-index: 10 !important;
    }
    .navbar-toggler-icon {
        display: block !important;
        width: 24px !important;
        height: 24px !important;
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,0.6)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E") !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
    }

    /* Hide search elements on mobile */
    .popup-search-box,
    .search-popup-btn,
    .header-search-wrap,
    .wp-block-search,
    .widget.widget_search,
    form.search-form,
    .search-bar,
    [class*="search-popup"],
    [class*="search-toggle"] {
        display: none !important;
    }

    /* Mobile menu items: vertical list */
    ul.main-menu > li {
        display: block !important;
        margin: 0 !important;
    }
    ul.main-menu > li > a {
        padding: 10px 15px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        color: var(--title-color) !important;
        text-decoration: none !important;
        display: block !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
    /* Reset menu padding on mobile */
    .header-layout1 .menu-area ul.main-menu {
        padding-left: 0 !important;
    }

    /* Hide appointment section background image + right column on mobile */
    [data-id="c30f078"] {
        background-image: none !important;
    }
    [data-id="ff4c0cd"] {
        display: none !important;
    }
}

/* ==================== BLOG CARDS: hide comments count ==================== */
.blog-card .blog-meta p:has(.fa-comments) {
    display: none !important;
}
/* Add spacing between user icon and date text */
.blog-card .blog-meta .fa-user {
    margin-right: 8px !important;
}
/* Hide date overlay on blog card images */
.blog-card .blog-date {
    display: none !important;
}

/* ==================== BLOG PAGE: cleanup ==================== */
/* Hide breadcrumb section on all pages */
.breadcrumb-wrap {
    display: none !important;
}
/* Hide Search widget in sidebar */
#fixturbo_post_search_widget-1 {
    display: none !important;
}
/* Hide Tags widget in sidebar */
#tag_cloud-1 {
    display: none !important;
}

/* ==================== SINGLE POST: cleanup ==================== */
/* Social Share: inline row instead of bulleted list */
.blog-details-footer .social-icon {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    gap: 10px !important;
}
.blog-details-footer .social-icon li {
    list-style: none !important;
}
/* Hide Prev/Next Post navigation */
.single-post-navigation {
    display: none !important;
}
/* Hide comments section */
.comment-respond {
    display: none !important;
}
#comments {
    display: none !important;
}
/* Post meta (author, category): remove bullets, fix padding */
.blog-single-content-wrap .post-meta {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 15px 0 15px 0 !important;
}
/* Popular Post widget: remove bullets, fix layout */
.theme-recent-post-wrap {
    list-style: none !important;
    padding-left: 0 !important;
}
.theme-recent-post-wrap .theme-recent-post-item {
    list-style: none !important;
    display: flex !important;
    gap: 12px !important;
    margin-bottom: 15px !important;
    align-items: flex-start !important;
}
.theme-recent-post-wrap .theme-recent-post-item .thumb {
    flex-shrink: 0 !important;
    width: 80px !important;
}
.theme-recent-post-wrap .theme-recent-post-item .thumb img {
    width: 80px !important;
    height: 80px !important;
    object-fit: cover !important;
    border-radius: 4px !important;
}

/* ==================== BLOG LISTING: post cards cleanup ==================== */
/* Remove bullets from post meta */
.blog-main-item-01 .post-meta {
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 15px !important;
}
/* Hide author and comments, keep only date */
.blog-main-item-01 .post-meta li:has(.fa-user) {
    display: none !important;
}
.blog-main-item-01 .post-meta li:has(.fa-comments) {
    display: none !important;
}
/* Limit excerpt to 2 lines with ellipsis */
.blog-main-item-01 > .entry-content > p,
.blog-main-item-01 p:not(.post-meta *) {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}
/* Hide Read More button */
.blog-main-item-01 .blog-bottom {
    display: none !important;
}
/* Spacing between posts */
.blog-main-item-01 {
    margin-bottom: 40px !important;
}

/* ==================== ABOUT US PAGE: cleanup ==================== */
/* Hide testimonials banner with View All Reviews button */
[data-id="6b25ef3"] {
    display: none !important;
}
/* Hide team member cards (Devon Lane, Esther Howard) */
[data-id="934e3e1"] {
    display: none !important;
}
/* Center Get in Touch text block (full width when team cards hidden) */
[data-id="a794f17"] {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    text-align: center !important;
}
[data-id="a794f17"] * {
    text-align: center !important;
}
[data-id="a794f17"] .subtitle {
    justify-content: center !important;
}
/* Spacing between section title and process steps */
[data-id="e5531ac"] [data-id="5f0cdcd"] {
    margin-bottom: 60px !important;
}


/* ==================== ABOUT US: MOBILE <768px ==================== */
@media (max-width: 767px) {
    /* Reduce spacing between section title and process steps on mobile */
    [data-id="e5531ac"] [data-id="5f0cdcd"] {
        margin-bottom: 30px !important;
    }
    /* Get in Touch: full width on mobile, no max-width constraint */
    [data-id="a794f17"] {
        max-width: 100% !important;
        padding: 0 15px !important;
    }
}

/* ==================== SERVICE DETAIL PAGES ==================== */
/* Push content below fixed header */
.service-details-page.padding-top-120 {
    padding-top: 180px !important;
}
/* Sidebar: hide arrow icons */
.service-sidebar .theme-recent-post-title-item .fa-angle-double-right {
    display: none !important;
}
/* Sidebar: remove bullets from service list */
.service-sidebar .theme-recent-post-wrap-title {
    list-style: none !important;
    padding-left: 0 !important;
}
.service-sidebar .theme-recent-post-title-item {
    list-style: none !important;
    padding: 8px 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}
.service-sidebar .theme-recent-post-title-item:last-child {
    border-bottom: none !important;
}
/* Sidebar: link styles + green hover */
.service-sidebar .theme-recent-post-title-item a {
    color: #171717 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    transition: color 0.3s !important;
}
.service-sidebar .theme-recent-post-title-item a:hover {
    color: var(--main-color-one) !importa

/* ==================== MOBILE RESPONSIVE FIXES ==================== */
@media (max-width: 767px) {
    /* Service detail pages: reduce top padding on mobile */
    .service-details-page.padding-top-120 {
        padding-top: 120px !important;
    }
}

/* Blog sidebar: hide post count in category widget */
.widget_fixturbo_category .service-item-list .arrow-icon {
    display: none !important;
}
