/* -------------------------------------------------------------------------
 * AI Automation Hacks — custom.css
 * Loaded at priority 20 (after Elementor). Light-touch polish only,
 * scoped so it does NOT override Elementor widget styling.
 * ---------------------------------------------------------------------- */

/* Pretty text selection */
::selection{ background:rgba(139,92,246,.22); color:#241B45; }

/* Smooth fade-in for lazy-loaded images (theme content only, not Elementor) */
.entry-content img,
.card-thumb img,
.featured-thumb img{
	opacity:1;
	transition:opacity .4s ease;
}
.entry-content img[loading="lazy"]{ background:#F3EFFE; }

/* Gentle card entrance on the homepage grid */
@media (prefers-reduced-motion:no-preference){
	.post-card{ animation:aah-rise .5s ease both; }
	.post-grid .post-card:nth-child(2){ animation-delay:.06s; }
	.post-grid .post-card:nth-child(3){ animation-delay:.12s; }
	.post-grid .post-card:nth-child(4){ animation-delay:.18s; }
	@keyframes aah-rise{
		from{ opacity:0; transform:translateY(14px); }
		to{ opacity:1; transform:translateY(0); }
	}
}

/* Nicer scrollbar (supported browsers) */
@supports (scrollbar-color: auto){
	html{ scrollbar-color:#C4B5FD #F3EFFE; }
}

/* Keep Elementor full/canvas pages flush with the theme background */
.aah-canvas-content,
.aah-fullwidth{ background:transparent; }
