/* Team Tabs Styles - NUCLEAR iOS 17+ Fix */
/* Target all consultant competency lists */
.awsm-content-scrollbar ul {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.elementor-element-4dc1665e ul li,
.awsm-content-scrollbar ul li {
    list-style: none !important;
    list-style-type: none !important;
    position: relative;
    padding-left: 25px !important;
    margin-bottom: 5px;
}
.elementor-element-4dc1665e ul li::before,
.awsm-content-scrollbar ul li::before {
    content: "❯" !important;
    color: #8B0000 !important;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 14px;
}
.awsm-content-scrollbar h2 {
    font-size: 1.5rem!important;	
    margin-top: 10px!important;
}
.awsm-team-tabs-container {
    width: 100%;
    margin: 2rem 0;
    font-family: inherit;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* Tab Navigation */
.awsm-team-tabs-nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
}

/* NUCLEAR RESET FOR TAB BUTTONS */
.awsm-team-tab-button {
    /* Reset EVERYTHING */
    all: initial !important;
    
    /* Force inheritance */
    font-family: Arial, sans-serif !important;
    
    /* Layout */
    display: inline-block !important;
    box-sizing: border-box !important;
    padding: 12px 24px 12px 0 !important;
    margin-right: 24px !important;
    cursor: pointer !important;
    text-align: left !important;
    position: relative !important;
    
    /* MAXIMUM FORCE BLACK TEXT */
    color: black !important;
    color: #000 !important;
    color: #000000 !important;
    -webkit-text-fill-color: black !important;
    -webkit-text-fill-color: #000 !important;
    -webkit-text-fill-color: #000000 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    color-adjust: exact !important;
    forced-color-adjust: none !important;
    
    /* Typography forced */
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-decoration: none !important;
    text-shadow: none !important;
    
    /* Background forced */
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    
    /* Border/outline forced */
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    
    /* Visibility forced */
    visibility: visible !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    
    /* Transform forced */
    transform: none !important;
    -webkit-transform: none !important;
    
    /* iOS specific */
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    user-select: none !important;
    -webkit-font-smoothing: subpixel-antialiased !important;
    -moz-osx-font-smoothing: auto !important;
    
    /* Transition */
    transition: opacity 0.2s ease !important;
}

/* Force black on ANY child elements */
.awsm-team-tab-button * {
    color: black !important;
    color: #000 !important;
    color: #000000 !important;
    -webkit-text-fill-color: black !important;
    -webkit-text-fill-color: #000 !important;
    -webkit-text-fill-color: #000000 !important;
}

/* Hover state */
.awsm-team-tab-button:hover {
    color: black !important;
    -webkit-text-fill-color: black !important;
    opacity: 0.8 !important;
    background: transparent !important;
}

/* Focus state */
.awsm-team-tab-button:focus {
    color: black !important;
    -webkit-text-fill-color: black !important;
    outline: 2px solid black !important;
    outline-offset: 2px !important;
    background: transparent !important;
}

/* Active state */
.awsm-team-tab-button.active {
    color: black !important;
    -webkit-text-fill-color: black !important;
    font-weight: 900 !important;
}

/* Active underline */
.awsm-team-tab-button.active::after {
    content: '' !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    width: 100% !important;
    height: 3px !important;
    background: black !important;
    background-color: black !important;
    background-color: #000 !important;
    background-color: #000000 !important;
}

/* Tab Content */
.awsm-team-tabs-content {
    display: block !important;
    visibility: visible !important;
}

.awsm-team-tab-panel {
    display: none !important;
    animation: fadeInSimple 0.3s ease;
}

.awsm-team-tab-panel.active {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@keyframes fadeInSimple {
    from { opacity: 0; }
    to { opacity: 1; }
}

.awsm-team-tabs-container .awsm-grid-wrapper {
    padding: 0 !important;
}

/* EXTREME iOS OVERRIDES */
@supports (-webkit-touch-callout: none) {
    .awsm-team-tab-button,
    .awsm-team-tab-button * {
        color: black !important;
        -webkit-text-fill-color: black !important;
        min-height: 44px !important;
        font-weight: 700 !important;
    }
    
    .awsm-team-tab-button.active {
        font-weight: 900 !important;
    }
}

/* iOS WebKit specific */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    .awsm-team-tab-button,
    .awsm-team-tab-button * {
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .awsm-team-tabs-nav {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        flex-direction: column;
        border-bottom: none;
        margin-bottom: 20px;
    }
    
    .awsm-team-tab-button {
        margin-right: 0 !important;
        margin-bottom: 12px !important;
        padding: 12px 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
        min-height: 44px !important;
        display: block !important;
        width: 100% !important;
        color: black !important;
        -webkit-text-fill-color: black !important;
    }
    
    .awsm-team-tab-button.active::after {
        bottom: 0 !important;
    }
}

/* LAST RESORT - INLINE STYLE KILLER */
.awsm-team-tab-button[style] {
    color: black !important;
    -webkit-text-fill-color: black !important;
}

/* REALLY LAST RESORT - !important on pseudo-element content */
.awsm-team-tabs-nav .awsm-team-tab-button {
    color: black !important;
    -webkit-text-fill-color: black !important;
}

/* iOS 17+ specific using every possible selector */
html.ios .awsm-team-tab-button,
html.touch .awsm-team-tab-button,
.touch .awsm-team-tab-button,
.ios .awsm-team-tab-button {
    color: black !important;
    -webkit-text-fill-color: black !important;
}