.team-grid-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.team-filters {
    margin-bottom: 30px;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
	margin-bottom: 10px;
	justify-content: center;
}

.filter-tag {
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

    .filter-tag.active {
        background: #0073aa;
        color: white;
        border-color: #0073aa;
    }

.sorting {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
	
	
	
}

	

	
	

.sort-select {
    padding: 8px 12px;
    border-radius: 4px;
	flex-wrap: flex;
	
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    transition: all 0.3s ease;
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
	display: flex;
	flex-direction: column;
    min-width: 250px;
}

    .team-member:hover {
        transform: translateY(-5px);
    }

.member-image {
    height: 250px;
    background-size: cover;
    padding-top: 100%;
    background-position: center;
}

.member-name {
    margin: 15px;
    font-weight: bold;
    font-size: 1.2em;
}


.member-dates {
    padding: 0 10px 10px;
    display: flex;
    gap: 10px;
	flex: 1;
}

.date-group {
    background: #DBDBD6;
    padding: 10px;
    border-radius: 8px;
    flex: 1; /* Sprawia, że elementy dostosowują szerokość */
    min-width: 50px; /* Minimalna szerokość bloku */
    max-width: 180px; /* Zapobiega zbyt szerokiemu rozciąganiu */
    text-align: center;
}

.date-header {
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    font-size: 0.8em;
	line-height: 1.2;
}

.time-slots {
    display: flex;
	gap: 5px;
	justify-content: center;
}

.time-slot {
    background: #2384B6;
    color: white;
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 0.8em;
    min-width: 45px;
    text-align: center;
    line-height: 1.3;
}

.team-search {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 20px;
}

.clear-filters {
    background: #f5e6d9;
    color: black;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
	margin-left: 15px;
	margin-right: 15px;
    cursor: pointer;
	max-width: 150px;
}

.sort-buttons {
    display: flex;
    gap: 10px;
}

.sort-button {
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

    .sort-button.active {
        background: #0073aa;
        color: white;
        border-color: #0073aa;
    }

.sorting label {
    margin-right: 10px;
    font-weight: bold;
	
	
}

.team-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.popup-content {
    background: white;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    padding: 30px;
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
	justify-content: space-around;
    align-items: center;
}

.close-popup {
    position: absolute;
    top: 5px;
    right: 1px;
    background: none;
    border: none;
    font-size: 3em;
    cursor: pointer;
    color: #333;
    font-weight: bold;
}

.popup-image {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    padding-top: 150px;
    margin-bottom: 20px;
    overflow: hidden;
    width: 30%;
    padding-left: 150px;
}

.popup-title {
    /*margin: 50px 0 0 50px;*/
    color: #333;
}

.popup-title:hover{
    font-weight: bold;
    color: darkcyan !important;
}

.popup-dates {
    margin-bottom: 20px;
}

.popup-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 5px;
}

.read-more-button {
    display: inline-block;
    padding: 1px 10px;
    background: #6cb6dd;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s;
	align-content: center;
    max-height: 27px;
}

    .read-more-button:hover {
        background: #005a87;
    }

/* Dostosuj istniejące style dla lepszego wyświetlania w popupie */
.popup-dates .date-group {
    margin-bottom: 15px;
}

.popup-dates .time-slots {
    gap: 8px;
}

.popup-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

    .popup-dates .date-group {
        flex: 0 0 auto;
        min-width: 50px;
        margin-bottom: 0;
    }

.scrollable-dates {
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
}

    .scrollable-dates::-webkit-scrollbar {
        height: 6px;
    }

    .scrollable-dates::-webkit-scrollbar-thumb {
        background: #0073aa;
        border-radius: 4px;
    }

.date-group {
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.popup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
	margin-top: 15px;
    transition: all 0.3s ease;
}

.popup-tags.is-hidden {
    display: none;
}


.toggle-popup-tags {
    background: #f0f0f0;
    color: #666;
    font-size: 1em;
    padding: 4px 8px;
    border-radius: 12px;
    line-height: 1.2;
    border: 1px solid #ddd;
	font-weight: bold;
}

.post-tag {
    background: #f0f0f0;
    color: #666;
    font-size: 0.75em;
    padding: 4px 8px;
    border-radius: 12px;
    line-height: 1.2;
    border: 1px solid #ddd;
}
.popup-image-link {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.popup-image-link:hover {
    transform: scale(1.02);
}



.popup-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #6cb6dd; 
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 8px; 
}

.popup-image-link:hover .popup-image::after {
    opacity: 60%;
}



.filter-category h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.separator {
    border: none;
    height: 1px;
    background-color: #ccc;
    margin: 0;
}

.nurt-category {
    position: relative;
}

.nurt-toggle {
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: all 0.3s;
	font-weight: bold;
}

.nurt-toggle:hover {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.nurt-tags-container {
    transition: opacity 0.3s ease;
}

.nurt-tags-container.hidden {
    display: none;
}

.nurt-category .category-tags {
    flex-wrap: wrap;
    gap: 8px;
}

.filter-category {
    position: relative;
}

.filter-category-toggle {
    background: #f0f0f0;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 200px;
    text-align: left;
    transition: all 0.3s;
}

.filter-category-toggle:hover {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.filter-category-toggle.has-active-tag {
    background: #0073aa !important;
    color: white !important;
    border-color: #0073aa !important;
}

.filter-category-toggle .arrow {
    margin-left: 10px;
    transition: transform 0.3s;
	pointer-events: none;

}

.filter-category-toggle.active .arrow {
    transform: rotate(180deg);
}

.category-tags {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 10px;
	justify-content: space-around;

}

.category-tags.open {
    max-height: fit-content;
    opacity: 1;
    padding: 10px;
    margin-top: 5px;
}

/* ──────────────────────────────────────────────────────────────
   Zagnieżdżone podkategorie (np. "Obszary")
   ────────────────────────────────────────────────────────────── */

.filter-subcategory {
    width: 100%;
}

.filter-subcategory-toggle {
    width: 100%;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 6px;
}


.filter-subcategory-toggle.has-active-tag {
    background: #0073aa !important;
    color: white !important;
    border-color: #0073aa !important;
}

.filter-subcategory-toggle .arrow {
    margin-left: 10px;
    transition: transform 0.3s;
    pointer-events: none;
}

.filter-subcategory-toggle.active .arrow {
    transform: rotate(180deg);
}

.subcategory-tags {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.25s ease;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 6px;
    margin-bottom: 10px;
	justify-content: center;
}

.subcategory-tags.open {
    max-height: fit-content;
    opacity: 1;
    padding: 6px;
}



.bookero-container {
    margin: 20px 0;
    min-height: 400px; /* Minimalna wysokość dla ładowania widgetu */
}


.workers-section .worker-info[data-v-6791d58e] {
    display: none !important;
}


body .bookero-plugin-form {
    margin: 10px auto !important;
}

body .bookero-plugin-form-heading {
	display: none !important;
}

.services-section[data-v-304786aa] {
    padding: 10px 0 50px;
}

.team-carousel .swiper-slide {
    display: flex;
    height: auto;
}

.swiper {
    padding: 40px !important;
}


.week-date-month-year[data-v-8f7c0f70] {
    font-weight: 500;
    position: relative !important;
    right: 0;
    top: 0 !important;
}