@import url("../../noticias/css/noticias.css");

.videos-module-body .noticias-btn-secondary {
	background: transparent;
	border-radius: 8px;
	color: var(--noticias-color-heading);
}

.videos-module-body .noticias-btn-secondary:hover {
	background: var(--noticias-color-primary);
	border-color: var(--noticias-color-primary);
	color: #fff;
}

.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;
	-webkit-appearance: none;
	appearance: none;
}

.noticias-pagination .noticias-page-btn[disabled] {
	opacity: 0.55;
}

body[data-page="create-video"] .noticias-form-card {
	width: min(60vw, 1000px);
	margin: 0 auto;
}

.videos-module-body .noticias-card {
	overflow: hidden;
}

.videos-card-media,
.videos-player {
	display: block;
	width: 100%;
	background: linear-gradient(180deg, #111827, #030712);
}

.videos-card-media {
	height: 260px;
	object-fit: cover;
	cursor: pointer;
}

.videos-player-shell {
	position: relative;
	width: 100%;
	border-radius: 22px;
	overflow: hidden;
	background: #09111a;
	box-shadow: 0 20px 50px rgba(9, 17, 26, 0.25);
}

.videos-player-shell-detail {
	margin-bottom: 18px;
}

.videos-player-shell-viewer {
	width: min(88vw, 1040px);
	max-height: 72vh;
}

.videos-player-shell-admin {
	max-width: 420px;
}

.videos-player-shell .videos-player {
	max-height: 72vh;
}

.videos-meta-detail {
	flex-wrap: wrap;
	gap: 10px 16px;
}

.videos-modal-panel {
	max-width: 1040px;
}

.videos-viewer .videos-viewer-panel {
	width: min(92vw, 1180px);
	max-width: 1180px;
	padding-top: 54px;
}

.videos-preview-wrap {
	display: block;
	margin-top: 14px;
}

.videos-preview-item {
	max-width: 360px;
	border-radius: 18px;
	overflow: hidden;
	background: #09111a;
	box-shadow: 0 18px 38px rgba(9, 17, 26, 0.2);
}

.videos-meta-grid-field {
	grid-column: 1 / -1;
}

.videos-meta-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.noticias-toolbar {
	justify-content: center;
}

.noticias-results-meta {
	text-align: center;
}

.noticias-pagination {
	justify-content: center;
}

@media (max-width: 900px) {
	body[data-page="create-video"] .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;
	}

	.videos-meta-grid {
		grid-template-columns: 1fr;
	}

	.videos-card-media {
		height: 220px;
	}

	.videos-player-shell-viewer {
		width: min(92vw, 1040px);
	}
}
