@import url("../../noticias/css/noticias.css");

.noticias-pagination {
	gap: 12px;
}

.noticias-pagination .noticias-page-btn,
.noticias-pagination .noticias-page-btn:hover,
.noticias-pagination .noticias-page-btn:focus,
.noticias-pagination .noticias-page-btn:focus-visible,
.noticias-pagination .noticias-page-btn:active,
.noticias-pagination .noticias-page-btn.is-active,
.noticias-pagination .noticias-page-btn[disabled] {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 0 3px !important;
	border-radius: 0 !important;
	color: inherit !important;
	min-width: auto !important;
	height: auto !important;
	font-weight: 700;
	appearance: none;
	-webkit-appearance: none;
}

.noticias-pagination .noticias-page-btn[disabled] {
	opacity: 0.55;
}

body[data-page="create-photo"] .noticias-form-card {
	width: min(60vw, 1000px);
	margin: 0 auto;
}

#photoEditPreview {
	display: block;
	margin-top: 14px;
}

#photoEditPreview .noticias-preview-item {
	max-width: 260px;
}

#photoEditPreview .noticias-preview-item img {
	width: 100%;
	height: 180px;
	object-fit: contain;
	object-position: top center;
	background: #f5f5f5;
}

.noticias-toolbar {
	justify-content: center;
}

.noticias-results-meta {
	text-align: center;
}

.noticias-module-main {
	width: min(78vw, 1360px);
}

.noticias-pagination {
	justify-content: center;
}

#photoGrid .noticias-card-image {
	height: clamp(420px, 30vw, 560px);
}

@media (min-width: 901px) and (max-width: 1200px) {
	.noticias-module-main {
		width: min(88vw, 1180px);
	}

	#photoGrid .noticias-card-image {
		height: 420px;
	}
}

@media (max-width: 900px) {
	body[data-page="create-photo"] .noticias-form-card {
		width: 100%;
	}

	.noticias-toolbar {
		padding: 14px;
		justify-content: center;
	}

	.noticias-search-wrap {
		min-width: 100%;
		flex-basis: 100%;
	}

	.noticias-results-meta {
		width: 100%;
		font-size: 14px;
	}

	.noticias-pagination {
		padding-left: 14px;
		padding-right: 14px;
	}

	#photoGrid .noticias-card-image {
		height: 340px;
	}
}