/* Vidora overrides for legacy AuraX theme */

/* Single aspect-ratio player box (legacy .player-wrap) */
.theme-aurax .player .player-wrap,
.theme-aurax .player .embed-wrap.player-wrap {
	height: 0;
	padding-top: 56.25%;
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #000;
	margin: 0;
}

.theme-aurax .player .player-wrap > .player-wrap,
.theme-aurax .player .player-wrap > .xd-player {
	/* Prevent nested aspect-ratio wrappers from doubling height */
	position: absolute !important;
	inset: 0 !important;
	height: auto !important;
	padding: 0 !important;
	width: 100% !important;
}

.theme-aurax .player .player-wrap video,
.theme-aurax .player .player-wrap iframe,
.theme-aurax .player .player-wrap .xd-player video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: contain;
	background: #000;
	border: 0;
}

.theme-aurax .xd-player-play {
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 4;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 72px;
	height: 72px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--mer-red, #fb4738);
	color: #fff;
	cursor: pointer;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.theme-aurax .xd-player-play svg {
	width: 34px;
	height: 34px;
	margin-left: 4px;
}

.theme-aurax .player-wrap.xd-player.is-playing .xd-player-play {
	display: none;
}

.theme-aurax .video-page .info-line h1 {
	width: 100%;
	margin: 0 0 .25rem;
	font-size: 1.25rem;
	line-height: 1.35;
	font-weight: 600;
}

.theme-aurax .video-page .item-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	color: var(--mer-dark-light, #888);
}

.theme-aurax .video-page .item-meta > div {
	display: inline-flex;
	align-items: center;
	gap: .35rem;
}

.theme-aurax .tabs-menu .btn.btn-grey.active {
	background: var(--mer-dark, #222);
	border-color: var(--mer-dark, #222);
	color: #fff;
}

.theme-aurax .tabs-menu .btn.btn-grey.active .icon {
	stroke: #fff;
}

.theme-aurax .fav-btn.active,
.theme-aurax .fav-btn[aria-pressed="true"] {
	color: var(--mer-red, #fb4738);
}

.theme-aurax .fav-btn.active .icon,
.theme-aurax .fav-btn[aria-pressed="true"] .icon {
	stroke: var(--mer-red, #fb4738);
	fill: var(--mer-red, #fb4738);
}

.theme-aurax .pagination-wrap {
	width: 100%;
}

.theme-aurax .hibrit-pagination-wrapper {
	width: 100%;
	clear: both;
}

.theme-aurax .hibrit-pagination-wrapper > .pagination {
	margin-bottom: 0;
}

.theme-aurax .load-more-container {
	width: 100%;
	text-align: center;
	margin-top: 25px;
	margin-bottom: 30px;
}

.theme-aurax .load-more-btn,
.theme-aurax a#load-more-btn,
.theme-aurax button#loadMoreRelated {
	display: inline-block;
	width: 100%;
	padding: 14px 16px;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.3;
	cursor: pointer;
	border: 0;
	border-radius: 4px;
	text-decoration: none;
	text-align: center;
	background: var(--mer-dark, #222);
	color: #fff;
	transition: opacity 0.2s ease, background 0.2s ease;
}

.theme-aurax .load-more-btn:hover,
.theme-aurax a#load-more-btn:hover,
.theme-aurax button#loadMoreRelated:hover {
	background: #111;
	color: #fff;
	opacity: 1;
}

.theme-aurax .load-more-btn.loading,
.theme-aurax .load-more-btn:disabled {
	opacity: 0.7;
	cursor: wait;
}

.theme-aurax .alphabet-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 25px;
	padding: 15px;
	background: rgba(0, 0, 0, 0.04);
	border-radius: 8px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	justify-content: center;
}

.theme-aurax .alphabet-filter a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 35px;
	height: 35px;
	font-weight: 600;
	color: var(--mer-text, #333);
	text-decoration: none;
	border-radius: 4px;
	background: var(--mer-bg-panel, #f5f5f5);
	border: 1px solid rgba(0, 0, 0, 0.06);
	transition: all 0.2s ease;
	padding: 0 10px;
}

.theme-aurax .alphabet-filter a:hover,
.theme-aurax .alphabet-filter a.active {
	background: var(--mer-red, #fb4738);
	color: #fff;
	border-color: var(--mer-red, #fb4738);
	transform: translateY(-2px);
}

.theme-aurax .tags-grid {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 10px 12px;
	margin: 0;
	padding: 0 0 40px;
	list-style: none;
}

.theme-aurax .tags-grid > li {
	margin: 0;
	padding: 0;
	flex: 0 0 auto;
	max-width: 100%;
}

.theme-aurax .tags-grid .btn.btn-grey {
	width: auto;
	max-width: none;
	flex: 0 0 auto;
	height: auto;
	min-height: 0;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.2;
	text-transform: capitalize;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

.theme-aurax .tags-grid > li.not-found-msg {
	flex: 1 1 100%;
	width: 100%;
}

.theme-aurax .not-found-msg {
	width: 100%;
	text-align: center;
	padding: 50px 20px;
	background: rgba(0, 0, 0, 0.04);
	border-radius: 8px;
	border: 1px dashed rgba(0, 0, 0, 0.1);
	margin-bottom: 30px;
}

.theme-aurax .not-found-msg svg {
	width: 48px;
	height: 48px;
	fill: var(--mer-dark-light, #999);
	margin-bottom: 15px;
	opacity: 0.5;
}

.theme-aurax .not-found-msg h3 {
	margin: 0 0 10px;
	color: var(--mer-text, #333);
	font-size: 1.2rem;
}

.theme-aurax .not-found-msg p {
	margin: 0;
	color: var(--mer-dark-light, #999);
	font-size: 0.95rem;
}

.theme-aurax .item-category .item-total .ml-1 {
	margin-left: 0.25rem;
}

.theme-aurax .home-tags {
	padding: 10px 0;
	margin: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
}

.theme-aurax .home-tags > li {
	margin: 0;
	padding: 0;
}

.theme-aurax .home-tags .btn.btn-grey {
	height: auto;
	min-height: 0;
	padding: 10px 18px;
	border-radius: .375rem;
	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.2;
	text-transform: capitalize;
	display: inline-flex;
	align-items: center;
}

.theme-aurax .text {
	padding: 1rem 0 2rem;
	color: var(--mer-dark-light, #666);
	font-size: 0.95rem;
	line-height: 1.6;
}

.theme-aurax .text p {
	margin: 0;
}
