.mrhe-rotating-heading {
	position: relative;
	width: 100%;
}

.mrhe-rotating-heading__inner {
	position: relative;
	width: 100%;
}

.mrhe-rotating-heading .mrhe-heading-item {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	margin: 0;
	width: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--mrhe-fade-duration, 600ms) ease, visibility var(--mrhe-fade-duration, 600ms) ease;
	pointer-events: none;
}

.mrhe-rotating-heading .mrhe-heading-item.is-active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	z-index: 2;
}

.mrhe-rotating-heading .mrhe-heading-item.is-fading-out {
	opacity: 0;
	visibility: hidden;
}

.mrhe-rotating-heading .mrhe-heading-item.is-fading-in {
	opacity: 1;
	visibility: visible;
}

.mrhe-rotating-heading .mrhe-heading-item a {
	color: inherit;
	text-decoration: inherit;
}

/* Elementor heading size classes (match core widget) */
.mrhe-rotating-heading .elementor-size-small {
	font-size: 15px;
}

.mrhe-rotating-heading .elementor-size-medium {
	font-size: 19px;
}

.mrhe-rotating-heading .elementor-size-large {
	font-size: 29px;
}

.mrhe-rotating-heading .elementor-size-xl {
	font-size: 39px;
}

.mrhe-rotating-heading .elementor-size-xxl {
	font-size: 59px;
}
