/*
Theme Name:           Anvet
Theme URI:            https://anvet.com
Author:               Anvenot
Author URI:           https://anvet.com
Description:          Multi-Purpose Responsive Theme
Version:              3.20.7
Requires at least:    6.4
Requires PHP:         7.4
Text Domain:          anvet
License:              https://anvet.com/licenses
License URI:          https://anvet.com/licenses
*/


/***************
All custom CSS should be added to Anvet > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/

/* ==========================================================================
   Custom Tab Options for UX Builder Tabs Component
   ========================================================================== */

/* Default Tab Title Styling */
.tabbed-content .tab-title {
    display: block;
    margin-bottom: 15px;
}

/* Title Layout Left styling */
.tabbed-content.tabbed-layout-left {
    display: flex !important;
    flex-wrap: wrap !important;
    flex-direction: row !important;
    align-items: center !important;
}

.tabbed-content.tabbed-layout-left .tab-title {
    order: 1 !important;
    margin: 0 20px 15px 0 !important;
    display: inline-block !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

.tabbed-content.tabbed-layout-left ul.nav {
    order: 2 !important;
    margin: 0 0 15px 0 !important;
    flex-grow: 1 !important;
    width: auto !important;
    display: flex !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
}

.tabbed-content.tabbed-layout-left .tab-panels {
    order: 3 !important;
    width: 100% !important;
}

/* Custom Title Style Helper Classes */
.tabbed-content .tab-title.font-bold {
    font-weight: bold;
}
.tabbed-content .tab-title.italic {
    font-style: italic;
}
.tabbed-content .tab-title.uppercase {
    text-transform: uppercase;
}

/* Custom Title Size Helper Classes */
.tabbed-content .tab-title.size-xsmall { font-size: 0.75em; }
.tabbed-content .tab-title.size-small { font-size: 0.85em; }
.tabbed-content .tab-title.size-medium { font-size: 1em; }
.tabbed-content .tab-title.size-large { font-size: 1.25em; }
.tabbed-content .tab-title.size-xlarge { font-size: 1.5em; }

/* Scroll on Mobile Option styling */
@media (max-width: 767px) {
    .tabbed-content.has-mobile-scroll ul.nav {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Hide scrollbar Firefox */
        padding-bottom: 5px; /* Prevent cutting off of links or active state styles */
    }
    
    .tabbed-content.has-mobile-scroll ul.nav::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari/Opera */
    }
    
    .tabbed-content.has-mobile-scroll ul.nav > li {
        flex: 0 0 auto !important;
        white-space: nowrap !important;
    }
    
    /* When title is aligned left, stack them on mobile for better layout and space */
    .tabbed-content.tabbed-layout-left .tab-title {
        margin: 0 0 10px 0 !important;
        width: 100% !important;
        display: block !important;
    }
    
    .tabbed-content.tabbed-layout-left ul.nav {
        width: 100% !important;
        justify-content: flex-start !important;
    }
}

/* Custom User Account Dropdown styling */
.nav-dropdown.user-account-dropdown {
    padding: 0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    min-width: 240px !important;
    background: #fff !important;
}

.user-dropdown-header {
    display: flex !important;
    align-items: center !important;
    padding: 16px 20px !important;
    background-color: #faf9f6 !important;
    border-bottom: 1px solid #f2f0eb !important;
    margin: 0 !important;
}

.user-dropdown-avatar {
    margin-right: 12px !important;
    flex-shrink: 0 !important;
    line-height: 0 !important;
}

.user-dropdown-avatar img {
    border-radius: 50% !important;
    width: 48px !important;
    height: 48px !important;
    object-fit: cover !important;
    display: block !important;
}

.user-dropdown-info {
    display: flex !important;
    flex-direction: column !important;
    text-align: left !important;
}

.user-display-name {
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    line-height: 1.2 !important;
    margin-bottom: 2px !important;
}

.user-login-name {
    font-size: 12px !important;
    color: #6b7280 !important;
    line-height: 1.2 !important;
}

.user-dropdown-item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.user-dropdown-item a {
    display: flex !important;
    align-items: center !important;
    padding: 12px 20px !important;
    color: #374151 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
}

.user-dropdown-item a:hover {
    background-color: #f9fafb !important;
    color: var(--fs-color-primary, #0066cc) !important;
}

.user-dropdown-icon {
    margin-right: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #9ca3af !important;
    transition: color 0.2s ease !important;
}

.user-dropdown-item a:hover .user-dropdown-icon {
    color: var(--fs-color-primary, #0066cc) !important;
}

/* Remove default borders applied to nav-dropdown items by theme */
.nav-dropdown.user-account-dropdown li,
.nav-dropdown.user-account-dropdown li + li,
.nav-dropdown.user-account-dropdown li a,
.nav-dropdown.user-account-dropdown li + li a {
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
}

/* Logged-in header account layout: icon left, text right */
.account-item.has-dropdown > a {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex-direction: row !important;
}

/* Custom override for dividers */
.is-divider {
    height: 1px !important;
    max-width: none !important;
}
/* Make post titles bold */
.blog-post-inner .post-title, .blog-post-inner .post-title a {
    font-weight: bold !important;
}