/* ===== Animated Headline Block ===== */
.wp-block-awgt-animated-headline {
	line-height: 1.4;
	margin: 1em 0;
}
.awgt-ah-static {
	color: inherit;
}
.awgt-ah-rotate {
	display: inline-block;
	color: var(--awgt-ah-color, #3858E9);
	min-width: 1em;
	transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Fade Animation */
.awgt-ah-anim-fade .awgt-ah-rotate.awgt-ah-out {
	opacity: 0;
}
.awgt-ah-anim-fade .awgt-ah-rotate.awgt-ah-in {
	opacity: 1;
	animation: awgt-ah-fade-in 0.5s ease;
}
@keyframes awgt-ah-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Slide Up Animation */
.awgt-ah-anim-slide-up .awgt-ah-rotate.awgt-ah-out {
	opacity: 0;
	transform: translateY(-20px);
}
.awgt-ah-anim-slide-up .awgt-ah-rotate.awgt-ah-in {
	animation: awgt-ah-slide-up 0.5s ease;
}
@keyframes awgt-ah-slide-up {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Slide Down Animation */
.awgt-ah-anim-slide-down .awgt-ah-rotate.awgt-ah-out {
	opacity: 0;
	transform: translateY(20px);
}
.awgt-ah-anim-slide-down .awgt-ah-rotate.awgt-ah-in {
	animation: awgt-ah-slide-down 0.5s ease;
}
@keyframes awgt-ah-slide-down {
	from { opacity: 0; transform: translateY(-20px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Scale Animation */
.awgt-ah-anim-scale .awgt-ah-rotate.awgt-ah-out {
	opacity: 0;
	transform: scale(0.7);
}
.awgt-ah-anim-scale .awgt-ah-rotate.awgt-ah-in {
	animation: awgt-ah-scale 0.5s ease;
}
@keyframes awgt-ah-scale {
	from { opacity: 0; transform: scale(0.7); }
	to { opacity: 1; transform: scale(1); }
}

/* Flip Animation */
.awgt-ah-anim-flip .awgt-ah-rotate.awgt-ah-out {
	opacity: 0;
	transform: rotateX(90deg);
}
.awgt-ah-anim-flip .awgt-ah-rotate.awgt-ah-in {
	animation: awgt-ah-flip 0.5s ease;
}
@keyframes awgt-ah-flip {
	from { opacity: 0; transform: rotateX(-90deg); }
	to { opacity: 1; transform: rotateX(0); }
}

/* Editor Preview Pulse */
.awgt-ah-editor-preview .awgt-ah-editor-pulse {
	animation: awgt-ah-editor-pulse 2s ease-in-out infinite;
}
@keyframes awgt-ah-editor-pulse {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.6; }
}