/**
 * Next SEO & AEO Engine — estilos de frontend.
 * Neutros y ligeros; heredan tipografía del tema. Marca opcional en acentos.
 */

:root {
	--nsae-accent: #006EC6;
	--nsae-accent-2: #7CBB00;
	--nsae-ink: #5B5751;
}

/* Bloque de respuesta directa (AEO) */
.nsae-answer {
	border-left: 4px solid var(--nsae-accent);
	background: #f5f9fd;
	padding: 14px 18px;
	border-radius: 6px;
	margin: 0 0 24px;
}
.nsae-answer__label {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--nsae-accent);
	margin-bottom: 4px;
}
.nsae-answer p { margin: 0; }

/* Tabla de contenido */
.nsae-toc {
	border: 1px solid #e6e8ea;
	background: #fafbfc;
	border-radius: 8px;
	padding: 14px 18px;
	margin: 0 0 24px;
	font-size: .95em;
}
.nsae-toc__title {
	margin: 0 0 8px;
	font-weight: 700;
	color: var(--nsae-ink);
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: .5px;
}
.nsae-toc ul { list-style: none; margin: 0; padding: 0; }
.nsae-toc li { margin: 4px 0; }
.nsae-toc__lvl-3 { padding-left: 16px; }
.nsae-toc__lvl-4 { padding-left: 32px; }
.nsae-toc a { text-decoration: none; }
.nsae-toc a:hover { text-decoration: underline; }

/* FAQ */
.nsae-faq { margin: 28px 0; }
.nsae-faq__title { margin-bottom: 12px; }
.nsae-faq__item {
	border-bottom: 1px solid #e6e8ea;
	padding: 10px 0;
}
.nsae-faq__q {
	cursor: pointer;
	font-weight: 600;
	color: var(--nsae-ink);
	list-style: none;
}
.nsae-faq__q::-webkit-details-marker { display: none; }
.nsae-faq__q::before { content: "＋"; color: var(--nsae-accent); margin-right: 8px; }
.nsae-faq__item[open] .nsae-faq__q::before { content: "－"; }
.nsae-faq__a { padding: 8px 0 4px 24px; }

/* Relacionados */
.nsae-related {
	margin: 32px 0;
	padding-top: 18px;
	border-top: 2px solid #eef0f1;
}
.nsae-related__title { margin-bottom: 10px; }
.nsae-related ul { list-style: none; margin: 0; padding: 0; }
.nsae-related li { margin: 6px 0; padding-left: 18px; position: relative; }
.nsae-related li::before { content: "›"; position: absolute; left: 0; color: var(--nsae-accent-2); font-weight: 700; }

/* Hub de entidades */
.nsae-hub { margin: 28px 0; }
.nsae-hub__title { margin-bottom: 12px; }
.nsae-hub ul { list-style: none; margin: 0; padding: 0; }
.nsae-hub li {
	padding: 10px 0;
	border-bottom: 1px solid #eef0f1;
}
.nsae-hub li a { font-weight: 600; text-decoration: none; }
.nsae-hub__ex { display: block; color: #6c7781; font-size: .9em; margin-top: 2px; }

/* Breadcrumb */
.nsae-breadcrumb {
	font-size: .9em;
	color: #6c7781;
	margin: 0 0 16px;
}
.nsae-breadcrumb a { text-decoration: none; color: var(--nsae-accent); }
.nsae-breadcrumb__sep { color: #c3c7cb; margin: 0 2px; }

/* Enlazado automático */
.nsae-autolink { text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 2px; }

/* Glosario (DefinedTerm) */
.nsae-glossary { margin: 28px 0; }
.nsae-glossary__title { margin-bottom: 12px; }
.nsae-glossary dl { margin: 0; }
.nsae-glossary dt {
	font-weight: 700;
	color: var(--nsae-ink);
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #eef0f1;
}
.nsae-glossary dt:first-of-type { border-top: 0; padding-top: 0; }
.nsae-glossary dd { margin: 4px 0 0; color: #444; }
