/* aieo/taxonomy-archive-footer — long-form SEO copy below the product
 * grid on need / brand / category archives. The runtime emits a wrapping
 * <section> only when the term's `footer_text` is non-empty, so the slot
 * is invisible when unused.
 *
 * The section is the layout (the page's side padding and, through
 * WordPress's constrained layout, the theme's wide or content width for
 * what it holds: render.php); the panel is the text's own box, as wide as
 * the header's row. No reading column: the page's width is the text's. */

.aieo-tax-footer {
	margin-top: var(--wp--preset--spacing--7, 48px);
}

.aieo-tax-footer__body {
	box-sizing: border-box;
	padding: var(--wp--preset--spacing--6, 32px);
	background: var(--wp--preset--color--neutral-50, var(--wp--preset--color--subtle, #f9f9f9));
	border-radius: var(--wp--custom--rooster--shape--panel, 8px);
	font-size: 0.95rem;
	line-height: 1.6;
	color: var(--wp--preset--color--fg, #1a1a1a);
}

.aieo-tax-footer__body > :first-child {
	margin-top: 0;
}

.aieo-tax-footer__body > :last-child {
	margin-bottom: 0;
}

.aieo-tax-footer__body h2,
.aieo-tax-footer__body h3,
.aieo-tax-footer__body h4 {
	margin-top: 1.25em;
	margin-bottom: 0.5em;
	font-weight: 500;
	line-height: 1.25;
}

.aieo-tax-footer__body h2 { font-size: 1.25rem; }
.aieo-tax-footer__body h3 { font-size: 1.05rem; }
.aieo-tax-footer__body h4 { font-size: 0.95rem; }

.aieo-tax-footer__body p {
	margin: 0 0 1em;
}

.aieo-tax-footer__body ul,
.aieo-tax-footer__body ol {
	margin: 0 0 1em;
	padding-left: 1.5em;
}

.aieo-tax-footer__body a {
	color: var(--wp--preset--color--accent-text, var(--wp--preset--color--accent, #F46767));
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (max-width: 600px) {
	.aieo-tax-footer__body {
		padding: var(--wp--preset--spacing--5, 24px);
	}
}
