/* Poder entender — "buscador primero": Lexend, púrpura y menta llave,
   texto grande y control de tamaño de letra. */
:root {
	--c-bg: #EEE8FF;
	--c-surface: #FFFFFF;
	--c-ink: #1A0F3D;
	--c-ink-2: #33285A;
	--c-muted: #554B76;
	--c-line: #DCD3F5;
	--c-placeholder: #DCD3F5;
	--c-accent: #4B1FA8;
	--c-on-accent: #FFFFFF;
	--c-alt: #5CE1B5;
	--c-on-alt: #1A0F3D;
	--c-tag-ink: #1A0F3D;
	--c-on-tag-ink: #FFFFFF;
	--c-footer-bg: #1A0F3D;
	--c-footer-ink: #DCD3F5;
	--c-focus: #4B1FA8;
	--c-focus-dark: #5CE1B5;
	--c-link-underline: #4B1FA8;
	--c-quote-bg: #E4FAF2;
	--c-rank: #4B1FA8;
	--f-display: "Lexend", Verdana, sans-serif;
	--f-text: "Lexend", Verdana, sans-serif;
	--w-display: 800;
	--ls-display: -0.5px;
	--lh-display: 1.15;
	--radius: 22px;
	--radius-sm: 16px;
	--pe-wrap: 1180px;
}
body { font-size: 18px; }
.nt-main { zoom: var(--pe-zoom, 1); }
a:hover { text-underline-offset: 4px; }

/* Logotipo */
.nt-wordmark { display: inline-flex; flex-direction: column; font-family: var(--f-display); font-weight: 800; line-height: .92; letter-spacing: -1px; }
.nt-wordmark__a { font-size: 26px; color: #FFFFFF; }
.nt-wordmark__b { font-size: 21px; color: #5CE1B5; }
.nt-logo { color: #FFFFFF; }

/* Cabecera */
.pe-head { background: #4B1FA8; color: #FFFFFF; position: sticky; top: 0; z-index: 1030; }
.admin-bar .pe-head { top: 32px; }
@media (max-width: 782px) { .admin-bar .pe-head { top: 0; position: relative; } }
.pe-head__inner { max-width: var(--pe-wrap); margin: 0 auto; padding: 12px 28px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.pe-head__menu { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px; border: 2px solid #7B57D6; border-radius: 23px; background: none; color: #FFFFFF; font: inherit; font-size: 16px; font-weight: 500; cursor: pointer; }
.pe-head__menu[aria-expanded="true"] { background: #5CE1B5; border-color: #5CE1B5; color: #1A0F3D; }
.pe-size { margin-left: auto; display: flex; align-items: center; gap: 4px; background: #5D33BD; border-radius: 24px; padding: 4px; }
.pe-size__label { font-size: 13px; padding: 0 8px 0 10px; color: #E7DFFF; }
.pe-size button { min-width: 44px; height: 40px; border: 0; border-radius: 20px; background: none; color: #FFFFFF; font-family: inherit; font-weight: 700; cursor: pointer; }
.pe-size button[aria-pressed="true"] { background: #5CE1B5; color: #1A0F3D; }
.pe-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 23px; font-weight: 700; font-size: 16px; white-space: nowrap; }
.pe-btn:hover { text-decoration: none; filter: brightness(1.08); }
.pe-btn--menta { background: #5CE1B5; color: #1A0F3D; }
.pe-btn--menta:hover { color: #1A0F3D; }
.pe-btn--purple { background: #4B1FA8; color: #FFFFFF; }
.pe-btn--purple:hover { color: #FFFFFF; }
.pe-head :focus-visible { outline-color: #5CE1B5; }

.pe-menu { background: #3D1890; }
.pe-menu[hidden] { display: none; }
.pe-menu__inner { max-width: var(--pe-wrap); margin: 0 auto; padding: 18px 28px 22px; box-sizing: border-box; display: flex; flex-direction: column; gap: 16px; }
.pe-menu .nt-menu { flex-wrap: wrap; overflow: visible; padding: 0; gap: 8px; }
.pe-menu .nt-menu a { background: #5D33BD; color: #FFFFFF; font-size: 16px; min-height: 46px; }
.pe-menu .nt-menu .current-menu-item > a { background: #5CE1B5; color: #1A0F3D; }
.pe-menu .nt-searchform { max-width: 640px; }
@media (max-width: 767.98px) {
	.pe-head__inner { padding: 10px 16px; }
	.pe-size__label { display: none; }
	.pe-size { margin-left: 0; }
	.pe-head .pe-btn--menta { display: none; }
	.nt-logo .nt-mark { width: 40px; height: 40px; }
	.nt-wordmark__a { font-size: 22px; }
	.nt-wordmark__b { font-size: 18px; }
}

/* Buscador principal */
.pe-ask { background: #4B1FA8; color: #FFFFFF; padding: 40px 28px 96px; }
.pe-ask--small { padding-bottom: 80px; }
.pe-ask__inner { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.pe-ask__title { margin: 0; font-weight: 800; font-size: clamp(34px, 5vw, 52px); line-height: 1.1; letter-spacing: -1.5px; }
.pe-ask__text { margin: 0; font-size: 19px; color: #E7DFFF; }
.pe-ask__text p { margin: 0; }
.pe-ask__form { width: 100%; display: flex; gap: 8px; background: #FFFFFF; border-radius: 34px; padding: 8px 8px 8px 26px; box-sizing: border-box; box-shadow: 0 0 0 6px #5CE1B5; }
.pe-ask__form input { flex: 1 1 auto; min-width: 0; border: 0; background: none; font: inherit; font-size: 19px; color: #1A0F3D; }
.pe-ask__form input:focus { outline: none; }
.pe-ask__form:focus-within { box-shadow: 0 0 0 6px #5CE1B5, 0 0 0 9px #FFFFFF; }
.pe-ask__form button { min-height: 54px; padding: 0 26px; border: 0; border-radius: 27px; background: #4B1FA8; color: #FFFFFF; font: inherit; font-weight: 700; cursor: pointer; }
.pe-ask__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pe-ask__chips span { font-size: 15px; color: #E7DFFF; padding: 9px 4px; }
.pe-ask__chips a { padding: 8px 16px; border-radius: 20px; background: #5D33BD; color: #FFFFFF; font-size: 15px; }
.pe-ask :focus-visible { outline-color: #5CE1B5; }

/* Contenedor que sube sobre el púrpura */
.pe-wrap { max-width: var(--pe-wrap); margin: -48px auto 0; padding: 0 28px; box-sizing: border-box; display: flex; flex-direction: column; gap: 56px; position: relative; }
.pe-wrap--plain { margin-top: 56px; }
@media (max-width: 575.98px) { .pe-wrap { padding: 0 16px; } .pe-ask { padding-left: 16px; padding-right: 16px; } }

.pe-today { background: #FFFFFF; border-radius: 26px; padding: 26px; display: flex; flex-wrap: wrap; gap: 28px; align-items: center; box-shadow: 0 8px 0 #5CE1B5; }
.pe-today__media { flex: 1 1 320px; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: var(--c-placeholder); }
.pe-today__body { flex: 999 1 420px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.pe-today__title { margin: 0; font-weight: 800; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -1px; }
.pe-today__text { margin: 0; font-size: 18px; line-height: 1.7; color: var(--c-ink-2); }
.pe-today__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 15px; color: var(--c-muted); }
.pe-pill { display: inline-block; background: #5CE1B5; color: #1A0F3D; border-radius: 999px; padding: 5px 12px; font-size: 14px; font-weight: 500; }
.pe-easy { display: inline-flex; align-items: center; gap: 6px; background: #E4FAF2; color: #1A0F3D; border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 500; }
.pe-easy::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1A8F6B; }

.pe-block__title { margin: 0 0 20px; font-weight: 800; font-size: 32px; letter-spacing: -1px; }
.pe-topics { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
@media (max-width: 575.98px) { .pe-topics { grid-template-columns: minmax(0, 1fr); } }
.pe-topic { display: flex; gap: 16px; background: #FFFFFF; border-radius: 22px; padding: 22px; }
.pe-topic:hover { text-decoration: none; box-shadow: 0 0 0 3px #4B1FA8; }
.pe-topic__icon { flex-shrink: 0; }
.pe-topic__body { display: flex; flex-direction: column; gap: 6px; }
.pe-topic__name { font-weight: 800; font-size: 22px; }
.pe-topic__desc { font-size: 16px; line-height: 1.5; color: var(--c-ink-2); }
.pe-topic__count { font-size: 14px; color: var(--c-muted); }

.pe-split { display: flex; flex-wrap: wrap; gap: 36px; align-items: flex-start; }
.pe-split__main { flex: 999 1 560px; min-width: 0; }
.pe-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.pe-row { display: flex; gap: 20px; align-items: center; padding: 18px 0; border-top: 2px solid #DCD3F5; }
.pe-row__media { flex: 0 0 110px; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: var(--c-placeholder); }
.pe-row__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.pe-row__cat { font-size: 14px; font-weight: 700; color: #4B1FA8; }
.pe-row__title { margin: 0; font-weight: 800; font-size: 22px; line-height: 1.25; }
.pe-row__meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 15px; color: var(--c-muted); }
@media (max-width: 575.98px) { .pe-row__media { flex-basis: 80px; } .pe-row__title { font-size: 19px; } }
.pe-more { display: inline-flex; margin-top: 18px; font-weight: 700; color: #4B1FA8; }
.pe-empty { font-size: 18px; background: #FFFFFF; border-radius: 22px; padding: 26px; margin: 0; }

.nt-mostread { border: 0; }
.nt-mostread__list li { font-size: 16px; line-height: 1.4; }
.pe-nl { background: #4B1FA8; color: #FFFFFF; border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 110px; }
.pe-nl__title { margin: 0; font-weight: 800; font-size: 22px; line-height: 1.25; }
.pe-nl__text { margin: 0; font-size: 15px; color: #E7DFFF; }
.pe-nl__form { display: flex; flex-direction: column; gap: 10px; }
.pe-nl__form input { min-height: 50px; border: 0; border-radius: 25px; padding: 0 16px; font: inherit; font-size: 16px; }
.pe-nl__form button { min-height: 50px; border: 0; border-radius: 25px; background: #5CE1B5; color: #1A0F3D; font: inherit; font-weight: 700; cursor: pointer; }
.pe-nl :focus-visible { outline-color: #5CE1B5; }

.pe-gloss { background: #5CE1B5; border-radius: 26px; padding: 30px; }
.pe-gloss__title { margin: 0 0 6px; font-weight: 800; font-size: 30px; letter-spacing: -1px; }
.pe-gloss__text { margin: 0 0 18px; font-size: 17px; }
.pe-gloss__list { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pe-gloss__list a { display: inline-block; padding: 10px 18px; border-radius: 22px; background: #FFFFFF; font-weight: 500; font-size: 16px; }
.pe-gloss__all { font-weight: 700; }
.pe-gloss :focus-visible { outline-color: #1A0F3D; }

.nt-card__title { font-family: var(--f-display); font-weight: 800; font-size: 21px; line-height: 1.22; }
.nt-tag { border-radius: 999px; padding: 5px 12px; font-size: 14px; }
.nt-main > .nt-section { max-width: var(--pe-wrap); padding-left: 28px; padding-right: 28px; box-sizing: border-box; }

/* Nota: una sola columna de lectura */
.pe-article { max-width: 820px; margin: 0 auto; padding: 36px 28px 0; box-sizing: border-box; }
.pe-crumbs { display: flex; gap: 8px; font-size: 15px; color: var(--c-muted); margin-bottom: 18px; }
.pe-article__title { margin: 0 0 16px; font-weight: 800; font-size: clamp(32px, 4.6vw, 50px); line-height: 1.12; letter-spacing: -1.2px; }
.pe-article__lead { margin: 0 0 20px; font-size: 21px; line-height: 1.6; color: var(--c-ink-2); }
.pe-article__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 15px; color: var(--c-muted); margin-bottom: 18px; }
.pe-article__figure { margin: 28px 0; }
.pe-article__figure img { border-radius: 22px; height: auto; }
.pe-article__figure figcaption { margin-top: 8px; font-size: 14px; color: var(--c-muted); }
.pe-toc { background: #FFFFFF; border-left: 8px solid #5CE1B5; border-radius: 0 22px 22px 0; padding: 22px 26px; margin-bottom: 32px; }
.pe-toc__title { margin: 0 0 10px; font-weight: 800; font-size: 21px; }
.pe-toc ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; font-size: 17px; }
.pe-toc ol a { text-decoration: underline; text-decoration-color: #5CE1B5; text-decoration-thickness: 3px; text-underline-offset: 4px; }
.pe-content { max-width: none; font-size: 19px; line-height: 1.8; }
.pe-content > * + * { margin-top: 1.3em; }
.pe-content h2 { font-size: 28px; line-height: 1.25; scroll-margin-top: 110px; }
.pe-content blockquote { border-left: 6px solid #5CE1B5; border-radius: 0 16px 16px 0; }
.pe-article__foot { margin-top: 40px; padding-top: 24px; border-top: 2px solid #DCD3F5; display: flex; flex-direction: column; gap: 14px; }
.pe-article__foot-title { margin: 0; font-weight: 800; font-size: 20px; }
.nt-share__btn { border: 0; background: #FFFFFF; }
.nt-tags a { background: #FFFFFF; }
