/* MHG Academy Core — small additions on top of the theme's design stylesheet. */

/* Sliders: Swiper (Elementor's copy) with the legacy markup. */
.mhg-swiper {
	overflow: hidden;
	position: relative;
}
.mhg-swiper:not(.inited) .swiper-wrapper {
	display: flex;
}
.mhg-swiper:not(.inited) .swiper-slide {
	flex: 0 0 calc(100% / var(--mhg-per-view, 1));
}
.slider_type_bg .swiper-slide {
	background-size: cover;
	background-position: center;
	height: 100%;
}

/* AJAX pager */
.mhg-pager.loading {
	opacity: 0.5;
	pointer-events: none;
}
.mhg-pager .nav-disabled a {
	pointer-events: none;
	opacity: 0.4;
}

/* Reactions */
.trx_addons_emotions_item {
	cursor: pointer;
}
.trx_addons_emotions.loading {
	opacity: 0.6;
}

/* <picture> around course/lesson images (includes/images.php): no box of its own, the img lays out as before. */
.mhg-picture { display: contents; }
