/*
Theme Name:     Foxiz child
Template:      	foxiz
Theme URI:      https://foxiz.themeruby.com
Author:         Theme-Ruby
Author URI:     https://themeforest.net/user/theme-ruby/portfolio/
Description:    Make your modifications to Foxiz in this child theme.
Version:        1.0
Tags:           custom-background, custom-menu, featured-images, theme-options, custom-colors, translation-ready, threaded-comments, translation-ready
License:        Themeforest Licence
License URI:    https://themeforest.net/licenses/standard
*/

/* Your CSS code goes here
-------------------------------------- */

/* Container for the custom post layout */
.custom-post-layout {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Add flexbox */
    flex-direction: column; /* Stack content vertically */
    height: 100%; /* Allow content to stretch */
    min-height: 350px; /* Set a minimum height to keep cards uniform */
}

/* Ensuring all cards have same height */
.custom-post-layout .partner-logo,
.custom-post-layout .partner-title,
.custom-post-layout .partner-content {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* Hover effect for the layout */
.custom-post-layout:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Image styles */
.partner-logo {
    width: 100%;
    border-radius: 8px 8px 0 0;
    margin-bottom: 15px;
	height: 175px !important;
    object-fit: contain;
}

/* Title of the partner */
.preferredpartner-title {
    text-align: center;
    /* flex-grow: 1;  */
}

.partner-content {
    flex-grow: 1;
}

/* Partner Categories Styling */
.partner-categories {
    font-size: 14px;
    color: #777;
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap; /* Allow categories to wrap if necessary */
}

/* Individual Category Item */
.partner-categories span {
    background-color: #FF7900; /* Light background color */
    padding: 5px 10px; /* Space around the text */
    border-radius: 20px; /* Rounded corners */
    font-weight: bold;
    color: #ffffff; /* Text color */
    font-size: 14px;
    transition: background-color 0.3s ease;
}

/* Adding a border between multiple categories */
.partner-categories span + span {
    margin-left: 10px; /* Add space between categories */
}


/* Short content description */
.partner-content {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
    text-align: center;
}

/* Social icons container */
.social-icons {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
	margin-bottom: 20px;
}

/* Social icon links */
.social-icons a {
    font-size: 24px !important;
    transition: color 0.3s ease;
}

/* Hover effect for social icons */
.social-icons a:hover {
    color: #0073e6 !important;
}

.ymc-smart-filter-container .container-posts .post-custom-layout .post-item{
	border: none;
	display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.ymc-smart-filter-container .container-posts .post-custom-layout .post-item a{
	color: #555;
	text-decoration: none;
}



.ymc-smart-filter-container .enquire-btn{
    display: inline-block;
    text-decoration: none;
    background: #ffff;
    color: #000000;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 1.3;
    border-radius: 5px;
    border: 1px solid #FF7900;
    text-align: center;
}


.ymc-smart-filter-container .enquire-btn:hover{
    background-color:  #FF7900;
    color: #ffffff !important;

}

.mega-columns .w-sidebar {
    margin-bottom: unset;
    
}

/* .custom-category-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FF7900;;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
    text-align: center;
} */




.parent-container {
    display: grid;
    place-items: center; /* Centers content both horizontally and vertically */
    height: 100vh; /* Full viewport height for vertical centering */
}

.custom-category-button {
    padding: 10px 20px;
    background-color: #FF7900;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s;
    text-align: center;
}

/*author and editor by label CSS*/
span.author-label{
	flex-direction: column;
    align-items: baseline;
}

.author-job{
	font-size: 12px;
    color: #64666a;
    font-weight: 400;
}

.author-editor-label {
    display: flex;
    flex-wrap: nowrap; 
    align-items: center;
    justify-content: space-between; 
    gap: 10em; 
}

.smeta-in {
    display: flex;
    align-items: center;
    gap: 8px; 
}

.meta-el.meta-avatar img {
    width: 60px; 
    height: 60px;
    border-radius: 50%;
}

.author-label {
    font-size: 14px; 
    white-space: nowrap;
}

/*For screens below 650px - Reduce sizes dynamically */
@media (max-width: 650px) {
    .author-editor-label {
        gap: 8em; 
    }

    .smeta-in {
        gap: 5px; 
    }

    .meta-el.meta-avatar img {
        width: 40px; 
        height: 40px;
    }

    .author-label {
        font-size: 12px; 
    }
	
	.author-job{
		font-size: 10px;
	}
}

/*For screens below 528px - Further reduce sizes */
@media (max-width: 528px) {
    .author-editor-label {
        gap: 6em;
    }

    .meta-el.meta-avatar img {
        width: 30px; 
        height: 30px;
    }

    .author-label {
        font-size: 10px;
    }
	
	.author-job{
		font-size: 9px;
	}
}

/*For screens below 400px - Further reduce sizes */
@media (max-width: 400px) {
    .author-editor-label {
        gap: 4em;
    }

    .meta-el.meta-avatar img {
        width: 25px; 
        height: 25px;
    }

    .author-label {
        font-size: 8px; 
    }
	
	.author-job{
		font-size: 7px;
	}
}

form .comment-form-url{
	display: none;
}










/* Wrapper for all popular posts */
.popular-posts {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  justify-content: flex-start;
  
}

/* Each post card */
.popular-items {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}



/* Post thumbnail */
.popular-items img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* Content section */
.popular-item-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
}

/* Category badge */
.item-cats {
  margin-top: -35px;
  
}

.item-cats a {
  background: #ff6d00;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 10px;
}



/* Post title */
.popular-item-content h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
  line-height: 1.4;
  margin-top: 15px;
}

.popular-item-content h3 a {
  text-decoration: none;
  color: #111;
}

/* Meta section */
.meta {
  font-size: 13px;
  color: #555;
  font-weight: 500;
  text-transform: uppercase;
  margin-top: 10px;
}


@media (max-width: 768px) {
  .popular-posts {
    flex-direction: column;
    gap: 16px;
  }

  .popular-items {
    display: flex;
    flex-direction: row;
    max-width: 100%;
    align-items: stretch;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
	flex-direction: row-reverse;
  }

  .popular-item-content {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .popular-item-content h3 {
    font-size: 15px;
    margin: 0 0 8px;
  }

  .meta {
    font-size: 12px;
    margin: 0;
  }

  .popular-items img {
    width: 130px;
    height: 120px;
    object-fit: cover;
    border-radius: 0;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  .item-cats {
    position: absolute;
    right: 8px;
    bottom: -10px;
    margin: 0;
    z-index: 2;
  }

  .item-cats a {
    background: #ff6d00;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
  }
}

/* ========================================
   NEW NAVBAR DESIGN - Orange Theme
   ======================================== */

/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Orange navbar background */
#site-header .navbar-wrap {
    background: #FF7900 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    min-height: 80px !important;
    overflow: visible;
}

#site-header {
    overflow: visible;
    position: relative;
    z-index: 9999;
}

.rb-container {
    max-width: 100%;
}

.navbar-inner {
    min-height: 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* Logo styling for white logo */
.logo-wrap.is-image-logo {
    margin-right: 0 !important;
}

.logo-wrap.is-image-logo img {
    filter: brightness(0) invert(1);
    max-height: 50px;
    width: auto;
    max-width: unset !important;
}

/* Navbar left section - logo and city dropdown together */
.navbar-left {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
}

/* Navbar center section - main navigation */
.navbar-center {
    display: flex;
    align-items: center;
    margin-left: 20px;
    flex: 0 0 auto;
}

/* Main navigation menu container */
.main-menu-wrap {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.main-menu > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Main navigation items - white text */
.main-menu > li > a {
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    padding: 15px 15px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif !important;
    letter-spacing: 0.5px !important;
}

.main-menu > li > a i {
    font-size: 11px;
    transition: transform 0.3s ease;
}

.main-menu > li.menu-item-has-children:hover > a i {
    transform: rotate(180deg);
}

.main-menu > li > a:hover {
    color: #ffffff !important;
    opacity: 0.8;
}

/* Dropdown submenu styling */
.main-menu > li {
    position: relative;
}

.main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 10px 0;
    min-width: 220px;
    display: none;
    z-index: 9999;
    list-style: none;
    margin: 0;
}

.main-menu > li.menu-item-has-children:hover .sub-menu {
    display: block;
}

.main-menu .sub-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu .sub-menu li a {
    display: block;
    padding: 8px 20px;
    color: #333333 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    font-family: 'Inter', sans-serif !important;
}

.main-menu .sub-menu li a:hover {
    color: #FF7900 !important;
    padding-left: 25px;
}

/* City Dropdown Wrapper - needs relative positioning */
.city-dropdown-wrapper {
    position: relative;
    margin-left: 0;
    display: inline-block;
    z-index: 10000;
}

/* City Dropdown Trigger */
.city-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    padding: 10px 0;
    border-radius: 5px;
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    font-family: 'Inter', sans-serif !important;
    letter-spacing: 0.5px !important;
    min-width: 140px;
}

.city-dropdown-trigger:hover {
    opacity: 0.8;
}

.city-dropdown-trigger i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.city-dropdown-wrapper:hover .city-dropdown-trigger i {
    transform: rotate(180deg);
}

/* City Mega Menu Container */
.city-mega-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 30px;
    min-width: 900px;
    max-width: calc(100vw - 40px);
    display: none;
    z-index: 99999;
}

/* Add padding area to prevent dropdown from closing */
.city-mega-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
}

.city-dropdown-wrapper:hover .city-mega-menu,
.city-dropdown-trigger:hover + .city-mega-menu,
.city-mega-menu:hover {
    display: block;
}

/* City Grid Layout - 4 columns */
.city-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 30px;
}

.city-grid a {
    color: #333333;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    padding: 2px 0;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.city-grid a::after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 11px;
    color: #FF7900;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.2s ease;
}

.city-grid a:hover {
    color: #FF7900;
    padding-left: 5px;
}

.city-grid a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* Search Button */
.navbar-search-btn {
    background: transparent !important;
    color: #ffffff !important;
    border: none !important;
    font-size: 18px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    padding: 10px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.navbar-search-btn:hover {
    opacity: 0.8;
}

.navbar-search-btn i {
    font-size: 18px;
}

/* Sign Up Button */
.navbar-signup-btn {
    background: #ffffff !important;
    color: #FF7900 !important;
    padding: 10px 25px !important;
    border-radius: 5px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    border: 2px solid #ffffff !important;
    /*margin-left: 15px;*/
    height: auto !important;
    line-height: normal !important;
    align-self: center;
    font-family: 'Inter', sans-serif !important;
    letter-spacing: 0.5px !important;
}

.navbar-signup-btn:hover {
    background: transparent !important;
    color: #ffffff !important;
}

/* Navbar right section styling */
.navbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 0 0 auto;
}

/* Right menu styling (Business Owners, Industry Network) */
.right-menu-wrap {
    display: flex;
    align-items: center;
}

.right-menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.right-menu > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.right-menu > li > a {
    color: #ffffff !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    padding: 15px 20px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Inter', sans-serif !important;
}

.right-menu > li > a i {
    font-size: 11px;
}

.right-menu > li > a:hover {
    color: #ffffff !important;
    opacity: 0.8;
}

/* Dropdown menus for Business Owners & Industry Network */
.main-menu .menu-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
    font-size: 12px;
}

/* Submenu styling */
.main-menu .sub-menu {
    background: #ffffff !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 5px;
    padding: 10px 0;
    min-width: 220px;
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

/* Hide mobile navbar on desktop */
.navbar-mobile {
    display: none !important;
}

/* Medium desktop adjustments (1200px - 1400px) */
@media (max-width: 1400px) {
    .city-mega-menu {
        min-width: 800px;
        left: 0;
    }
    
    .main-menu > li > a {
        padding: 15px 12px !important;
        font-size: 13px !important;
    }
    
    .navbar-signup-btn {
        padding: 8px 18px !important;
        font-size: 13px !important;
    }
}

/* Small desktop / Large tablet adjustments (1024px - 1200px) */
@media (max-width: 1200px) {
    .city-mega-menu {
        min-width: 700px;
        max-width: calc(100vw - 40px);
        left: 0;
    }
    
    .city-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px 20px;
    }
    
    .main-menu > li > a {
        padding: 15px 10px !important;
        font-size: 13px !important;
    }
    
    .navbar-signup-btn {
        padding: 8px 15px !important;
        font-size: 12px !important;
        /*margin-left: 10px;*/
    }
    
    .navbar-search-btn {
        font-size: 16px !important;
    }
}

/* Mobile styles - Show mobile menu at tablet and below */
@media (max-width: 1024px) {
	
	.mobile-top-actions{
		margin-right: -20px;
	}
    /* Hide desktop navbar */
    .navbar-desktop {
        display: none !important;
    }
    
    /* Show mobile navbar */
    .navbar-mobile {
        display: block !important;
    }
    
    /* Mobile Top Bar (Orange) */
    .mobile-top-bar {
        background: #FF7900 !important;
        padding: 12px 0;
    }
    
    .mobile-top-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .mobile-logo img {
        height: 30px;
        width: auto;
    }
    
    .mobile-top-actions {
        display: flex;
        align-items: center;
        gap: 20px;
    }
    
    .mobile-search-btn {
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 18px;
        padding: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
    }
    
    .mobile-signup-text {
        color: #ffffff;
        font-size: 14px;
        font-weight: 500;
        font-family: 'Inter', sans-serif;
        letter-spacing: 0.5px;
    }
    
    /* Hamburger Menu */
   /* .mobile-menu-trigger {
        background: transparent;
        border: none;
        padding: 0;
        width: 24px;
        height: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        cursor: pointer;
    }
    
    .mobile-menu-trigger span {
        display: block;
        width: 100%;
        height: 2px;
        background: #ffffff;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-trigger:hover span {
        opacity: 0.8;
    }*/
    
    /* Mobile Second Bar (White) */
    .mobile-second-bar {
        background: #ffffff;
        border-bottom: 1px solid #e0e0e0;
        padding: 10px 0;
    }
    
    .mobile-second-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    
    .mobile-city-dropdown,
    .mobile-category-dropdown {
        flex: 1;
    }
    
    .mobile-city-trigger,
    .mobile-category-trigger {
        width: 100%;
        background: transparent;
        border: none;
        padding: 10px 12px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 15px;
        font-weight: 400;
        font-family: 'Inter', sans-serif;
        color: #333333;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .mobile-city-trigger:hover,
    .mobile-category-trigger:hover {
        background: #f5f5f5;
    }
    
    .mobile-city-trigger span,
    .mobile-category-trigger span {
        font-size: 15px;
        color: #333333;
    }
    
    .mobile-city-trigger i,
    .mobile-category-trigger i {
        font-size: 12px;
        color: #666666;
        transition: transform 0.3s ease;
    }
    
    /* Rotate caret when dropdown is open (add this with JavaScript) */
    .mobile-city-trigger.active i,
    .mobile-category-trigger.active i {
        transform: rotate(180deg);
    }
    
    /* Hide parent theme's default mobile header bar completely */
   /* .header-mobile {
        display: none !important;
    }*/
    
    /* Hide all mobile header variations */
    /*.mobile-template,
    .mobile-nav,
    #navbar-outer .mobile-menu-toggle,
    .mobile-header-1,
    .mobile-header-2,
    .mobile-header-3 {
        display: none !important;
    }*/
    
    /* Hide the default mobile trigger from parent theme */
   /* .mobile-nav-btn,
    .toggle-mobile-menu,
    a.mobile-trigger {
        display: none !important;
    }*/
    
    /* Show ONLY the mobile menu modal/sidebar when active */
    body.show-mobile-menu .mobile-sidebar,
    body.mobile-menu-active .mobile-sidebar,
    body.show-mobile-menu #off-canvas-nav,
    body.mobile-menu-active #off-canvas-nav,
    body.show-mobile-menu .mobile-menu-panel,
    body.mobile-menu-active .mobile-menu-panel {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Small mobile adjustments (phones) */
@media (max-width: 480px) {
    .mobile-top-actions {
        gap: 15px;
    }
    
    .mobile-signup-text {
        font-size: 13px;
    }
    
    .mobile-city-trigger span,
    .mobile-category-trigger span {
        font-size: 14px;
    }
}
.rbi-search{
	color: white;
}

.mobile-second-inner select{
	width: 100%;
}

.burger-icon{
	color: white !important;
}

.menu-item-no-link {
    pointer-events: none;
    cursor: default;
    color: inherit;
    text-decoration: none;
}


