.cfh-file-preview__item {
	position: relative;
	display: grid;
	gap: 5px;
	cursor: grab;
}

.cfh-file-preview__item img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 5px;
}

.cfh-file-preview__item button {
	position: absolute;
	top: 3px;
	right: 3px;
	width: 28px;
	height: 28px;
	border: 0;
	border-radius: 50%;
	background: #7d2020;
	color: #fff;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.cfh-conditional-field[hidden] {
	display: none;
}

.cfh-search-filters {
	margin-top: 12px;
	padding: 12px 16px;
	border: 1px solid #dce5e1;
	border-radius: 12px;
	background: #f8fbfa;
}

.cfh-search-filters summary {
	cursor: pointer;
	font-weight: 700;
}

.cfh-filter-form {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	align-items: end;
	margin-top: 14px;
}

.cfh-filter-form label {
	display: grid;
	gap: 5px;
}

.cfh-filter-form input,
.cfh-filter-form select {
	width: 100%;
	min-height: 44px;
	padding: 0.65rem 0.75rem;
	border: 1px solid #cbd8d3;
	border-radius: 9px;
	background: #fff;
}

@media (min-width: 961px) {
	.cfh-search {
		grid-template-columns: 1.3fr 1fr 0.8fr 0.8fr auto auto;
	}
}

@media (max-width: 760px) {
	.cfh-component-page .cf-main {
		padding-top: 71px;
	}

	.cfh-filter-form {
		grid-template-columns: 1fr;
	}
}

/* Imagen genérica cuando una publicación no tiene fotografía. */
.cfh-placeholder-img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cfh-profile-gallery__empty .cfh-placeholder-img {
	max-width: 560px;
	height: auto;
	border-radius: 14px;
	box-shadow: 0 14px 35px rgba(20, 38, 78, .12);
}
