.mn-aparat,
.mn-aparat * {
	box-sizing: border-box;
}

.mn-video-item {
	overflow: hidden;
	align-self: stretch;
	border: 1px solid #e2e2e2;
	border-radius: .5rem;
	background: #fff;
	transition: box-shadow .2s ease, transform .2s ease;
}

.mn-video-item:hover {
	box-shadow: 0 .4rem 1.25rem rgba(0, 0, 0, .13);
	transform: translateY(-2px);
}

.mn-video-trigger {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
	font: inherit;
	text-align: start;
	text-decoration: none;
}

.mn-video-trigger:focus-visible {
	outline: 3px solid #2271b1;
	outline-offset: -3px;
}

.mn-video-box {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #111;
}

.mn-video-box img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mn-video-detail {
	display: block;
	padding: .85rem 1rem;
	direction: rtl;
	text-align: right;
}

.mn-video-title {
	display: block;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-weight: 600;
}

.mn-video-meta {
	position: absolute;
	right: .65rem;
	bottom: .65rem;
	z-index: 2;
	padding: .15rem .45rem;
	border-radius: .3rem;
	background: rgba(0, 0, 0, .72);
	color: #fff;
	font-size: .75rem;
	font-variant-numeric: tabular-nums;
}

.mn-play-icon-container {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	background: rgba(0, 0, 0, .5);
	transform: translate(-50%, -50%);
}

.mn-play-icon {
	display: block;
	width: 100%;
	height: 100%;
	background: #fff;
	-webkit-mask: url(../icons/play-icon.svg) no-repeat center / 42%;
	mask: url(../icons/play-icon.svg) no-repeat center / 42%;
}

.mn-video-modal[hidden] {
	display: none;
}

.mn-video-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: clamp(.5rem, 3vw, 2rem);
}

.mn-video-modal-backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(0, 0, 0, .88);
	cursor: pointer;
}

.mn-video-modal-content {
	position: relative;
	z-index: 1;
	width: min(100%, 1100px);
	aspect-ratio: 16 / 9;
	background: #000;
}

.mn-video-modal-content iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.mn-video-modal-close {
	position: absolute;
	top: .5rem;
	right: .5rem;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #b32d2e;
	color: #fff;
	cursor: pointer;
	font-size: 2rem;
	line-height: 1;
}

.mn-aparat-modal-open {
	overflow: hidden;
}

.mn-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	justify-content: center;
	margin-top: 1.25rem;
}

.mn-pagination-button {
	display: inline-flex;
	min-width: 2.25rem;
	min-height: 2.25rem;
	align-items: center;
	justify-content: center;
	padding: .35rem .7rem;
	border: 1px solid currentColor;
	border-radius: .35rem;
	text-decoration: none;
}

.mn-pagination-button.is-current {
	background: #2271b1;
	color: #fff;
}

.mn-user-without-video {
	padding: .75rem 1rem;
	border-inline-start: 4px solid #dba617;
	background: #fff8e5;
	text-align: center;
}
