/**
 * Front-end styles for the answer blocks.
 *
 * Deliberately plain and theme-agnostic: these blocks sit inside whatever the
 * theme already renders, so they borrow its typography and only add the
 * structure — a boxed answer, a readable table, questions as real headings.
 */

.aeo-answer {
	border-left: 4px solid currentColor;
	padding: 1rem 1.25rem;
	margin: 0 0 1.75rem;
	background: rgba(0, 0, 0, .035);
	border-radius: 4px;
}

.aeo-answer__q {
	font-weight: 700;
	margin: 0 0 .5rem;
	font-size: 1.05em;
}

.aeo-answer__a {
	margin: 0;
	font-size: 1.08em;
	line-height: 1.75;
}

.aeo-answer__points {
	margin: .85rem 0 0;
	padding-left: 1.15rem;
}

.aeo-answer__points li {
	margin-bottom: .3rem;
}

.aeo-answer__meta {
	margin: .75rem 0 0;
	font-size: .82em;
	opacity: .7;
}

.aeo-facts {
	margin: 2rem 0;
}

.aeo-facts table {
	width: 100%;
	border-collapse: collapse;
}

.aeo-facts th,
.aeo-facts td {
	text-align: left;
	padding: .6rem .75rem;
	border-bottom: 1px solid rgba(0, 0, 0, .12);
	vertical-align: top;
}

.aeo-facts th {
	width: 40%;
	font-weight: 600;
	opacity: .85;
}

.aeo-steps ol {
	padding-left: 1.25rem;
}

.aeo-steps li {
	margin-bottom: .9rem;
}

.aeo-steps li p {
	margin: .25rem 0 0;
}

.aeo-faq {
	margin: 2.5rem 0;
}

.aeo-faq__item {
	padding: 1rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, .1);
}

.aeo-faq__q {
	margin: 0 0 .4rem;
	font-size: 1.1em;
}

.aeo-related {
	margin: 2.5rem 0 0;
	padding: 1.25rem 1.5rem;
	background: rgba(0, 0, 0, .035);
	border-radius: 6px;
}

.aeo-related ul,
.aeo-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.aeo-related li,
.aeo-list li {
	padding: .4rem 0;
	border-bottom: 1px solid rgba(0, 0, 0, .07);
}

.aeo-related li:last-child,
.aeo-list li:last-child {
	border-bottom: 0;
}

.aeo-related__kind,
.aeo-list__note {
	display: inline-block;
	font-size: .8em;
	opacity: .65;
	margin-left: .5rem;
}

.aeo-list__note {
	display: block;
	margin: .15rem 0 0;
}

.aeo-autolink {
	text-decoration: underline;
	text-underline-offset: .18em;
}

@media (prefers-color-scheme: dark) {
	.aeo-answer,
	.aeo-related {
		background: rgba(255, 255, 255, .06);
	}

	.aeo-facts th,
	.aeo-facts td,
	.aeo-faq__item,
	.aeo-related li,
	.aeo-list li {
		border-color: rgba(255, 255, 255, .14);
	}
}
