/*
Theme Name:   Skillate Child
Author: Themeum
Author URI: https://www.themeum.com/
Theme URI: https://www.themeum.com/product/skillate/
Description: Tutor LMS WordPress Theme
Template:     skillate
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain:  skillate-child
*/

body.post-type-archive-courses .generic-padding>.container {
    padding-top: 0;
}
body .skillate-course-filter-wrap {
    visibility: visible;
    margin-top: 0%;
    display: none;
}

/* Filter Section Layout */
.skillate-top-filter-section .row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
    margin: 0;
}

.skillate-top-filter-section .col-12 {
    flex: 1 1 100%;
    padding: 0;
}

.skillate-top-filter-section .single-filter {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.skillate-top-filter-section .single-filter h4 {
    margin-bottom: 0;
    margin-top: 0;
    margin-right: 15px;
}

/* Filter Button Styles */
.skillate-top-filter-section {
    margin-bottom: 15px;
}
.skillate-top-filter-section .filter-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 0;
}

.skillate-top-filter-section .filter-button-label {
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background-color: #ffffff;
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    user-select: none;
    margin: 0;
}

.skillate-top-filter-section .filter-button-label:hover {
    border-color: #0073aa;
    background-color: #f0f8ff;
    color: #0073aa;
}

.skillate-top-filter-section .filter-button-label.active {
    background-color: #0073aa;
    border-color: #0073aa;
    color: #ffffff;
}

.skillate-top-filter-section .filter-button-label.active:hover {
    background-color: #005a87;
    border-color: #005a87;
}

.skillate-top-filter-section .filter-button-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
}

/* Modern browser support: Use has() selector as fallback */
@supports selector(:has(*)) {
    .skillate-top-filter-section .filter-button-label:has(.filter-button-input:checked) {
        background-color: #0073aa;
        border-color: #0073aa;
        color: #ffffff;
    }
    
    .skillate-top-filter-section .filter-button-label:has(.filter-button-input:checked):hover {
        background-color: #005a87;
        border-color: #005a87;
    }
}

.skillate-top-filter-section .filter-button-text {
    display: inline-block;
    pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skillate-top-filter-section .row {
        flex-direction: column;
        gap: 15px;
    }
    
    .skillate-top-filter-section .filter-button-group {
        gap: 8px;
    }
    
    .skillate-top-filter-section .filter-button-label {
        padding: 8px 16px;
        font-size: 13px;
    }
}

/* Course Category Tag Styles */
.course-category-tag {
    display: inline-block;
    padding: 4px 12px;
    background-color: #f0f0f0;
    color: #333333;
    font-size: 12px;
    font-weight: 500;
    border-radius: 12px;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tutor-card-body .tutor-meta .course-category-tag {
    margin: 0;
    padding: 5px 14px;
    background-color: #e8f4f8;
    color: #0073aa;
    border: 1px solid #b3d9e6;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
}

/* Course Label Overlay Styles */
.course-image-wrapper {
    position: relative;
    overflow: hidden;
}

.course-label-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 25%, rgba(0, 0, 0, 0.2) 50%);
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 15px;
    z-index: 1;
}

.course-label-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
}

.spinner-cls {
bottom: 70px;
}
.course-search-results {
    position: relative;
}