/* Master search form (sidebar) */
.medart-search label {
	display: block;
	margin: 10px 0 3px;
	font-size: 12px;
	font-weight: 700;
	color: #fff;
}
.medart-search input[type="text"],
.medart-search select {
	width: 100%;
	padding: 4px 6px;
	border: 1px solid #b5b5b5;
	border-radius: 0;
	font-size: 12px;
	background: #fff;
	color: #000;
}
.medart-search__buttons {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 14px;
	align-items: center;
}
.medart-search button,
.medart-search__reset {
	display: inline-block;
	min-width: 110px;
	padding: 5px 14px;
	border: 1px solid #262626;
	border-radius: 3px;
	background: linear-gradient(#7a7a7a, #3d3d3d);
	color: #fff;
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
	cursor: pointer;
}
.medart-search button:hover,
.medart-search__reset:hover {
	background: linear-gradient(#999, #555);
	color: #fff;
}

/* Gallery page grid */
.medart-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 20px;
}
.medart-gallery__item {
	margin: 0;
	text-align: center;
}
.medart-gallery__item img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.medart-gallery__item figcaption {
	margin-top: 6px;
	font-size: 12px;
	font-weight: 700;
}
.medart-gallery__item figcaption a {
	color: #a00;
}
