#filters {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #707070;
}

#filters select {
    min-width: 250px;
    width: 280px;
    max-width: 50%;
    margin-right: 15px;
    margin-bottom: 10px;
    padding: 10px 15px;
    background: #2B2B2B;
	color:#fff;
    border: 1px solid #2B2B2B;
    border-radius: 0;
}

#clear-filters {
    border: 0;
    background-color: transparent;
    font-size: 16px;
    cursor: pointer;
    text-decoration: underline;
    color: #2a004e;
    margin-left: 10px;
}

#clear-filters:hover {
    color: #1a0030;
}

#results {
    display: flex;
    flex-wrap: wrap;
    overflow: auto;
}

.referens-feed {
    width: 100%;
}

.referens-post {
    position: relative;
    width: calc(33.33% - 20px);
    float: left;
    background-color: #f4f4f4;;
    padding: 15px;
    box-sizing: border-box;
    margin-right: 30px;
    margin-bottom: 30px;
    transition: opacity 0.6s;
    min-height: 450px;
    opacity: 0;
    animation: fadeIn 0.6s forwards;
	border-radius:5px;
}

.referens-post:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.referens-post h4 {
    margin: 10px 0;
    font-size: 20px;
    line-height: 1.3;
}

.referens-post:nth-child(3n) {
    margin-right: 0 !important;
}

.referens-post .referens-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.referens-image {
    margin-bottom: 15px;
}

.referens-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: cover;
}
.referens-post h4 {
	font-size:16px!important;
	text-transform:uppercase!important;
	font-weight:600!important;
}
.referens-anvandningsomrade {
	font-size:14px!important;
	color:#00C6F4;
	margin-right:5px;
	font-weight:400!important;
}


.referens-installationsplats {
min-width:100%;
margin-top:15px;
font-size:14px;
display:block;

}
.loading {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading p {
    font-size: 18px;
    margin: 0;
}

/* Responsiv design */
@media screen and (max-width: 1024px) {
    .referens-post {
        width: calc(50% - 15px);
    }
    
    .referens-post:nth-child(3n) {
        margin-right: 30px;
    }
    
    .referens-post:nth-child(2n) {
        margin-right: 0 !important;
    }
}

@media screen and (max-width: 699px) {
    #filters select {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
    }
    
    .referens-post {
        width: 100%;
        float: none;
        margin: 0 0 20px 0;
    }
    
    .referens-post:nth-child(n) {
        margin-right: 0 !important;
    }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}