.subpage-container-filters {
	display: grid;
    grid-template-columns: 350px 1fr;
    gap: 20px;
}
.subpage-filters {
    margin-bottom: 20px;
}

.subpage-filters h4 {
    margin: 15px 0 5px;
    font-size: 20px;
}

.subpage-filters label {
    display: inline-block;
    margin: 0px;
    font-size: 16px;
    cursor: pointer;
}

.subpage-container-filters .loader {
	display: none;
}

.subpages-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
	margin-bottom: 40px;
}

.subpage-card {
    padding: 15px;
    background: #fff;
    text-align: center;
    transition: all 0.3s ease;
}

.subpage-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.subpage-card img {
    max-width: 100%;
    height: auto;
}

.subpage-card h3 {
    margin-top: 10px;
    font-size: 18px;
}

.subpage-card .enquiry-button {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #222;
	border: 1px solid #222;
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: background-color 0.3s ease;
	display: block;
    border-radius: 0px;
}

.subpage-card .enquiry-button:hover {
    background-color: #FFF;
    color: #222;
	border: 1px solid #222;
}

.subpage-filters .reset-button {
    background-color: #e0e0e0;
    border: none;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    border-radius: 4px;
    padding: 8px 15px;
    transition: background-color 0.3s ease;
}

.subpage-filters .reset-button:hover {
    background-color: #c8c8c8;
}

.subpage-card h3 {
	text-align: left;
}

.subpage-card h3 a {
	color: #1f1f1f;
	text-align: left;
}

.subpage-card h3 a:hover {
	color: #000000;
}

#subpage-reset {
	border: 2px solid #1F1F1F;
	background: #fff;
	border-radius: 0px;
	cursor: pointer;
}

#subpages-cards-container .no-results {
	text-align: center;
    font-size: 24px;
    margin: 20px 0px;
    font-weight: bold;
}

.subpages-pagination {
    text-align: center;
    margin: 20px 0;
}

.subpages-pagination .page-link {
    display: inline-block;
    margin: 0 5px;
}

.subpages-pagination .page-link a {
    padding: 8px 15px;
    color: #000;
    text-decoration: none;
    border: 1px solid #1F1F1F;
    background: #fff;
    border-radius: 0px;
}

.subpages-pagination .page-link .current {
    color: #fff;
    background: #222;
	border: 1px solid #222;
	padding: 8px 15px;
}


@media screen and (max-width: 790px) {
	.subpage-container-filters {
    	grid-template-columns: 1fr;
	}
}

/* Loader styles */
.loader {
    display: none;
    text-align: center;
    padding: 30px;
}

.loader img {
    width: 50px;
    height: 50px;
}