/* Compatibilidade com Elementor Canvas + widget de Shortcode, igual
   à home — zera o espaçamento que o Elementor injeta ao redor. */
.site-main,
.entry-content,
.elementor-section,
.elementor-container,
.elementor-widget-container {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}

.ae-creator {
	font-family: 'Work Sans', Arial, sans-serif;
	background: oklch(97% 0.015 70);
	color: oklch(22% 0.02 60);
	max-width: 1100px;
	margin: 0 auto;
	padding: 48px 32px 100px;
}

.ae-creator h1, .ae-creator h3 { font-family: 'Playfair Display', Georgia, serif; margin: 0; }
.ae-creator p { margin: 0; }

.ae-creator-back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: oklch(40% 0.02 60);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 32px;
}

.ae-creator-back:hover { color: oklch(22% 0.02 60); }

.ae-creator-head {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 40px;
}

.ae-creator-icon {
	width: 52px; height: 52px;
	border-radius: 14px;
	background: oklch(92% 0.03 45);
	color: oklch(50% 0.12 45);
	display: flex; align-items: center; justify-content: center;
	flex-shrink: 0;
}

.ae-creator-head h1 { font-size: 30px; font-weight: 600; }
.ae-creator-head p { font-size: 15px; color: oklch(40% 0.02 60); margin-top: 6px; }
.ae-creator-head strong { color: oklch(22% 0.02 60); }

.ae-templates {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.ae-template {
	background: #fff;
	border: 1px solid oklch(92% 0.01 70);
	border-radius: 22px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform .15s ease, box-shadow .15s ease;
}

.ae-template:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 32px -16px oklch(20% 0.02 60 / 0.2);
}

.ae-template-preview {
	height: 180px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.ae-template-eyebrow {
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
}

.ae-template-name-mock {
	font-family: 'Playfair Display', serif;
	font-style: italic;
	font-size: 22px;
}

.ae-template-body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex-grow: 1;
}

.ae-template-body h3 { font-size: 19px; font-weight: 600; }
.ae-template-body p { font-size: 14px; line-height: 1.5; color: oklch(40% 0.02 60); flex-grow: 1; }

.ae-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 46px;
	padding: 0 22px;
	border-radius: 999px;
	font-family: 'Work Sans', sans-serif;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	margin-top: 8px;
}

.ae-btn--accent { background: oklch(55% 0.12 45); color: #fff; }
.ae-btn--accent:hover { background: oklch(45% 0.12 45); }

@media (max-width: 900px) {
	.ae-templates { grid-template-columns: 1fr; }
}
