.mh-sketch-gallery {
	display: block;
}

.mh-sketch-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0 0 1.5rem;
}

.mh-sketch-filter {
	border: 1px solid currentColor;
	border-radius: 999px;
	padding: 0.55rem 0.9rem;
	text-decoration: none;
}

.mh-sketch-filter.is-current {
	background: var(--wp--preset--color--foreground, #222);
	color: var(--wp--preset--color--background, #fff);
}

.mh-sketch-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.mh-sketch-card {
	background: var(--wp--preset--color--background, #fff);
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	min-width: 0;
	padding: 1rem;
}

.mh-sketch-card img {
	display: block;
	height: auto;
	max-width: 100%;
	width: 100%;
}

.mh-sketch-card h3,
.mh-sketch-card time {
	margin: 0;
}

.mh-sketch-card time {
	font-size: 0.85em;
}

.mh-sketch-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	justify-content: center;
	margin-top: 2rem;
}

.mh-sketch-pagination a,
.mh-sketch-pagination span {
	align-items: center;
	background: var(--wp--preset--color--background, #fff);
	border: 1px solid currentColor;
	border-radius: 4px;
	display: inline-flex;
	justify-content: center;
	min-height: 2.6rem;
	min-width: 2.6rem;
	padding: 0.4rem 0.7rem;
	text-decoration: none;
}

.mh-sketch-pagination span[aria-current="page"] {
	background: var(--wp--preset--color--foreground, #222);
	color: var(--wp--preset--color--background, #fff);
}

@media ( max-width: 780px ) {
	.mh-sketch-grid {
		grid-template-columns: 1fr;
	}
}
