/* Realizace Filter Styles */

.realizace-filter-wrapper {
    width: 100%;
    margin: 0 auto;
}

/* Dropdown Filter */
.realizace-filter-dropdown {
    position: relative;
    margin-bottom: 40px;
}

.filter-toggle {
    width: 100%;
	max-width:520px;
	background-color:#fff;
	border:none;
	border-bottom: 1px solid #000;
	padding:0px 3px 3px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
    transition: all 0.2s ease;
}


.filter-toggle .filter-arrow {
    transition: transform 0.4s ease;
	margin-bottom: 3px;
}

.filter-toggle.active .filter-arrow {
    transform: rotate(180deg);
}
.filter-toggle:hover .filter-label{
	color:#555555;
	transition: all 0.4s ease;
}
.filter-toggle .filter-label{
	transition: all 0.4s ease;
}
.filter-dropdown-menu {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.8s ease, opacity 0.5s ease;
    z-index: 100;
}


.filter-dropdown-menu[aria-hidden="false"] {
    max-height: 350px;
    opacity: 1;
    transition: max-height 0.8s ease, opacity 0.5s ease;
}

.filter-option {
    width: calc(100% - 20px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 3px 3px 0px;
	margin-left:20px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #000;
    cursor: pointer;
    font-size: 18px;
    text-align: left;
}

.filter-option .checkmark {
    opacity: 1;
    margin-bottom: 3px;
}

.filter-option.active .checkmark {
    opacity: 1;
}

/* Loader */
.realizace-loader {
    text-align: center;
    padding: 40px 0;
}

.loader-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #000;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Results Grid */
.realizace-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
	row-gap: 0px;
    margin-bottom: 40px;
    transition: opacity 0.3s ease;
}

@media (max-width: 1023px) {
    .realizace-results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .realizace-results-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
	.filter-toggle {
	max-width:320px;
}
	.filter-dropdown-menu{
		max-width:320px;
	}

}

@media (max-width: 500px) {
    
	.filter-toggle {
	max-width:200px;
}
	.filter-dropdown-menu{
		max-width:200px;
	}

}

/* No Results */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}

.no-results p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* Load More */
.realizace-load-more-wrapper {
    text-align: center;
    padding: 0;
}

.realizace-load-more {
    padding: 14px 32px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 0px;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
	transition: all 0.3s ease;
	margin-top:20px;
}

.realizace-load-more:hover {
    background: #fff;
	color:#000;
	transition: all 0.3s ease;
}

.realizace-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Breakdance Global Block wrapper - zajistí že každý blok je samostatná položka v gridu */
.realizace-results-grid > * {
    width: 100%;
}