.apf-grid {
    display: grid;
    gap: 20px;
}
.apf-post {
    border: 1px solid #ddd;
    padding: 15px;
    background: #fff;
}
@media (min-width: 1024px) {
    .apf-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 1024px) {
    .apf-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .apf-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
#apf-loadmore {
    display: block;
    width: 100%;
    padding: 10px;
    background: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}
.apf-no-posts {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-top: 20px;
	display:none;
}
.reset-button {
	background-color: #55595d;
    color: white;
    border: none;
    padding: 14px 15px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    margin-left: 23px;
    height: max-content;
}
.reset-button:hover {
    background-color: #35383c;
}

.modal-wrapper {
	display: none;
	position: fixed;
	top: 0; left: 0;
	width: 100vw; height: 100vh;
	z-index: 9999;
}
.modal-wrapper .overlay {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0, 0, 0, 0.6);
}
.modal-box {
	position: relative;
	background: #fff;
	width: 90%;
	max-width: 400px;
	margin: 100px auto;
	padding: 20px;
	border-radius: 10px;
	z-index: 10001;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.close-modal {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 24px;
	cursor: pointer;
}