.ajax-blog-filter {
    margin-bottom: 30px;
}

.filter-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    align-items: end;
}

input[type=email],
input[type=number],
input[type=password],
input[type=reset],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
select,
textarea {
    background: transparent;
}

.col-md-6 {
    width: 100%;
    max-width: 295px;
}

button#clear-filters {
    background: transparent;
    max-width: 150px;
    width: 100%;
}

button#clear-filters {
    border: 1.12px solid #5A5A5A;
    border-radius: 6.75px;
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 1;
    letter-spacing: -0.004px;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    height: 40px;
}

button#clear-filters.category-bulb{
	    border: 1px solid transparent;
    position: relative;
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    background-image: linear-gradient(#011024, #011024), repeating-linear-gradient(102.91deg, #571bff, #c74aeb 25%, #f2a900 50%, #c74aeb 75%, #571bff);
	background-size: 200% 200%;
    background-position: 0 50%;
    position: relative;
    transition: background-position .3s ease;
}

button#clear-filters.category-bulb:hover {
    animation: rotate-gradient-border 3s linear infinite;
}

@keyframes rotate-gradient-border{
0% {
    background-position: 0 50%;
}
50% {
    background-position: 100% 50%;
}
100% {
    background-position: 0 50%;
}
}

span.post-category.category-bulb {
    font-family: Inter;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    letter-spacing: -0.004px;
    padding: 4px 12px;
    border-radius: 8px;
	color: #EDF2F7;
}

.filter-controls select {
    border: 1.12px solid #5A5A5A;
    color: #fff;
}

.filter-controls {
    margin-bottom: 24px;
}

/* button#clear-filters:hover {
    background: #f3f3f304;
} */

button#clear-filters {
    background: transparent;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: white;
    min-width: 150px;
}

.filter-group button {
    padding: 8px 16px;
    background: #007cba;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.filter-group button:hover {
    background: #005a87;
}

.filter-loading {
    text-align: center;
    padding: 20px;
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}

div#elementor-ajax-results,
.elementor-blog-filter {
    max-width: 1084px;
    width: 100%;
    margin: auto;
}

.elementor-loop-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    gap: 15px;
}

.col-md-3 {
    width: 100%;
    max-width: 351px;
}

.filtered-post {
/*     border: 1.12px solid #5A5A5A; */
    padding: 19px;
    border-radius: 9px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
	background: #041830;
}

.post-data {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}

.post-data .post-thumbnail {
    width: 100%;
    overflow: hidden;
    border-radius: 7px;
/*     border: 1.12px solid #5A5A5A; */
}

.post-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    gap: 16px;
}

.post-content h2 {
    font-family: "Inter", Sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -0.004;
    text-decoration: none;
    margin-right: 30px;
    margin-bottom: 0px;
    color:#E2E8F0;
}

.card-link {
    display: flex;
}

.ast-single-post .entry-content a.card-link {
    text-decoration: none;
}

.ast-single-post .entry-content a.card-link:hover h2 {
    text-decoration: underline;
}

.post-content p {
    font-family: "Inter", Sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    letter-spacing: -0.4%;
    vertical-align: middle;
    margin-bottom: 0px;
    color: #A0AEC0;
}

.post-meta {
    display: flex;
    justify-content: space-between;
    padding-top: 18px;
    border-top: 1.12px solid #5a5a5a;
    margin-top: 32px;
    color: #A0AEC0;
}

div#elementor-ajax-results .post-divider {
    margin-top: 24px;
}

.ajax-pagination ul.ajax-pagination-list {
    list-style: none;
    padding-left: 0px;
}

.ajax-pagination-list {
    display: flex;
    padding-top: 20px;
    justify-content: space-between;
}

button.pagination-btn {
    padding: 0;
    background: transparent;
    color:#A0AEC0;
    border: unset;
}

.number-pagination button.pagination-btn.active {
    padding: 9px 16px;
    background: #fff;
    color: #0F0F0F;
}

.number-pagination button.pagination-btn {
    padding: 9px 16px;
}

input[type=email]:focus,
input[type=password]:focus,
input[type=reset]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=url]:focus,
select:focus,
textarea:focus {
    background-color: transparent;
}

select option {
    color: #0F0F0F;
}

/* Using your Lucide chevron-down SVG */
#filter-author,
#filter-category,
#filter-tag {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m6 9 6 6 6-6"></path></svg>');
    background-repeat: no-repeat;
    background-position: right 19px center;
    background-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 45px;
}

@media (max-width: 768px) {
    .filter-controls {
        flex-direction: row;
        align-items: stretch;
    }

    .filter-group {
        width: 100%;
    }

    .filter-group select {
        min-width: 48%;
    }

    .col-md-3.col-xm-12 {
        max-width: 100%;
    }

    .filter-controls .col-md-6 {
        max-width: 46%;
    }

    .filter-controls button#clear-filters {
        max-width: 46%;
    }

    .number-pagination {
        display: none;
    }
}

@media (min-width:767px) and (max-width:1024px){
	.col-md-3{
		max-width: 100% !important;
	}
	
	.ast-single-post .entry-content a.card-link{
		width: 49%;
	}
}

@media (min-width:1943px){
	
div#elementor-ajax-results,
.elementor-blog-filter {
    max-width: 1940px;
    width: 100%;
    margin: auto;
}
	.col-md-6 {
    width: 100%;
    max-width: 574px;
}

button#clear-filters {
    background: transparent;
    max-width: 168px;
    width: 100%;
}
	
	.col-md-3{
		max-width:610px;
	}
	
	.elementor-loop-container{
		justify-content: space-between;
		gap: 40px;
	}
	
	.post-data{
		gap: 40px;
	}
	
	.post-content{
		gap: 24px;
	}
	
	.post-content h2{
		font-size: 32px;
	}
	
	.post-content p{
		font-size: 30px;
	}
	
	span.post-category.category-bulb{
		font-size:24px;
		line-height: 1.5;
	}
	
	span.post-modified{
		font-size: 24px;
	}
	
	button.pagination-btn.text-pagination{
		font-size: 32px;
	}
	
	.number-pagination button.pagination-btn{
		font-size: 30px;
	}
	
}