@import url("./design-system.css");
@import url("./page-templates.css");

:root {
  --lx-blue: var(--lx-blue-800);
  --lx-blue-deep: var(--lx-blue-900);
  --lx-orange: var(--lx-orange-600);
  --lx-orange-hover: var(--lx-orange-700);
  --lx-soft: var(--lx-blue-50);
  --lx-white: var(--lx-surface);
  --lx-radius: var(--lx-radius-lg);
  --lx-radius-btn: var(--lx-radius-pill);
  --lx-shadow: var(--lx-shadow-md);
  --lx-shadow-btn: 0 10px 20px rgba(185, 56, 0, .2);
  --lx-btn-h: var(--lx-control-h);
}

body.bg-arena {
  background: var(--lx-white);
  color: var(--lx-ink);
}

.slide { opacity: 0; z-index: 1; pointer-events: none; }
.slide.is-active { opacity: 1 !important; z-index: 2; pointer-events: auto; }

/* Boton principal: los que hoy se ven distintos pasan a ser el mismo. */
a.lx-btn,
a.lx-inner-btn,
a.lx-pill,
button.lx-btn,
#lx-consent-accept {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: var(--lx-btn-h);
  height: auto;
  margin: 0;
  padding: 0 22px;
  border: 0;
  border-radius: var(--lx-radius-btn);
  background: var(--lx-orange);
  color: var(--lx-white) !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--lx-shadow-btn);
  transform: none;
}

a.lx-btn:hover,
a.lx-inner-btn:hover,
a.lx-pill:hover,
button.lx-btn:hover,
#lx-consent-accept:hover {
  background: var(--lx-orange-hover);
  color: var(--lx-white) !important;
  transform: none;
}

/* Variante clara: conserva contraste cuando una llamada a la acción vive sobre fondos oscuros. */
a.lx-inner-btn.lx-inner-btn-light,
.lx-topics-final a.lx-inner-btn {
  border: 1.5px solid var(--lx-blue);
  background: var(--lx-white);
  color: var(--lx-blue) !important;
  box-shadow: 0 10px 24px rgba(7, 28, 56, .14);
}

a.lx-inner-btn.lx-inner-btn-light:hover,
.lx-topics-final a.lx-inner-btn:hover {
  border-color: var(--lx-blue);
  background: var(--lx-blue-100);
  color: var(--lx-blue) !important;
}

/* Boton secundario, misma altura y radio. */
a.lx-btn-ghost,
a.lx-topics-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--lx-btn-h);
  height: auto;
  margin: 0;
  padding: 0 22px;
  border: 1.5px solid var(--lx-blue);
  border-radius: var(--lx-radius-btn);
  background: var(--lx-white);
  color: var(--lx-blue) !important;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  transform: none;
}

a.lx-btn-ghost:hover,
a.lx-topics-secondary:hover {
  background: var(--lx-soft);
  border-color: var(--lx-blue);
  color: var(--lx-blue) !important;
  transform: none;
}

/* Botón secundario invertido para secciones de fondo azul. */
.lx-topics-method a.lx-topics-secondary {
  border-color: rgba(255, 255, 255, .55);
  background: transparent;
  color: var(--lx-white) !important;
}

.lx-topics-method a.lx-topics-secondary:hover {
  border-color: var(--lx-white);
  background: var(--lx-white);
  color: var(--lx-blue) !important;
}

.lx-hero .lx-home-actions a.lx-btn,
.lx-hero .lx-home-actions a.lx-btn-ghost,
.lx-home-actions a.lx-btn,
.lx-home-actions a.lx-btn-ghost {
  width: auto;
  height: var(--lx-btn-h);
  min-height: var(--lx-btn-h);
  flex: 0 0 auto;
}

.lx-context-actions .lx-inner-btn,
.lx-home-cta .lx-btn,
.lx-movil .lx-pill {
  width: 100%;
}

a.lx-btn:focus-visible,
a.lx-inner-btn:focus-visible,
a.lx-pill:focus-visible,
a.lx-btn-ghost:focus-visible,
a.lx-topics-secondary:focus-visible {
  outline: 3px solid var(--lx-blue);
  outline-offset: 3px;
}

/* Enlaces de texto */
a.lx-text-link {
  color: var(--lx-orange);
  font-weight: 800;
  text-decoration: none;
}

a.lx-text-link:hover { color: var(--lx-orange-hover); }

/* Cajas */
.lx-content-card,
.lx-context-card,
.lx-post-card,
.lx-home-source,
.lx-quiz-panel,
.lx-article-cta {
  border: 1px solid var(--lx-line);
  border-radius: var(--lx-radius);
  box-shadow: var(--lx-shadow);
}

.lx-content-card,
.lx-post-card { background: var(--lx-white); }

/* Tipografia compartida */
.lx-hero h1,
.lx-inner-hero h1,
.lx-topics-hero h1,
.lx-faq-hero h1,
.lx-route-hero h1 {
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.lx-inner-lead,
.lx-hero .lx-lead,
.lx-topics-hero-copy > p,
.lx-faq-hero-copy > p,
.lx-route-lead {
  color: var(--lx-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.lx-inner-eyebrow,
.lx-home-kicker,
.lx-home-label,
.lx-topics-kicker,
.lx-topics-label,
.lx-faq-kicker {
  margin: 0 0 12px;
  color: var(--lx-orange);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.lx-entry h2,
.lx-home h2,
.lx-quiz-group h2 {
  color: var(--lx-blue-deep);
  font-weight: 800;
  letter-spacing: -0.03em;
}

/* Menu */
.lx-header {
  background: var(--lx-white);
  border-bottom: 1px solid var(--lx-line);
}

.lx-nav { gap: 22px; }

.lx-nav a {
  color: var(--lx-muted);
  font-size: 15px;
  font-weight: 700;
}

.lx-nav a:hover,
.lx-nav a.is-current { color: var(--lx-blue); }

.lx-nav a.is-current::after {
  background: var(--lx-orange);
  height: 3px;
}
.lx-nav a.lx-pill.is-current::after { display: none !important; }

/* Centro de práctica: portada compacta y equilibrada. */
.lx-practice-hero {
  padding: clamp(50px,5vw,72px) 0 62px;
}
.lx-practice-hero-grid {
  grid-template-columns: minmax(0,1.4fr) minmax(300px,350px);
  gap: clamp(34px,4vw,60px);
}
.lx-practice-hero h1 {
  max-width: 900px;
  font-size: clamp(2.85rem,4.2vw,3.8rem);
  line-height: 1.02;
}
.lx-practice-lead {
  max-width: 720px;
  margin-top: 22px;
}
.lx-practice-hero-card {
  padding: 30px;
  border-radius: 26px;
}

@media (max-width: 900px) {
  .lx-practice-hero-grid { grid-template-columns: 1fr; }
  .lx-practice-hero-card { max-width: none; }
}

@media (max-width: 650px) {
  .lx-practice-hero { padding: 40px 0 54px; }
  .lx-practice-hero h1 { font-size: clamp(2.35rem,11vw,3rem); }
  .lx-practice-actions { align-items: stretch; flex-direction: column; }
  .lx-practice-actions a { width: 100%; }
}

/* Landing del simulacro clase B. */
.lx-sim-main { color: #0b1f3a; background: #fff; }
.lx-sim-main .lx-wrap { width: min(1120px,calc(100% - 48px)); margin-inline: auto; }
.lx-sim-hero { position: relative; overflow: hidden; padding: clamp(58px,7vw,92px) 0 78px; background: linear-gradient(105deg,#f3f9ff 0%,#f3f9ff 45%,rgba(243,249,255,.88) 58%,rgba(243,249,255,.2) 100%),url("home/step-simulacro-960w.webp") center right/58% 100% no-repeat; }
.lx-sim-hero::after { content: ""; position: absolute; right: -90px; bottom: -135px; width: 420px; height: 260px; border-radius: 50%; background: rgba(248,83,14,.11); filter: blur(2px); }
.lx-sim-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(40px,7vw,92px); align-items: center; }
.lx-sim-copy { max-width: 720px; }
.lx-sim-crumbs { display: flex; align-items: center; gap: 9px; width: max-content; margin: 0 0 28px; padding: 9px 13px; list-style: none; border: 1px solid #dbe8f3; border-radius: 999px; background: rgba(255,255,255,.88); box-shadow: 0 9px 24px rgba(12,58,140,.07); }
.lx-sim-crumbs li { color: #62748a; font-size: .76rem; font-weight: 800; }
.lx-sim-crumbs li + li::before { content: "›"; margin-right: 9px; color: var(--lx-orange); }
.lx-sim-crumbs a { color: var(--lx-blue); text-decoration: none; }
.lx-sim-hero h1 { max-width: 700px; margin: 0; color: var(--lx-blue); font-size: clamp(3rem,5.4vw,4.8rem); font-weight: 900; line-height: 1; letter-spacing: -.055em; }
.lx-sim-hero h1 span { color: var(--lx-orange); }
.lx-sim-hero-copy { max-width: 680px; margin: 22px 0 0; color: #526781; font-size: clamp(1rem,1.7vw,1.13rem); line-height: 1.72; }
.lx-sim-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.lx-sim-btn { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 24px; border: 2px solid var(--lx-blue); border-radius: 999px; color: var(--lx-blue); font-weight: 900; text-decoration: none; transition: transform .2s ease,box-shadow .2s ease; }
.lx-sim-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(12,58,140,.12); }
.lx-sim-btn--primary { border-color: var(--lx-orange); color: #fff; background: var(--lx-orange); box-shadow: 0 14px 30px rgba(248,83,14,.2); }
.lx-sim-summary { padding: 30px; color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: 28px; background: linear-gradient(150deg,#071f42,#0c3a8c); box-shadow: 0 26px 60px rgba(12,58,140,.22); }
.lx-sim-summary > span { display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 24px; border-radius: 15px; background: var(--lx-orange); font-size: 1.28rem; font-weight: 900; }
.lx-sim-summary strong { display: block; font-size: 1.42rem; line-height: 1.15; }
.lx-sim-summary ul { display: grid; gap: 12px; margin: 23px 0 0; padding: 22px 0 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.lx-sim-summary li { display: flex; gap: 10px; color: rgba(255,255,255,.78); font-size: .86rem; line-height: 1.45; }
.lx-sim-summary li::before { content: "✓"; color: #ffb38a; font-weight: 900; }
.lx-sim-facts { position: relative; z-index: 2; margin-top: -30px; }
.lx-sim-facts-grid { display: grid; grid-template-columns: repeat(3,1fr); overflow: hidden; border: 1px solid #dce8f3; border-radius: 24px; background: #fff; box-shadow: 0 20px 52px rgba(12,58,140,.1); }
.lx-sim-facts article { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: center; padding: 25px 27px; }
.lx-sim-facts article + article { border-left: 1px solid #e2ebf3; }
.lx-sim-facts b { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 16px; color: var(--lx-blue); background: #eaf5ff; font-size: 1.1rem; }
.lx-sim-facts strong { display: block; color: #0b1f3a; font-size: .98rem; }
.lx-sim-facts span { display: block; margin-top: 3px; color: #6a7b90; font-size: .78rem; }
.lx-sim-how { padding: 88px 0 82px; background: linear-gradient(180deg,#fff,#f6faff); }
.lx-sim-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: end; }
.lx-sim-head h2,.lx-sim-choose h2 { margin: 0; color: #0b1f3a; font-size: clamp(2rem,3.7vw,3rem); line-height: 1.05; letter-spacing: -.045em; }
.lx-sim-head p { margin: 0; color: #607289; line-height: 1.7; }
.lx-sim-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; margin-top: 34px; }
.lx-sim-steps article { min-height: 220px; padding: 27px; border: 1px solid #dce8f3; border-radius: 22px; background: #fff; box-shadow: 0 14px 34px rgba(12,58,140,.06); }
.lx-sim-steps b { display: grid; width: 38px; height: 38px; place-items: center; margin-bottom: 26px; border-radius: 12px; color: #fff; background: var(--lx-blue); }
.lx-sim-steps article:nth-child(2) b { background: var(--lx-orange); }
.lx-sim-steps h3 { margin: 0 0 9px; color: #0b1f3a; font-size: 1.08rem; }
.lx-sim-steps p { margin: 0; color: #66788e; font-size: .88rem; line-height: 1.65; }
.lx-sim-choose { padding: 84px 0 96px; background: #0a2448; }
.lx-sim-choose h2 { max-width: 620px; color: #fff; }
.lx-sim-choose > .lx-wrap > p { max-width: 690px; margin: 16px 0 0; color: rgba(255,255,255,.7); line-height: 1.7; }
.lx-sim-options { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 34px; }
.lx-sim-option { position: relative; overflow: hidden; padding: 32px; border: 1px solid rgba(255,255,255,.13); border-radius: 25px; background: rgba(255,255,255,.075); }
.lx-sim-option:first-child { background: linear-gradient(145deg,rgba(248,83,14,.24),rgba(255,255,255,.08)); }
.lx-sim-option > span { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: #ffcfb5; background: rgba(248,83,14,.2); font-size: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lx-sim-option h3 { margin: 20px 0 8px; color: #fff; font-size: 1.45rem; }
.lx-sim-option p { min-height: 50px; margin: 0; color: rgba(255,255,255,.68); font-size: .88rem; line-height: 1.6; }
.lx-sim-option-meta { display: flex; gap: 10px; margin: 22px 0; }
.lx-sim-option-meta small { padding: 8px 10px; border-radius: 10px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.09); }
.lx-sim-option .lx-sim-btn { min-height: 46px; border-color: #fff; color: #0a2448; background: #fff; }
.lx-sim-note { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 20px; padding: 25px 28px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; }
.lx-sim-note p { margin: 0; color: rgba(255,255,255,.7); line-height: 1.6; }
.lx-sim-note a { flex: 0 0 auto; color: #fff; font-weight: 900; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .lx-sim-hero { background-size: cover; background-position: center; }
  .lx-sim-hero::before { content: ""; position: absolute; inset: 0; background: rgba(243,249,255,.82); }
  .lx-sim-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .lx-sim-summary { max-width: none; }
  .lx-sim-head { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 680px) {
  .lx-sim-main .lx-wrap { width: calc(100% - 32px); }
  .lx-sim-hero { padding: 44px 0 58px; }
  .lx-sim-hero h1 { font-size: clamp(2.5rem,12vw,3.25rem); }
  .lx-sim-hero-copy { font-size: 1rem; }
  .lx-sim-actions { align-items: stretch; flex-direction: column; }
  .lx-sim-btn { width: 100%; }
  .lx-sim-summary { padding: 25px 23px; border-radius: 22px; }
  .lx-sim-facts { margin-top: -18px; }
  .lx-sim-facts-grid,.lx-sim-steps,.lx-sim-options { grid-template-columns: 1fr; }
  .lx-sim-facts article { padding: 20px; }
  .lx-sim-facts article + article { border-top: 1px solid #e2ebf3; border-left: 0; }
  .lx-sim-how,.lx-sim-choose { padding: 62px 0 70px; }
  .lx-sim-steps article { min-height: 0; }
  .lx-sim-option { padding: 26px 22px; }
  .lx-sim-option p { min-height: 0; }
  .lx-sim-option-meta { flex-wrap: wrap; }
  .lx-sim-note { align-items: flex-start; flex-direction: column; }
}

/* Comunidad y foro. */
.lx-community-main { color: #0b1f3a; background: #f4f8fc; }
.lx-community-main .lx-wrap { width: min(1120px,calc(100% - 48px)); margin-inline: auto; }
.lx-community-hero { position: relative; overflow: hidden; padding: clamp(62px,8vw,100px) 0 86px; color: #fff; background: radial-gradient(460px 280px at 88% 18%,rgba(50,153,235,.34),transparent 72%),linear-gradient(135deg,#071b38,#0c3a8c); }
.lx-community-hero::after { content: ""; position: absolute; right: -70px; bottom: -115px; width: 390px; height: 260px; border: 48px solid rgba(255,255,255,.055); border-radius: 50%; }
.lx-community-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: clamp(42px,8vw,100px); align-items: center; }
.lx-community-hero h1 { max-width: 750px; margin: 0; font-size: clamp(3rem,5.6vw,4.8rem); font-weight: 900; line-height: 1; letter-spacing: -.055em; }
.lx-community-hero h1 span { color: #ff6a25; }
.lx-community-hero p { max-width: 680px; margin: 22px 0 0; color: rgba(255,255,255,.75); font-size: 1.08rem; line-height: 1.72; }
.lx-community-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 27px; }
.lx-community-tags span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.82); background: rgba(255,255,255,.075); font-size: .75rem; font-weight: 800; }
.lx-community-shield { padding: 28px; border: 1px solid rgba(255,255,255,.15); border-radius: 26px; background: rgba(255,255,255,.09); box-shadow: 0 26px 58px rgba(0,0,0,.18); backdrop-filter: blur(10px); }
.lx-community-shield > span { display: grid; width: 50px; height: 50px; place-items: center; margin-bottom: 21px; border-radius: 16px; color: #fff; background: var(--lx-orange); font-size: 1.3rem; font-weight: 900; }
.lx-community-shield strong { display: block; font-size: 1.14rem; line-height: 1.3; }
.lx-community-shield small { display: block; margin-top: 10px; color: rgba(255,255,255,.7); line-height: 1.55; }
.lx-community-body { padding: 70px 0 96px; }
.lx-community-beta { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding: 18px 21px; border: 1px solid #cfe0ee; border-radius: 18px; background: #fff; }
.lx-community-beta > span { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; border-radius: 12px; color: var(--lx-blue); background: #e8f4ff; font-weight: 900; }
.lx-community-beta p { margin: 0; color: #607289; font-size: .86rem; line-height: 1.55; }
.lx-community-beta strong { color: #0b1f3a; }
.lx-community-grid { display: grid; grid-template-columns: minmax(0,1fr) 270px; gap: 24px; align-items: start; }
.lx-community-forum,.lx-community-rules { border: 1px solid #dce7f1; border-radius: 24px; background: #fff; box-shadow: 0 16px 42px rgba(12,58,140,.07); }
.lx-community-forum { overflow: hidden; padding: 28px; }
.lx-community-heading { margin-bottom: 24px; }
.lx-community-heading h2 { margin: 0; color: #0b1f3a; font-size: clamp(1.8rem,3vw,2.45rem); letter-spacing: -.04em; }
.lx-community-heading p { margin: 8px 0 0; color: #66788e; font-size: .9rem; line-height: 1.6; }
.lx-community-rules { position: sticky; top: 98px; padding: 25px; }
.lx-community-rules h2 { margin: 0 0 17px; color: #0b1f3a; font-size: 1.12rem; }
.lx-community-rules ol { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: community-rule; }
.lx-community-rules li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: #607289; font-size: .8rem; line-height: 1.5; counter-increment: community-rule; }
.lx-community-rules li::before { content: counter(community-rule); display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; color: #fff; background: var(--lx-blue); font-size: .72rem; font-weight: 900; }
.lx-community-rules p { margin: 20px 0 0; padding-top: 17px; border-top: 1px solid #e3ebf2; color: #7a889b; font-size: .72rem; line-height: 1.55; }

/* Integración visual de bbPress con el tema. */
.lx-community-main #bbpress-forums { margin: 0; color: #31465f; font-family: inherit; font-size: 14px; }
.lx-community-main #bbpress-forums ul { padding: 0; }
.lx-community-main #bbpress-forums ul.bbp-forums,.lx-community-main #bbpress-forums ul.bbp-topics { overflow: hidden; border: 1px solid #dce7f1; border-radius: 18px; background: #fff; }
.lx-community-main #bbpress-forums li.bbp-header { padding: 13px 16px; color: #fff; border: 0; background: var(--lx-blue); font-size: .72rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }
.lx-community-main #bbpress-forums li.bbp-body ul.forum,.lx-community-main #bbpress-forums li.bbp-body ul.topic { padding: 18px 16px; border-top: 1px solid #e4ebf2; }
.lx-community-main #bbpress-forums li.bbp-body ul.forum:first-child { border-top: 0; }
.lx-community-main #bbpress-forums .bbp-forum-title,.lx-community-main #bbpress-forums .bbp-topic-permalink { color: var(--lx-blue); font-size: .96rem; font-weight: 900; text-decoration: none; }
.lx-community-main #bbpress-forums .bbp-forum-content { margin-top: 6px; color: #718096; font-size: .78rem; line-height: 1.5; }
.lx-community-main #bbpress-forums .bbp-forum-info .bbp-forum-content,.lx-community-main #bbpress-forums p.bbp-topic-meta { font-size: .74rem; }
.lx-community-main #bbpress-forums li.bbp-footer { display: none; }
.lx-community-main #bbpress-forums div.bbp-template-notice { margin: 18px 0; padding: 12px 15px; border: 1px solid #d7e5f0; border-radius: 13px; background: #f5faff; }
.lx-community-main #bbpress-forums div.bbp-template-notice p { margin: 0; color: #607289; font-size: .78rem; }
.lx-community-main #bbpress-forums fieldset.bbp-form { padding: 20px; border: 1px solid #dce7f1; border-radius: 18px; }
.lx-community-main #bbpress-forums input[type="text"],.lx-community-main #bbpress-forums textarea { width: 100%; padding: 11px 12px; border: 1px solid #cbdbe8; border-radius: 10px; font: inherit; }
.lx-community-main #bbpress-forums button,.lx-community-main #bbpress-forums .button { min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; color: #fff; background: var(--lx-orange); font-weight: 900; cursor: pointer; }

@media (max-width: 900px) {
  .lx-community-hero-grid,.lx-community-grid { grid-template-columns: 1fr; }
  .lx-community-shield { max-width: none; }
  .lx-community-rules { position: static; }
}

@media (max-width: 680px) {
  .lx-community-main .lx-wrap { width: calc(100% - 30px); }
  .lx-community-hero { padding: 50px 0 62px; }
  .lx-community-hero h1 { font-size: clamp(2.55rem,12vw,3.25rem); }
  .lx-community-hero p { font-size: 1rem; }
  .lx-community-body { padding: 48px 0 70px; }
  .lx-community-beta { align-items: flex-start; }
  .lx-community-forum { padding: 20px 14px; border-radius: 20px; }
  .lx-community-main #bbpress-forums li.bbp-header { display: none; }
  .lx-community-main #bbpress-forums li.bbp-body ul.forum { display: grid; gap: 9px; padding: 17px 14px; }
  .lx-community-main #bbpress-forums li.bbp-body .bbp-forum-info { width: 100%; }
  .lx-community-main #bbpress-forums li.bbp-body .bbp-forum-topic-count,.lx-community-main #bbpress-forums li.bbp-body .bbp-forum-reply-count { display: inline; width: auto; margin-right: 12px; color: #6e7f94; font-size: .72rem; }
  .lx-community-main #bbpress-forums li.bbp-body .bbp-forum-freshness { display: none; }
}

.lx-movil a {
  color: var(--lx-ink);
  font-weight: 700;
}

.lx-movil-label {
  color: var(--lx-blue);
  letter-spacing: .04em;
}

/* Migas */
.lx-crumbs {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 7px 9px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(12, 58, 140, .13);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(12, 58, 140, .09);
  backdrop-filter: blur(10px);
}
.lx-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lx-crumbs li {
  display: flex;
  align-items: center;
  color: var(--lx-muted);
  font-size: .82rem;
  font-weight: 800;
}
.lx-crumbs li + li::before {
  content: "›";
  margin: 0 6px;
  color: #f8530e;
  font-size: 1rem;
  font-weight: 900;
}
.lx-crumbs a {
  color: var(--lx-blue);
  padding: 5px 10px;
  background: #eaf4ff;
  border-radius: 999px;
  text-decoration: none;
}
.lx-crumbs a:hover { color: #fff; background: var(--lx-blue); text-decoration: none; }
.lx-crumbs [aria-current="page"] { display: inline-block; padding: 5px 10px 5px 2px; color: var(--lx-ink); }
.lx-crumbs.is-on-dark { background: rgba(8, 35, 70, .48); border-color: rgba(255, 255, 255, .2); box-shadow: 0 10px 28px rgba(0, 0, 0, .15); }
.lx-crumbs.is-on-dark li,
.lx-crumbs.is-on-dark [aria-current="page"] { color: rgba(255, 255, 255, .82); }
.lx-crumbs.is-on-dark a { color: #fff; background: rgba(255, 255, 255, .12); }
.lx-crumbs.is-on-dark li + li::before { color: rgba(255, 255, 255, .55); }

/* Ruta de estudio: breadcrumb integrado al hero, sin cápsula flotante. */
.lx-route-hero .lx-crumbs {
  margin-bottom: 26px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}
.lx-route-hero .lx-crumbs li,
.lx-route-hero .lx-crumbs [aria-current="page"] {
  color: rgba(255, 255, 255, .76);
}
.lx-route-hero .lx-crumbs a {
  padding: 0;
  color: #fff !important;
  background: transparent;
  border-radius: 0;
  text-decoration: none !important;
}
.lx-route-hero .lx-crumbs a:hover {
  color: #ffcc38 !important;
  background: transparent;
}
.lx-route-hero .lx-crumbs li + li::before {
  margin: 0 10px;
  color: #ffcc38;
}
.lx-route-hero .lx-crumbs [aria-current="page"] { padding: 0; }

/* una sola fuente */
html {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-size-adjust: none;
}
body,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6,
p, a, li, span, strong, small, label, summary, time {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
}

/* La navegación acompaña el inicio de la página, pero no permanece fija al desplazarse. */
.lx-header {
  position: relative;
  top: auto;
}

body.admin-bar #wpadminbar {
  position: absolute;
}
h1, h2, h3, h4, h5, h6,
.lx-hero h1,
.lx-inner-hero h1,
.lx-topics-hero h1,
.lx-faq-hero h1,
.lx-route-hero h1 {
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
}
p,
li,
.lx-lead,
.lx-inner-lead,
.lx-entry,
.lx-entry p,
.lx-entry li {
  font-weight: 400;
  letter-spacing: 0;
}
.lx-home-kicker,
.lx-home-label,
.lx-inner-eyebrow,
.lx-topics-kicker,
.lx-topics-label,
.lx-faq-kicker,
.lx-route-kicker,
.lx-route-section-label,
.lx-movil-label {
  font-family: "Nunito Sans", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: .04em;
}

/* escala pareja */
:root {
  --lx-size-body: 1.0625rem;
  --lx-size-small: .9375rem;
  --lx-size-title: 1.15rem;
}
body { font-size: var(--lx-size-body); line-height: 1.6; }
.lx-nav a,
.lx-movil a,
a.lx-btn,
a.lx-btn-ghost,
a.lx-pill,
a.lx-inner-btn,
button.lx-btn {
  font-size: var(--lx-size-small);
}
.lx-hero .lx-lead,
.lx-inner-lead,
.lx-topics-hero-copy > p,
.lx-faq-hero-copy > p,
.lx-route-lead,
.lx-entry,
.lx-entry p,
.lx-entry li,
.lx-home-copy p {
  font-size: var(--lx-size-body);
  line-height: 1.65;
}
.lx-path strong,
.lx-facts span,
.lx-home-steps h3,
.lx-home-topic-grid h3,
.lx-post-card h2,
.lx-home-source strong {
  font-size: var(--lx-size-title);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.lx-path > span:not(.lx-path-num),
.lx-facts small,
.lx-home-steps p,
.lx-home-topic-grid p,
.lx-home-source small,
.lx-post-card p {
  font-size: var(--lx-size-small);
  font-weight: 600;
  line-height: 1.45;
}
.lx-home-kicker,
.lx-home-label,
.lx-inner-eyebrow,
.lx-topics-kicker,
.lx-topics-label,
.lx-faq-kicker,
.lx-route-kicker,
.lx-route-section-label {
  font-size: var(--lx-size-small);
  font-weight: 800;
  letter-spacing: .02em;
}
.lx-home h2,
.lx-home-two-cols h2,
.lx-home-section-head h2,
.lx-home-cta h2,
.lx-entry h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  line-height: 1.15;
}
.lx-entry h3 { font-size: 1.25rem; }

/* Guía visual de señales: lectura progresiva, escenas y decisiones. */
.lx-signs-main {
  background: linear-gradient(180deg, #f7fbff 0, #fff 36%, #f4f9ff 100%);
}
.lx-signs-summary {
  padding: 28px 0;
  border-bottom: 1px solid var(--lx-line);
  background: #fff;
}
.lx-signs-summary .lx-wrap {
  display: grid;
  grid-template-columns: minmax(210px, .75fr) 2.25fr;
  gap: 34px;
  align-items: center;
}
.lx-signs-summary-head p,
.lx-signs-eyebrow {
  margin: 0 0 7px;
  color: var(--lx-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.lx-signs-summary-head h2 {
  margin: 0;
  color: var(--lx-blue-deep);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
}
.lx-signs-summary ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.lx-signs-summary li {
  display: flex;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--lx-line);
  border-radius: 16px;
  background: var(--lx-soft);
}
.lx-signs-summary li > span {
  color: var(--lx-blue);
  font-size: 12px;
  font-weight: 900;
}
.lx-signs-summary strong,
.lx-signs-summary li p { display: block; }
.lx-signs-summary strong { color: var(--lx-blue-deep); font-size: 14px; }
.lx-signs-summary li p { margin: 3px 0 0; color: var(--lx-muted); font-size: 12px; line-height: 1.35; }
.lx-signs-content { padding: 58px 0 72px; }
.lx-signs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 820px);
  gap: 42px;
  justify-content: center;
  align-items: start;
}
.lx-signs-index {
  padding: 20px;
  border: 1px solid var(--lx-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--lx-shadow);
}
.lx-signs-index p {
  margin: 0 0 10px;
  color: var(--lx-blue-deep);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.lx-signs-index a {
  display: block;
  padding: 8px 0;
  color: var(--lx-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}
.lx-signs-index a:hover { color: var(--lx-blue); }
.lx-signs-index .lx-signs-index-cta {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--lx-orange);
  color: #fff;
  text-align: center;
}
.lx-signs-lesson {
  overflow: hidden;
  border: 1px solid var(--lx-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--lx-shadow);
}
.lx-signs-lesson > section,
.lx-signs-legal {
  padding: 48px clamp(24px, 5vw, 58px);
  border-bottom: 1px solid var(--lx-line);
  scroll-margin-top: 30px;
}
.lx-signs-lesson h2 {
  max-width: 690px;
  margin: 0 0 15px;
  color: var(--lx-blue-deep);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.lx-signs-lesson h3 { margin: 0; color: var(--lx-blue-deep); }
.lx-signs-lesson section > p:not(.lx-signs-eyebrow) {
  margin: 0 0 24px;
  color: var(--lx-muted);
  font-size: 17px;
  line-height: 1.72;
}
.lx-signs-families { display: grid; gap: 16px; margin-top: 28px; }
.lx-signs-families article {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--lx-line);
  border-radius: 20px;
  background: #fbfdff;
}
.lx-sign-shape {
  display: block;
  width: 68px;
  height: 68px;
  margin: 4px auto;
  box-sizing: border-box;
  box-shadow: 0 8px 18px rgba(11, 31, 58, .1);
}
.lx-sign-shape.is-regulatory { border: 8px solid #d32727; border-radius: 50%; background: #fff; }
.lx-sign-shape.is-warning { transform: rotate(45deg) scale(.76); border: 7px solid #111; border-radius: 7px; background: #ffd447; }
.lx-sign-shape.is-info { border: 6px solid #fff; border-radius: 8px; outline: 3px solid #176bc1; background: #176bc1; }
.lx-signs-families small { color: var(--lx-orange); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lx-signs-families h3 { margin-top: 3px; font-size: 20px; }
.lx-signs-families p { margin: 8px 0; color: var(--lx-muted); line-height: 1.55; }
.lx-signs-families ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }
.lx-signs-families li { padding: 5px 9px; border-radius: 999px; background: #eaf4ff; color: var(--lx-blue); font-size: 12px; font-weight: 800; }
.lx-signs-tip,
.lx-signs-warning {
  display: flex;
  gap: 14px;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 17px;
  background: #fff4ed;
  color: var(--lx-ink);
}
.lx-signs-tip > span {
  display: grid;
  flex: 0 0 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px;
  background: var(--lx-orange);
  color: #fff;
  font-weight: 900;
}
.lx-signs-tip p,
.lx-signs-warning p { margin: 0; line-height: 1.55; }
.lx-signs-photo { position: relative; overflow: hidden; margin: 26px 0; border-radius: 22px; background: #dbe8f5; }
.lx-signs-photo img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.lx-signs-photo span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(11, 31, 58, .9);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}
.lx-light-grid,
.lx-signs-compare,
.lx-mark-grid { display: grid; gap: 14px; }
.lx-light-grid { grid-template-columns: repeat(3, 1fr); }
.lx-light-grid article,
.lx-signs-compare article,
.lx-mark-grid article { padding: 19px; border: 1px solid var(--lx-line); border-radius: 18px; background: #fbfdff; }
.lx-light-grid article > span { display: block; width: 22px; height: 22px; margin-bottom: 11px; border-radius: 50%; box-shadow: 0 0 0 5px rgba(11,31,58,.06); }
.lx-light-grid .is-red > span { background: #e13030; }
.lx-light-grid .is-yellow > span { background: #efb61f; }
.lx-light-grid .is-green > span { background: #16a367; }
.lx-light-grid h3 { font-size: 18px; }
.lx-light-grid p,
.lx-signs-compare p,
.lx-mark-grid p { margin: 7px 0 0; color: var(--lx-muted); font-size: 14px; line-height: 1.55; }
.lx-signs-compare { grid-template-columns: repeat(3, 1fr); margin-top: 14px; }
.lx-signs-compare strong { color: var(--lx-blue); }
.lx-priority-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lx-priority-grid article { display: grid; grid-template-columns: 82px 1fr; gap: 16px; padding: 21px; border: 1px solid var(--lx-line); border-radius: 18px; background: #fbfdff; }
.lx-priority-grid p { margin: 8px 0 0; color: var(--lx-muted); font-size: 14px; line-height: 1.55; }
.lx-mini-sign { display: grid; width: 68px; height: 68px; place-items: center; box-sizing: border-box; }
.lx-mini-sign.is-stop { border: 4px solid #fff; border-radius: 19px; outline: 3px solid #c62828; background: #c62828; color: #fff; font-size: 13px; font-weight: 900; }
.lx-mini-sign.is-yield { width: 0; height: 0; margin: 7px 0 0 3px; border-top: 64px solid #d52c2c; border-right: 36px solid transparent; border-left: 36px solid transparent; filter: drop-shadow(0 5px 6px rgba(11,31,58,.12)); }
.lx-signs-warning { display: block; border-left: 4px solid var(--lx-orange); }
.lx-signs-warning strong { color: var(--lx-orange); }
.lx-mark-grid { grid-template-columns: repeat(2, 1fr); margin-top: 26px; }
.lx-mark-grid article > span { display: block; margin-bottom: 8px; color: var(--lx-orange); font-size: 25px; font-weight: 900; letter-spacing: 3px; }
.lx-scenario { display: grid; grid-template-columns: 1.25fr .9fr; gap: 24px; padding: 28px; border-radius: 22px; background: var(--lx-blue-deep); color: #fff; }
.lx-scenario > div > span { display: inline-block; margin-bottom: 10px; padding: 5px 9px; border-radius: 999px; background: var(--lx-orange); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.lx-scenario h3 { color: #fff; font-size: 23px; line-height: 1.3; }
.lx-scenario p { margin: 12px 0 0; color: rgba(255,255,255,.75); line-height: 1.6; }
.lx-scenario ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.lx-scenario li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 13px; background: rgba(255,255,255,.09); font-size: 13px; }
.lx-scenario b { display: grid; flex: 0 0 25px; height: 25px; place-items: center; border-radius: 50%; background: #fff; color: var(--lx-blue); }
.lx-signs-checklist { display: grid; gap: 12px; margin: 25px 0 0; padding: 0; list-style: none; }
.lx-signs-checklist li { display: flex; gap: 15px; align-items: center; padding: 16px; border: 1px solid var(--lx-line); border-radius: 16px; }
.lx-signs-checklist li > span { display: grid; flex: 0 0 36px; height: 36px; place-items: center; border-radius: 12px; background: var(--lx-soft); color: var(--lx-blue); font-weight: 900; }
.lx-signs-checklist p { margin: 0; color: var(--lx-muted); line-height: 1.5; }
.lx-signs-sources { background: #f8fbff; }
.lx-signs-sources > div { display: grid; gap: 10px; }
.lx-signs-sources a { display: flex; justify-content: space-between; gap: 16px; padding: 15px 17px; border: 1px solid var(--lx-line); border-radius: 14px; background: #fff; color: var(--lx-blue); text-decoration: none; }
.lx-signs-sources a:hover { border-color: #9fc5ec; }
.lx-signs-sources a span { color: var(--lx-muted); font-size: 13px; text-align: right; }
.lx-signs-faq details { border-top: 1px solid var(--lx-line); }
.lx-signs-faq summary { display: flex; justify-content: space-between; gap: 14px; padding: 18px 0; color: var(--lx-blue-deep); font-weight: 800; cursor: pointer; }
.lx-signs-faq summary::-webkit-details-marker { display: none; }
.lx-signs-faq details p { margin: -5px 0 19px; color: var(--lx-muted); line-height: 1.6; }
.lx-signs-faq details[open] summary span { transform: rotate(45deg); }
.lx-signs-final { display: flex; align-items: center; justify-content: space-between; gap: 25px; background: linear-gradient(135deg, #0c3a8c, #146bd0); color: #fff; }
.lx-signs-final p { margin: 0 0 5px; color: #b9dbff; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lx-signs-final h2 { margin-bottom: 8px; color: #fff; }
.lx-signs-final span { color: rgba(255,255,255,.78); }
.lx-signs-final > a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; min-height: 50px; padding: 0 21px; border-radius: 999px; background: var(--lx-orange); color: #fff; font-weight: 900; text-decoration: none; box-shadow: var(--lx-shadow-btn); }
.lx-signs-legal { border-bottom: 0; background: #f8fbff; }
.lx-signs-legal .lx-legal-note { margin: 0; }

@media (max-width: 980px) {
  .lx-signs-summary .lx-wrap { grid-template-columns: 1fr; gap: 18px; }
  .lx-signs-layout { grid-template-columns: 1fr; }
  .lx-signs-index { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; }
  .lx-signs-index p, .lx-signs-index .lx-signs-index-cta { grid-column: 1 / -1; }
  .lx-signs-index a { padding: 6px 0; }
}
@media (max-width: 720px) {
  .lx-signs-summary ol { grid-template-columns: 1fr 1fr; }
  .lx-signs-content { padding: 28px 0 46px; }
  .lx-signs-layout { gap: 20px; }
  .lx-signs-index { grid-template-columns: 1fr 1fr; }
  .lx-signs-lesson > section, .lx-signs-legal { padding: 34px 21px; }
  .lx-signs-families article { grid-template-columns: 64px 1fr; padding: 17px; }
  .lx-sign-shape { width: 50px; height: 50px; }
  .lx-light-grid, .lx-signs-compare, .lx-priority-grid, .lx-mark-grid, .lx-scenario { grid-template-columns: 1fr; }
  .lx-signs-final { align-items: flex-start; flex-direction: column; }
  .lx-signs-final > a { width: 100%; justify-content: center; }
  .lx-signs-sources a { align-items: flex-start; flex-direction: column; }
  .lx-signs-sources a span { text-align: left; }
}

/* Mapa editorial del curso: relaciona la ruta pedagógica con el libro oficial. */
.lx-curriculum-map { margin: 30px 0 42px; padding: clamp(24px,4vw,42px); border: 1px solid #d9e6f2; border-radius: 26px; background: linear-gradient(145deg,#eef7ff 0%,#fff 48%,#fff4ec 100%); box-shadow: 0 22px 55px rgba(12,58,140,.08); }
.lx-curriculum-head { max-width: 820px; margin-bottom: 24px; }
.lx-curriculum-head > p { margin: 0 0 7px; color: var(--lx-orange); font-size: 12px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.lx-curriculum-head h2 { margin: 0 0 10px; color: var(--lx-blue-deep); font-size: clamp(26px,3.4vw,40px); line-height: 1.08; }
.lx-curriculum-head > span { color: var(--lx-muted); line-height: 1.65; }
.lx-curriculum-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.lx-curriculum-grid article { position: relative; min-height: 205px; padding: 22px; border: 1px solid #dce8f4; border-radius: 18px; background: rgba(255,255,255,.9); }
.lx-curriculum-grid b { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: #e7f2ff; color: var(--lx-blue); font-size: 12px; }
.lx-curriculum-grid h3 { margin: 16px 0 7px; color: var(--lx-blue-deep); font-size: 18px; }
.lx-curriculum-grid p { margin: 0 0 17px; color: var(--lx-muted); font-size: 14px; line-height: 1.5; }
.lx-curriculum-grid a { color: var(--lx-blue); font-size: 13px; font-weight: 850; text-decoration: none; }
.lx-curriculum-grid a:hover { color: var(--lx-orange); }
.lx-curriculum-source { margin: 20px 0 0; text-align: center; }
.lx-curriculum-source a { color: var(--lx-blue); font-size: 13px; font-weight: 850; }
@media (max-width: 900px) { .lx-curriculum-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 580px) { .lx-curriculum-grid { grid-template-columns: 1fr; } .lx-curriculum-grid article { min-height: 0; } }

/* Guía clase B: lectura editorial y menos repetitiva. */
.page-id-9000 .lx-inner-section > .lx-wrap { width: min(1080px, calc(100% - 40px)); }
.page-id-9000 .lx-content-card { padding: clamp(26px, 5vw, 58px); }
.page-id-9000 .lx-entry > h1 { margin: 0; font-size: clamp(2.25rem, 5vw, 4.25rem); line-height: .98; letter-spacing: -.055em; }
.page-id-9000 .lx-entry-cover { position: relative; margin: 26px 0 30px; overflow: hidden; border-radius: 22px; }
.page-id-9000 .lx-entry-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 55%,rgba(7,28,56,.28)); pointer-events: none; }
.page-id-9000 .lx-entry-cover img { width: 100%; max-height: 430px; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 22px; }
.page-id-9000 .lx-entry-cover + p { display: inline-flex; margin: 0 0 20px; padding: 7px 11px; color: #0c3a8c; background: #eaf4ff; border-radius: 999px; font-size: .75rem; font-weight: 900; letter-spacing: .075em; text-transform: uppercase; }
.page-id-9000 .lx-entry > h2:not(:has(+ p + ul)) { max-width: 780px; }
.page-id-9000 .lx-entry > p { max-width: 820px; }
.page-id-9000 .tuexamen-ojo { max-width: none; padding: 20px 22px; color: #394d67; background: #fff7f1; border-left: 4px solid #f8530e; border-radius: 0 16px 16px 0; }

.page-id-9000 .lx-curriculum-map { margin: 38px 0 50px; padding: 0; overflow: hidden; background: #fff; border-color: #d9e6f2; box-shadow: none; }
.page-id-9000 .lx-curriculum-head { max-width: none; margin: 0; padding: clamp(24px,4vw,38px); background: linear-gradient(125deg,#edf6ff,#f8fbfe 65%,#fff5ed); border-bottom: 1px solid #d9e6f2; }
.page-id-9000 .lx-curriculum-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; }
.page-id-9000 .lx-curriculum-grid article { min-height: 0; padding: 24px; background: #fff; border: 0; border-right: 1px solid #e1eaf3; border-bottom: 1px solid #e1eaf3; border-radius: 0; }
.page-id-9000 .lx-curriculum-grid article:nth-child(3n) { border-right: 0; }
.page-id-9000 .lx-curriculum-grid b { width: auto; height: auto; place-items: initial; color: #f8530e; background: none; font-size: .75rem; letter-spacing: .08em; }
.page-id-9000 .lx-curriculum-grid h3 { margin: 9px 0 6px; }
.page-id-9000 .lx-curriculum-grid p { min-height: 42px; margin-bottom: 12px; }
.page-id-9000 .lx-curriculum-source { margin: 0; padding: 18px 22px; background: #f7faff; }

.page-id-9000 .lx-guide-photo { margin: 48px 0 22px; }
.page-id-9000 .lx-guide-photo img { width: 100%; max-height: 390px; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 22px; }
.page-id-9000 .lx-guide-photo figcaption { margin: 9px 4px 0; color: #6a7b90; font-size: .82rem; line-height: 1.5; text-align: left; }

.page-id-9000 .lx-entry > h2:has(+ p + ul) { margin: 22px 0 0; padding: 24px 26px 0; max-width: none; color: #0b1f3a; background: #f6f9fc; border: 1px solid #dce7f1; border-bottom: 0; border-radius: 22px 22px 0 0; }
.page-id-9000 .lx-entry > h2:has(+ p + ul) + p { max-width: none; margin: 0; padding: 8px 26px 19px; color: #62748a; background: #f6f9fc; border-right: 1px solid #dce7f1; border-left: 1px solid #dce7f1; }
.page-id-9000 .lx-entry > h2 + p + ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0 0 44px; padding: 0 18px 18px; list-style: none; background: #f6f9fc; border: 1px solid #dce7f1; border-top: 0; border-radius: 0 0 22px 22px; }
.page-id-9000 .lx-entry > h2 + p + ul li { margin: 0; padding: 14px 15px; color: #50627a; background: #fff; border: 1px solid #e0e9f2; border-radius: 13px; font-size: .92rem; line-height: 1.48; }
.page-id-9000 .lx-entry > h2 + p + ul li:has(a[href*="/cuestionarios/"]) { background: #fff6f0; border-color: #f4d3c0; }
.page-id-9000 .lx-entry > h2 + p + ul li a { display: block; margin-bottom: 3px; color: #0c3a8c; font-weight: 850; text-decoration: none; }
.page-id-9000 .lx-entry > h2 + p + ul li:has(a[href*="/cuestionarios/"]) a { color: #d84a0c; }

@media (max-width: 760px) {
  .page-id-9000 .lx-inner-section > .lx-wrap { width: min(100% - 24px, 1080px); }
  .page-id-9000 .lx-content-card { padding: 22px 20px 32px; border-radius: 22px; }
  .page-id-9000 .lx-entry-cover img { aspect-ratio: 16 / 10; }
  .page-id-9000 .lx-curriculum-grid { grid-template-columns: 1fr; }
  .page-id-9000 .lx-curriculum-grid article { border-right: 0; }
  .page-id-9000 .lx-curriculum-grid p { min-height: 0; }
  .page-id-9000 .lx-guide-photo { margin-top: 36px; }
  .page-id-9000 .lx-guide-photo img { aspect-ratio: 4 / 3; }
  .page-id-9000 .lx-entry > h2 + p + ul { grid-template-columns: 1fr; padding: 0 12px 12px; }
  .page-id-9000 .lx-entry > h2:has(+ p + ul) { padding: 20px 19px 0; }
  .page-id-9000 .lx-entry > h2:has(+ p + ul) + p { padding: 7px 19px 16px; }
}

/* Portadas: los títulos principales no llevan kicker o etiqueta superior. */
.lx-inner-hero > .lx-wrap .lx-inner-eyebrow,
.lx-topics-hero .lx-topics-kicker,
.lx-faq-hero .lx-faq-kicker,
.lx-route-hero .lx-route-kicker,
.lx-practice-hero .lx-practice-kicker,
.lx-auto-hero .lx-auto-kicker,
.tuexamen-portal-hero .tuexamen-portal-kicker {
  display: none !important;
}

/* Guía práctica del examen Nexteo. */
.lx-nexteo-guide { display: grid; gap: 34px; }
.lx-nexteo-guide > * { margin-top: 0 !important; margin-bottom: 0 !important; }
.lx-nexteo-guide .lx-nexteo-intro { color: var(--lx-blue-deep); font-size: clamp(1.08rem,2vw,1.24rem); line-height: 1.7; }
.lx-nexteo-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.lx-nexteo-facts article { min-height: 142px; padding: 21px 18px; border: 1px solid #dce8f3; border-radius: 18px; background: linear-gradient(145deg,#fff,#f5faff); }
.lx-nexteo-facts strong { display: block; color: var(--lx-blue); font-size: clamp(1.8rem,3vw,2.55rem); line-height: 1; }
.lx-nexteo-facts span { display: block; margin-top: 10px; color: var(--lx-muted); font-size: .83rem; font-weight: 750; line-height: 1.35; }
.lx-nexteo-guide h2 { margin-top: 8px !important; }
.lx-nexteo-answer { padding: clamp(22px,4vw,34px); border: 1px solid #cfe1ef; border-radius: 22px; background: linear-gradient(135deg,#eef7ff,#fff); }
.lx-nexteo-answer h2 { margin: 0 0 12px !important; }
.lx-nexteo-answer p:last-child { margin-bottom: 0; }
.lx-nexteo-answer--orange { border-color: #ffd5bd; background: linear-gradient(135deg,#fff5ed,#fff); }
.lx-nexteo-steps { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; counter-reset: nexteo-step; }
.lx-nexteo-steps article { position: relative; min-height: 180px; padding: 54px 18px 19px; border: 1px solid #dce8f3; border-radius: 17px; background: #fff; counter-increment: nexteo-step; }
.lx-nexteo-steps article::before { content: counter(nexteo-step); position: absolute; top: 16px; left: 17px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: var(--lx-blue); color: #fff; font-size: .78rem; font-weight: 950; }
.lx-nexteo-steps article:nth-child(even)::before { background: var(--lx-orange); }
.lx-nexteo-steps h3 { margin: 0 0 7px; color: var(--lx-blue-deep); font-size: 1rem; }
.lx-nexteo-steps p { margin: 0; font-size: .78rem; line-height: 1.5; }
.lx-nexteo-figure { overflow: hidden; border: 1px solid #dce8f3; border-radius: 22px; background: #f4f9fd; }
.lx-nexteo-figure img { display: block; width: 100%; max-height: 440px; border-radius: 0; object-fit: cover; }
.lx-nexteo-figure figcaption { padding: 13px 17px; color: var(--lx-muted); font-size: .78rem; line-height: 1.45; }
.lx-nexteo-score { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: stretch; }
.lx-nexteo-score article { display: grid; min-height: 150px; padding: 22px; place-content: center; border: 1px solid #dce8f3; border-radius: 18px; background: #f7fbff; text-align: center; }
.lx-nexteo-score article:nth-of-type(2) { border-color: #ffd4bc; background: #fff6ef; }
.lx-nexteo-score article:nth-of-type(3) { border-color: #bfddcf; background: #f3fbf7; }
.lx-nexteo-score strong { color: var(--lx-blue); font-size: 2.25rem; line-height: 1; }
.lx-nexteo-score article:nth-of-type(2) strong { color: var(--lx-orange); }
.lx-nexteo-score article:nth-of-type(3) strong { color: #12805a; }
.lx-nexteo-score span { margin-top: 9px; color: var(--lx-muted); font-size: .8rem; font-weight: 750; }
.lx-nexteo-score > b { align-self: center; color: var(--lx-orange); font-size: 1.5rem; }
.lx-nexteo-day { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.lx-nexteo-day article { padding: 24px; border: 1px solid #dce8f3; border-radius: 19px; background: linear-gradient(145deg,#fff,#f8fbff); }
.lx-nexteo-day h3 { margin-top: 0; }
.lx-nexteo-checklist { display: grid; gap: 9px; margin: 0 !important; padding: 0 !important; list-style: none; }
.lx-nexteo-checklist li { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 11px; align-items: start; margin: 0; }
.lx-nexteo-checklist li::before { content: '✓'; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; background: #e8f4ff; color: var(--lx-blue); font-size: .78rem; font-weight: 950; }
.lx-nexteo-warning { padding: 22px 24px; border-left: 5px solid var(--lx-orange); border-radius: 0 16px 16px 0; background: #fff5ed; }
.lx-nexteo-warning strong { color: var(--lx-blue-deep); }
.lx-nexteo-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.lx-nexteo-links a { display: block; min-height: 130px; padding: 21px; border: 1px solid #dce8f3; border-radius: 17px; background: #fff; color: var(--lx-blue-deep) !important; text-decoration: none; }
.lx-nexteo-links a span { display: block; margin-top: 8px; color: var(--lx-muted); font-size: .78rem; font-weight: 500; line-height: 1.5; }
.lx-nexteo-sources { padding: 22px 24px; border: 1px solid #dce8f3; border-radius: 18px; background: #f7fafc; }
.lx-nexteo-sources p { margin-bottom: 9px; }
.lx-nexteo-sources ul { margin-bottom: 0; }
.lx-nexteo-guide details { margin: 0; border: 1px solid #dce8f3; border-radius: 15px; background: #fff; overflow: hidden; }
.lx-nexteo-guide details + details { margin-top: -24px; }
.lx-nexteo-guide summary { position: relative; padding: 18px 52px 18px 20px; color: var(--lx-blue-deep); font-weight: 850; cursor: pointer; list-style: none; }
.lx-nexteo-guide summary::-webkit-details-marker { display: none; }
.lx-nexteo-guide summary::after { content: '+'; position: absolute; top: 11px; right: 14px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: #fff0e8; color: var(--lx-orange); font-size: 21px; }
.lx-nexteo-guide details[open] summary::after { transform: rotate(45deg); }
.lx-nexteo-guide details > p { margin: 0; padding: 0 20px 19px; }
@media (max-width: 900px) { .lx-nexteo-facts { grid-template-columns: repeat(2,minmax(0,1fr)); } .lx-nexteo-steps { grid-template-columns: repeat(2,minmax(0,1fr)); } .lx-nexteo-steps article:last-child { grid-column: 1/-1; min-height: 0; } .lx-nexteo-links { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .lx-nexteo-score { grid-template-columns: 1fr; } .lx-nexteo-score > b { transform: rotate(90deg); text-align: center; } .lx-nexteo-day { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lx-nexteo-facts,.lx-nexteo-steps { grid-template-columns: 1fr; } .lx-nexteo-steps article,.lx-nexteo-facts article { min-height: 0; } .lx-nexteo-steps article:last-child { grid-column: auto; } }

/* Lecciones de lectura: componentes visuales editables desde WordPress. */
.lx-lesson-section .lx-article-shell { max-width: 1120px; }
.lx-lesson-module { display: grid; gap: 34px; }
.lx-lesson-lead { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 18px; align-items: start; padding: 22px; border-radius: 19px; background: linear-gradient(135deg,#eef7ff,#fff6ef); }
.lx-lesson-lead > span { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: var(--lx-blue); color: #fff; font-size: 14px; font-weight: 900; }
.lx-lesson-lead h2 { margin: 0 0 7px; color: var(--lx-blue-deep); font-size: clamp(24px,3vw,34px); }
.lx-lesson-lead p { margin: 0; color: var(--lx-muted); line-height: 1.65; }
.lx-lesson-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.lx-lesson-grid.is-two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.lx-lesson-grid article { padding: 20px; border: 1px solid #dbe7f3; border-radius: 17px; background: #fff; box-shadow: 0 10px 28px rgba(12,58,140,.05); }
.lx-lesson-grid small { color: var(--lx-orange); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lx-lesson-grid h3 { margin: 9px 0 7px; color: var(--lx-blue-deep); font-size: 18px; }
.lx-lesson-grid p { margin: 0; color: var(--lx-muted); font-size: 14px; line-height: 1.58; }
.lx-lesson-sequence { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: lesson-step; }
.lx-lesson-sequence li { display: grid; grid-template-columns: 42px minmax(0,1fr); gap: 14px; align-items: center; padding: 15px 17px; border: 1px solid #dce8f4; border-radius: 15px; background: #f9fcff; counter-increment: lesson-step; }
.lx-lesson-sequence li::before { content: counter(lesson-step); display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #e7f2ff; color: var(--lx-blue); font-weight: 900; }
.lx-lesson-sequence strong { color: var(--lx-blue-deep); }
.lx-lesson-sequence span { color: var(--lx-muted); line-height: 1.5; }
.lx-lesson-callout { padding: 20px 22px; border-left: 5px solid var(--lx-orange); border-radius: 4px 16px 16px 4px; background: #fff7f1; color: var(--lx-muted); line-height: 1.62; }
.lx-lesson-callout strong { color: var(--lx-blue-deep); }
.lx-lesson-compare { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.lx-lesson-compare article { padding: 22px; border-radius: 18px; background: #0b326f; color: #fff; }
.lx-lesson-compare article:last-child { background: #f2f7fc; color: var(--lx-blue-deep); }
.lx-lesson-compare h3 { margin: 0 0 8px; color: inherit; }
.lx-lesson-compare p { margin: 0; color: inherit; opacity: .82; line-height: 1.6; }
.lx-lesson-source { padding: 18px 20px; border: 1px solid #d8e6f4; border-radius: 16px; background: #f8fbff; }
.lx-lesson-source p { margin: 0 0 8px; color: var(--lx-muted); }
.lx-lesson-source a { color: var(--lx-blue); font-weight: 850; }
.lx-pass-visual { position: relative; overflow: hidden; display: grid; gap: 0; min-height: 260px; border: 1px solid #d5e3f1; border-radius: 22px; background: #edf6e9; box-shadow: 0 16px 42px rgba(12,58,140,.08); }
.lx-pass-verge { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 22px; color: #285d38; font-size: 13px; font-weight: 850; }
.lx-pass-road { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 170px; background: #525b66; }
.lx-pass-road::after { content: ""; position: absolute; inset: 0 50% 0 auto; border-right: 4px dashed #fff4b0; opacity: .9; }
.lx-pass-lane { position: relative; display: flex; align-items: center; justify-content: center; padding: 22px; color: #fff; }
.lx-pass-lane + .lx-pass-lane { flex-direction: column; gap: 18px; }
.lx-pass-user,.lx-pass-car,.lx-pass-gap { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 900; text-align: center; }
.lx-pass-user { background: #fff; color: var(--lx-blue-deep); }
.lx-pass-car { background: var(--lx-orange); color: #fff; box-shadow: 0 8px 22px rgba(255,81,11,.28); }
.lx-pass-gap { border: 2px dashed #fff; color: #fff; background: rgba(255,255,255,.08); }
.lx-pass-arrow { position: absolute; z-index: 1; width: 58%; height: 72%; border: 4px solid #8fcdff; border-right-color: transparent; border-bottom-color: transparent; border-radius: 50%; transform: rotate(-16deg); }
.lx-pass-note { margin: 0; padding: 13px 18px; background: #f8fbff; color: var(--lx-muted); font-size: 13px; line-height: 1.55; }
@media (max-width: 640px) { .lx-pass-road { grid-template-columns: 1fr; } .lx-pass-road::after { inset: 50% 0 auto; border-right: 0; border-top: 3px dashed #fff4b0; } .lx-pass-arrow { width: 76%; height: 46%; } }
@media (max-width: 760px) { .lx-lesson-grid,.lx-lesson-grid.is-two,.lx-lesson-compare { grid-template-columns: 1fr; } .lx-lesson-lead { grid-template-columns: 1fr; } }
.lx-question-anatomy { overflow: hidden; border: 1px solid #d6e5f4; border-radius: 22px; background: linear-gradient(135deg,#092b60,#0d4b9f); box-shadow: 0 18px 44px rgba(8,45,96,.13); }
.lx-question-example { margin: 0; padding: 28px 30px; color: #fff; font-size: clamp(21px,2.8vw,31px); font-weight: 850; line-height: 1.35; letter-spacing: -.02em; }
.lx-question-example span { padding: 2px 5px; border-radius: 6px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.lx-question-example [data-kind="contexto"] { background: rgba(103,185,255,.23); }
.lx-question-example [data-kind="condicion"] { background: rgba(255,154,70,.28); }
.lx-question-example [data-kind="accion"] { border-bottom: 3px solid #8fd9b8; }
.lx-question-key { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; background: rgba(255,255,255,.14); }
.lx-question-key > span { display: grid; grid-template-columns: 30px 1fr; gap: 3px 10px; align-items: center; min-height: 94px; padding: 15px; background: rgba(4,24,54,.42); color: rgba(255,255,255,.75); font-size: 12px; line-height: 1.35; }
.lx-question-key i { display: grid; grid-row: 1 / span 2; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: var(--lx-orange); color: #fff; font-style: normal; font-weight: 900; }
.lx-question-key b { color: #fff; font-size: 13px; }
.lx-time-plan { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.lx-time-plan article { padding: 22px; border: 1px solid #dce8f4; border-radius: 18px; background: linear-gradient(145deg,#fff,#f6faff); }
.lx-time-plan span { display: inline-flex; padding: 7px 11px; border-radius: 999px; background: #e7f2ff; color: var(--lx-blue); font-size: 13px; font-weight: 900; }
.lx-time-plan h3 { margin: 15px 0 7px; color: var(--lx-blue-deep); }
.lx-time-plan p { margin: 0; color: var(--lx-muted); font-size: 14px; line-height: 1.55; }
.lx-answer-check { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; counter-reset: answer-check; }
.lx-answer-check > div { padding: 19px 20px; border: 1px solid #dce8f4; border-radius: 16px; background: #f9fcff; counter-increment: answer-check; }
.lx-answer-check strong { color: var(--lx-blue-deep); }
.lx-answer-check p { margin: 7px 0 0; color: var(--lx-muted); font-size: 14px; line-height: 1.52; }
@media (max-width: 760px) { .lx-question-key,.lx-time-plan,.lx-answer-check { grid-template-columns: 1fr; } .lx-question-example { padding: 23px 21px; } .lx-question-key > span { min-height: 0; } }
.lx-work-zone { display: grid; grid-template-columns: 1fr 30px 1fr 30px 1fr 30px 1fr 30px 1fr; align-items: stretch; overflow: hidden; padding: 20px; border: 1px solid #efdccf; border-radius: 22px; background: linear-gradient(135deg,#fff8f1,#fff); box-shadow: 0 15px 40px rgba(101,53,12,.08); }
.lx-work-zone > div { display: grid; align-content: start; justify-items: center; min-width: 0; padding: 13px 7px; text-align: center; }
.lx-work-zone span { display: grid; width: 46px; height: 46px; place-items: center; margin-bottom: 12px; clip-path: polygon(50% 0,100% 50%,50% 100%,0 50%); background: #f47b20; color: #fff; font-weight: 950; }
.lx-work-zone span.is-yellow { background: #f4c430; color: #20314b; box-shadow: 0 0 0 2px #e0ae12; }
.lx-work-zone b { color: var(--lx-blue-deep); font-size: 14px; }
.lx-work-zone small { margin-top: 5px; color: var(--lx-muted); font-size: 11px; line-height: 1.4; }
.lx-work-zone > i { position: relative; align-self: center; height: 3px; background: #f1a36f; }
.lx-work-zone > i::after { content: ''; position: absolute; top: 50%; right: -1px; width: 8px; height: 8px; transform: translateY(-50%) rotate(45deg); border-top: 3px solid #f1a36f; border-right: 3px solid #f1a36f; }
@media (max-width: 760px) { .lx-work-zone { grid-template-columns: 1fr; } .lx-work-zone > i { width: 3px; height: 24px; justify-self: center; } .lx-work-zone > i::after { top: auto; right: 50%; bottom: -1px; transform: translateX(50%) rotate(135deg); } }
.lx-blind-visual { overflow: hidden; border: 1px solid #d4e2ef; border-radius: 22px; background: #f7fbff; box-shadow: 0 16px 42px rgba(12,58,140,.08); }
.lx-blind-road { position: relative; overflow: hidden; min-height: 410px; background: linear-gradient(90deg,#707985 0 8%,#626b76 8% 49.7%,#f2c84b 49.7% 50.3%,#626b76 50.3% 92%,#707985 92%); }
.lx-blind-road::before,.lx-blind-road::after { content: ''; position: absolute; top: 0; bottom: 0; width: 3px; background: rgba(255,255,255,.88); }
.lx-blind-road::before { left: 8%; }.lx-blind-road::after { right: 8%; }
.lx-blind-view { position: absolute; z-index: 1; top: 2%; left: 50%; width: 38%; height: 46%; transform: translateX(-50%); clip-path: polygon(44% 100%,56% 100%,100% 0,0 0); background: linear-gradient(180deg,rgba(120,200,255,.42),rgba(120,200,255,.06)); color: #fff; font-size: 12px; font-weight: 850; text-align: center; }
.lx-blind-car { position: absolute; z-index: 4; left: 50%; bottom: 72px; display: grid; width: 86px; height: 150px; transform: translateX(-50%); place-items: center; border: 5px solid #d9ecff; border-radius: 30px 30px 20px 20px; background: linear-gradient(#126fd0 0 18%,#0b4e9a 18% 80%,#082f63 80%); color: #fff; font-size: 12px; font-weight: 900; box-shadow: 0 12px 25px rgba(0,0,0,.25); }
.lx-blind-mirror,.lx-blind-zone { position: absolute; bottom: 72px; display: grid; align-items: center; height: 150px; color: #fff; font-size: 11px; font-weight: 850; text-align: center; }
.lx-blind-mirror { z-index: 2; width: 32%; background: rgba(79,171,240,.28); }
.lx-blind-mirror.is-left { right: 50%; clip-path: polygon(100% 22%,0 0,16% 100%,100% 72%); padding-right: 90px; }
.lx-blind-mirror.is-right { left: 50%; clip-path: polygon(0 22%,100% 0,84% 100%,0 72%); padding-left: 90px; }
.lx-blind-zone { z-index: 3; width: 23%; background: rgba(255,107,20,.8); }
.lx-blind-zone.is-left { right: 56%; clip-path: polygon(100% 0,0 22%,12% 100%,86% 72%); }
.lx-blind-zone.is-right { left: 56%; clip-path: polygon(0 0,100% 22%,88% 100%,14% 72%); }
.lx-blind-rider { position: absolute; z-index: 5; right: 19%; bottom: 112px; display: grid; width: 48px; height: 82px; place-items: center; border: 4px solid #fff; border-radius: 22px; background: #121b29; color: #fff; font-size: 9px; font-weight: 850; text-align: center; box-shadow: 0 8px 18px rgba(0,0,0,.3); }
.lx-blind-visual > p { margin: 0; padding: 15px 20px; color: var(--lx-muted); font-size: 13px; line-height: 1.5; }
.lx-safe-visual { overflow: hidden; border: 1px solid #d7e4f1; border-radius: 24px; background: linear-gradient(145deg,#eef7ff 0%,#fff 48%,#fff5ed 100%); box-shadow: 0 18px 48px rgba(12,58,140,.09); }
.lx-safe-stage { position: relative; display: grid; grid-template-columns: minmax(190px,.8fr) minmax(0,1.8fr); gap: 24px; align-items: center; min-height: 310px; padding: clamp(24px,4vw,46px); }
.lx-safe-core { position: relative; z-index: 1; display: grid; place-items: center; min-height: 190px; padding: 28px; border-radius: 50%; background: radial-gradient(circle at 38% 32%,#1a7fe0,#0b3c8c 68%); color: #fff; text-align: center; box-shadow: 0 18px 40px rgba(12,58,140,.22); }
.lx-safe-core::after { content: ''; position: absolute; inset: -12px; z-index: -1; border: 2px dashed rgba(12,58,140,.24); border-radius: inherit; }
.lx-safe-core small { display: block; margin-bottom: 7px; color: #bfe2ff; font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.lx-safe-core strong { display: block; max-width: 180px; font-size: clamp(20px,2.4vw,28px); line-height: 1.12; }
.lx-safe-layers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.lx-safe-layers article { position: relative; min-height: 118px; padding: 18px 18px 16px 54px; border: 1px solid rgba(12,58,140,.11); border-radius: 17px; background: rgba(255,255,255,.92); box-shadow: 0 9px 24px rgba(12,58,140,.06); }
.lx-safe-layers article > span { position: absolute; top: 18px; left: 16px; display: grid; width: 28px; height: 28px; place-items: center; border-radius: 9px; background: #e8f3ff; color: var(--lx-blue); font-size: 12px; font-weight: 900; }
.lx-safe-layers h3 { margin: 0 0 6px; color: var(--lx-blue-deep); font-size: 16px; }
.lx-safe-layers p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.48; }
.lx-safe-visual > p { margin: 0; padding: 15px 21px; border-top: 1px solid #dde9f4; background: rgba(255,255,255,.76); color: var(--lx-muted); font-size: 13px; line-height: 1.5; }
.lx-safe-actors { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.lx-safe-actors article { padding: 18px; border-top: 4px solid var(--lx-blue); border-radius: 14px; background: #f7fbff; }
.lx-safe-actors article:nth-child(even) { border-top-color: var(--lx-orange); background: #fff8f3; }
.lx-safe-actors h3 { margin: 0 0 7px; color: var(--lx-blue-deep); font-size: 16px; }
.lx-safe-actors p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.52; }
.lx-safe-equation { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; align-items: center; margin: 0; padding: 18px; border-radius: 17px; background: #0b326f; color: #fff; list-style: none; }
.lx-safe-equation li { position: relative; padding: 12px 10px; border-radius: 12px; background: rgba(255,255,255,.09); font-size: 13px; font-weight: 800; text-align: center; }
.lx-safe-equation li:not(:last-child)::after { content: '+'; position: absolute; top: 50%; right: -9px; width: 18px; transform: translateY(-50%); color: #ff8a42; font-size: 17px; }
@media (max-width: 820px) { .lx-safe-stage { grid-template-columns: 1fr; } .lx-safe-core { width: min(240px,78vw); min-height: 220px; margin: 0 auto; } .lx-safe-actors { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 560px) { .lx-safe-layers,.lx-safe-actors,.lx-safe-equation { grid-template-columns: 1fr; } .lx-safe-equation li:not(:last-child)::after { content: '↓'; top: auto; right: 50%; bottom: -15px; transform: translateX(50%); } }
.lx-mirror-check { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.lx-mirror-check article { padding: 21px; border: 1px solid #dce8f4; border-radius: 18px; background: linear-gradient(145deg,#fff,#f5faff); }
.lx-mirror-check span { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 11px; background: var(--lx-blue); color: #fff; font-weight: 900; }
.lx-mirror-check h3 { margin: 14px 0 7px; color: var(--lx-blue-deep); }
.lx-mirror-check p { margin: 0; color: var(--lx-muted); font-size: 14px; line-height: 1.55; }
@media (max-width: 760px) { .lx-mirror-check { grid-template-columns: 1fr; } .lx-blind-road { min-height: 330px; } .lx-blind-car { bottom: 54px; width: 70px; height: 125px; } .lx-blind-mirror,.lx-blind-zone { bottom: 54px; height: 125px; font-size: 9px; } .lx-blind-mirror.is-left { padding-right: 66px; } .lx-blind-mirror.is-right { padding-left: 66px; } .lx-blind-rider { right: 10%; bottom: 82px; } }

/* Lección 4.4: protección infantil, vehículos de emergencia y cruces ferroviarios. */
.lx-protect-map { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.lx-protect-map article { position: relative; overflow: hidden; min-height: 220px; padding: 24px; border-radius: 21px; background: linear-gradient(145deg,#0a397f,#126fc9); color: #fff; box-shadow: 0 16px 38px rgba(11,60,140,.14); }
.lx-protect-map article:last-child { background: linear-gradient(145deg,#fff7f0,#fff); color: var(--lx-blue-deep); border: 1px solid #f2ddce; box-shadow: 0 16px 38px rgba(118,62,17,.08); }
.lx-protect-map article > span { display: grid; width: 42px; height: 42px; margin-bottom: 26px; place-items: center; border-radius: 13px; background: rgba(255,255,255,.14); color: #fff; font-size: 12px; font-weight: 950; }
.lx-protect-map article:last-child > span { background: #ffe8d8; color: var(--lx-orange); }
.lx-protect-map small { color: #b9dcff; font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.lx-protect-map article:last-child small { color: var(--lx-orange); }
.lx-protect-map h3 { margin: 8px 0; color: inherit; font-size: 21px; line-height: 1.2; }
.lx-protect-map p { margin: 0 0 18px; color: inherit; opacity: .78; font-size: 14px; line-height: 1.55; }
.lx-protect-map b { color: inherit; font-size: 13px; }
.lx-rule-strip { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.lx-rule-strip article { padding: 21px; border: 1px solid #dce8f4; border-top: 5px solid var(--lx-blue); border-radius: 17px; background: #f8fbff; }
.lx-rule-strip article:nth-child(2) { border-top-color: var(--lx-orange); background: #fff8f3; }
.lx-rule-strip small { display: block; color: var(--lx-muted); font-size: 11px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.lx-rule-strip strong { display: block; margin: 10px 0 7px; color: var(--lx-blue-deep); font-size: clamp(23px,3vw,31px); line-height: 1; }
.lx-rule-strip p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.52; }
.lx-emergency-route { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 11px; padding: 22px; border-radius: 22px; background: linear-gradient(135deg,#081f45,#0b4b9e); box-shadow: 0 17px 44px rgba(5,38,84,.16); }
.lx-emergency-route article { position: relative; min-width: 0; padding: 17px 14px; border: 1px solid rgba(255,255,255,.14); border-radius: 15px; background: rgba(255,255,255,.09); color: #fff; }
.lx-emergency-route article:not(:last-child)::after { content: '\2192'; position: absolute; z-index: 2; top: 20px; right: -13px; width: 15px; color: #ff9b5e; font-weight: 950; text-align: center; }
.lx-emergency-route span { display: grid; width: 31px; height: 31px; margin-bottom: 14px; place-items: center; border-radius: 10px; background: var(--lx-orange); color: #fff; font-size: 12px; font-weight: 950; }
.lx-emergency-route h3 { margin: 0 0 6px; color: #fff; font-size: 15px; }
.lx-emergency-route p { margin: 0; color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.48; }
.lx-rail-warning { display: grid; grid-template-columns: minmax(180px,.62fr) minmax(0,1.38fr); gap: 0; overflow: hidden; border: 1px solid #ecd9be; border-radius: 22px; background: #fffaf2; }
.lx-rail-warning > div:first-child { position: relative; display: grid; min-height: 250px; place-items: center; background: repeating-linear-gradient(90deg,#5a6470 0 18px,#d3b580 18px 39px); }
.lx-rail-warning > div:first-child::before,.lx-rail-warning > div:first-child::after { content: ''; position: absolute; width: 82%; height: 13px; border: 5px solid #e8edf1; border-right: 0; border-left: 0; background: #4b535d; transform: rotate(38deg); box-shadow: 0 3px 9px rgba(0,0,0,.28); }
.lx-rail-warning > div:first-child::after { transform: rotate(-38deg); }
.lx-rail-warning > div:first-child span { z-index: 2; display: grid; width: 84px; height: 84px; place-items: center; transform: rotate(45deg); border: 5px solid #161c24; border-radius: 10px; background: #f3ca33; color: #161c24; font-weight: 950; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.lx-rail-warning > div:first-child span b { transform: rotate(-45deg); font-size: 30px; }
.lx-rail-warning > div:last-child { padding: clamp(24px,4vw,42px); }
.lx-rail-warning h3 { margin: 0 0 11px; color: var(--lx-blue-deep); font-size: 23px; }
.lx-rail-warning p { margin: 0 0 12px; color: var(--lx-muted); line-height: 1.62; }
.lx-priority-truth { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.lx-priority-truth article { padding: 19px 20px; border: 1px solid #dce8f4; border-radius: 16px; background: linear-gradient(145deg,#fff,#f7fbff); }
.lx-priority-truth article:nth-child(2n) { background: linear-gradient(145deg,#fff,#fff7f1); border-color: #f0dfd3; }
.lx-priority-truth h3 { margin: 0 0 7px; color: var(--lx-blue-deep); font-size: 16px; }
.lx-priority-truth h3 span { display: inline-grid; width: 26px; height: 26px; margin-right: 8px; place-items: center; border-radius: 8px; background: #e6f2ff; color: var(--lx-blue); font-size: 12px; }
.lx-priority-truth article:nth-child(2n) h3 span { background: #ffe8d8; color: var(--lx-orange); }
.lx-priority-truth p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.53; }
@media (max-width: 820px) { .lx-rule-strip { grid-template-columns: 1fr; } .lx-emergency-route { grid-template-columns: 1fr; } .lx-emergency-route article:not(:last-child)::after { content: '\2193'; top: auto; right: 50%; bottom: -15px; transform: translateX(50%); } .lx-rail-warning { grid-template-columns: 1fr; } .lx-rail-warning > div:first-child { min-height: 190px; } }
@media (max-width: 600px) { .lx-protect-map,.lx-priority-truth { grid-template-columns: 1fr; } .lx-protect-map article { min-height: 0; } }

/* Lección 2.1: lectura progresiva y familias de señales. */
.lx-reading-stack { display: grid; gap: 10px; counter-reset: sign-read; }
.lx-reading-stack article { display: flex; gap: 15px; align-items: center; padding: 17px 19px; border: 1px solid #dbe8f4; border-radius: 17px; background: linear-gradient(145deg,#fff,#f6faff); }
.lx-reading-stack article > div { flex: 1 1 auto; min-width: 0; }
.lx-reading-stack article > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: var(--lx-blue); color: #fff; font-weight: 950; }
.lx-reading-stack article:nth-child(2) > span { background: var(--lx-orange); }
.lx-reading-stack small { color: var(--lx-orange); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.lx-reading-stack h3 { margin: 4px 0; color: var(--lx-blue-deep); font-size: 18px; }
.lx-reading-stack p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.5; }
.lx-sign-family-map { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.lx-sign-family-map article { position: relative; min-height: 275px; padding: 24px 22px 22px 112px; overflow: hidden; border: 1px solid #dbe7f2; border-radius: 21px; background: linear-gradient(145deg,#fff,#f6faff); }
.lx-sign-family-map article.is-warning { background: linear-gradient(145deg,#fffdf2,#fff); border-color: #ebdfad; }
.lx-sign-family-map article.is-info { background: linear-gradient(145deg,#eef8ff,#fff); border-color: #cfe3f2; }
.lx-sign-family-map article.is-work { background: linear-gradient(145deg,#fff5eb,#fff); border-color: #eed8c4; }
.lx-sign-family-map small { color: var(--lx-orange); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.lx-sign-family-map h3 { margin: 8px 0; color: var(--lx-blue-deep); font-size: 20px; }
.lx-sign-family-map p { margin: 0 0 15px; color: var(--lx-muted); font-size: 13px; line-height: 1.52; }
.lx-sign-family-map strong { color: var(--lx-blue-deep); font-size: 12px; line-height: 1.45; }
.lx-sign-token { position: absolute; top: 24px; left: 22px; display: grid; width: 68px; height: 68px; place-items: center; color: #fff; filter: drop-shadow(0 8px 11px rgba(12,45,84,.15)); }
.lx-sign-token b { font-size: 11px; line-height: 1; }
.lx-sign-token.is-stop { clip-path: polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%); background: #c9202d; box-shadow: inset 0 0 0 5px #fff; }
.lx-sign-token.is-warning { transform: rotate(45deg); border: 4px solid #1d2430; border-radius: 8px; background: #f3ca33; color: #18202c; }
.lx-sign-token.is-warning b { transform: rotate(-45deg); font-size: 29px; }
.lx-sign-token.is-info { border: 4px solid #fff; border-radius: 7px; background: #13814b; box-shadow: 0 0 0 2px #13814b; }
.lx-sign-token.is-info b { font-size: 30px; }
.lx-sign-token.is-work { transform: rotate(45deg); border: 4px solid #202630; border-radius: 7px; background: #ef7d23; color: #202630; }
.lx-sign-token.is-work b { transform: rotate(-45deg); font-size: 25px; }
.lx-sign-cue-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.lx-sign-cue-grid article { padding: 20px 17px; border: 1px solid #dce8f4; border-radius: 17px; background: #f9fcff; text-align: center; }
.lx-sign-cue-grid h3 { margin: 15px 0 7px; color: var(--lx-blue-deep); font-size: 16px; }
.lx-sign-cue-grid p { margin: 0; color: var(--lx-muted); font-size: 12px; line-height: 1.5; text-align: left; }
.lx-mini-sign { display: inline-grid; width: 62px; height: 62px; place-items: center; color: #fff; font-size: 12px; font-weight: 950; }
.lx-mini-sign.is-octagon { clip-path: polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%); background: #c9202d; }
.lx-mini-sign.is-yield { position: relative; width: 0; height: 0; border-top: 60px solid #c9202d; border-right: 36px solid transparent; border-left: 36px solid transparent; }
.lx-mini-sign.is-yield::after { content: ''; position: absolute; left: -27px; bottom: 9px; width: 0; height: 0; border-top: 44px solid #fff; border-right: 27px solid transparent; border-left: 27px solid transparent; }
.lx-mini-sign.is-limit { border: 6px solid #c9202d; border-radius: 50%; background: #fff; color: #111923; font-size: 23px; }
.lx-mini-sign.is-mandatory { border-radius: 50%; background: #1469b8; font-size: 30px; }
.lx-command-compare { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; }
.lx-command-compare article { padding: 24px; border-radius: 20px; background: linear-gradient(145deg,#a91623,#d52a37); color: #fff; }
.lx-command-compare article:last-child { background: linear-gradient(145deg,#fff7f1,#fff); color: var(--lx-blue-deep); border: 1px solid #f0d9c8; }
.lx-command-compare small { font-size: 11px; font-weight: 950; letter-spacing: .12em; }
.lx-command-compare h3 { margin: 8px 0 15px; color: inherit; font-size: 21px; }
.lx-command-compare ol { display: grid; gap: 8px; margin: 0; padding-left: 20px; }
.lx-command-compare li { padding-left: 4px; color: inherit; font-size: 13px; line-height: 1.48; opacity: .86; }

/* Lección 5.6: conducción eficiente y electromovilidad. */
.lx-efficiency-principle { display: grid; gap: 11px; }
.lx-efficiency-principle article { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 15px; align-items: center; padding: 18px 20px; border: 1px solid #dce8f3; border-radius: 17px; background: linear-gradient(145deg,#fff,#f6faff); }
.lx-efficiency-principle article > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: var(--lx-blue); color: #fff; font-weight: 950; }
.lx-efficiency-principle article:nth-child(2) > span { background: var(--lx-orange); }
.lx-efficiency-principle small,.lx-energy-map small { color: var(--lx-orange); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.lx-efficiency-principle h3 { margin: 3px 0 4px; color: var(--lx-blue-deep); font-size: 18px; }
.lx-efficiency-principle p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.5; }
.lx-energy-map { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.lx-energy-map article { padding: 20px 17px; border: 1px solid #dce8f3; border-radius: 18px; background: #f8fbff; }
.lx-energy-map article:nth-child(2n) { background: #fff9f4; }
.lx-energy-orbit { display: grid; width: 54px; height: 54px; place-items: center; margin-bottom: 14px; border: 2px solid #b9d7f3; border-radius: 50%; color: var(--lx-blue); background: #fff; font-size: 25px; font-weight: 950; box-shadow: inset 0 0 0 7px #edf6ff; }
.lx-energy-map h3 { margin: 7px 0; color: var(--lx-blue-deep); font-size: 16px; }
.lx-energy-map p { margin: 0; color: var(--lx-muted); font-size: 12px; line-height: 1.52; }
.lx-trip-phases { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.lx-trip-phases article { min-height: 220px; padding: 23px 20px; border: 1px solid #dce8f3; border-radius: 19px; background: linear-gradient(155deg,#fff,#f4f9fe); }
.lx-trip-phases span { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: var(--lx-blue); background: #e8f4ff; font-size: 10px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.lx-trip-phases article:nth-child(2) span { color: #a83a09; background: #fff0e8; }
.lx-trip-phases h3 { margin: 15px 0 9px; color: var(--lx-blue-deep); font-size: 18px; }
.lx-trip-phases p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.55; }
.lx-drive-cycle { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.lx-drive-cycle li { position: relative; display: grid; grid-template-columns: 56px minmax(0,1fr); gap: 17px; align-items: center; padding: 17px 20px; border: 1px solid #dce8f3; border-radius: 17px; background: #fff; }
.lx-drive-cycle li:not(:last-child)::after { content: ''; position: absolute; left: 47px; bottom: -11px; z-index: 2; width: 2px; height: 11px; background: #bfd7ee; }
.lx-drive-cycle li > span { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 16px; color: #fff; background: linear-gradient(145deg,#168ee7,var(--lx-blue)); font-size: 13px; font-weight: 950; }
.lx-drive-cycle h3 { margin: 0 0 5px; color: var(--lx-blue-deep); font-size: 17px; }
.lx-drive-cycle p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.5; }
.lx-efficiency-myths { display: grid; gap: 9px; }
.lx-efficiency-myths details { border: 1px solid #dce8f3; border-radius: 16px; background: #f9fcff; overflow: hidden; }
.lx-efficiency-myths summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 19px; color: var(--lx-blue-deep); font-weight: 850; cursor: pointer; list-style: none; }
.lx-efficiency-myths summary::-webkit-details-marker { display: none; }
.lx-efficiency-myths summary span { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 9px; color: var(--lx-orange); background: #fff0e8; font-size: 20px; }
.lx-efficiency-myths details[open] summary span { transform: rotate(45deg); }
.lx-efficiency-myths details p { margin: 0; padding: 0 19px 18px; color: var(--lx-muted); font-size: 13px; line-height: 1.6; }
.lx-powertrain-table { overflow: hidden; border: 1px solid #d8e6f2; border-radius: 19px; }
.lx-powertrain-row { display: grid; grid-template-columns: 130px minmax(0,1fr) minmax(0,1fr); }
.lx-powertrain-row > * { padding: 15px 17px; border-right: 1px solid #e1ebf4; border-bottom: 1px solid #e1ebf4; color: var(--lx-muted); font-size: 12px; line-height: 1.5; }
.lx-powertrain-row > *:last-child { border-right: 0; }
.lx-powertrain-row:last-child > * { border-bottom: 0; }
.lx-powertrain-row strong { color: var(--lx-blue-deep); background: #f4f9fe; font-size: 13px; }
.lx-powertrain-row.is-head > * { color: #fff; background: var(--lx-blue); font-size: 10px; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.lx-range-factors { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.lx-range-factors article { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 2px 14px; align-items: center; padding: 17px 18px; border: 1px solid #dce8f3; border-radius: 17px; background: #f9fcff; }
.lx-range-factors article > span { grid-row: 1 / 3; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: var(--lx-blue); background: #e8f4ff; font-size: 20px; font-weight: 950; }
.lx-range-factors h3 { margin: 0; color: var(--lx-blue-deep); font-size: 15px; }
.lx-range-factors p { margin: 0; color: var(--lx-muted); font-size: 12px; line-height: 1.45; }
.lx-charge-path { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.lx-charge-path article { position: relative; min-height: 215px; padding: 22px 17px; border: 1px solid #dbe8f3; border-radius: 18px; background: linear-gradient(155deg,#fff,#f5faff); }
.lx-charge-path article:not(:last-child)::after { content: '\2192'; position: absolute; top: 31px; right: -14px; z-index: 2; display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid #dbe8f3; border-radius: 50%; color: var(--lx-orange); background: #fff; font-weight: 950; }
.lx-charge-path span { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; color: #fff; background: var(--lx-blue); font-weight: 950; }
.lx-charge-path article:nth-child(2n) span { background: var(--lx-orange); }
.lx-charge-path h3 { margin: 15px 0 8px; color: var(--lx-blue-deep); font-size: 16px; }
.lx-charge-path p { margin: 0; color: var(--lx-muted); font-size: 12px; line-height: 1.52; }
@media (max-width: 900px) { .lx-sign-cue-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 900px) { .lx-energy-map,.lx-charge-path { grid-template-columns: repeat(2,minmax(0,1fr)); } .lx-charge-path article:not(:last-child)::after { display: none; } }
@media (max-width: 700px) { .lx-sign-family-map,.lx-command-compare,.lx-trip-phases { grid-template-columns: 1fr; } .lx-sign-family-map article,.lx-trip-phases article { min-height: 0; } .lx-powertrain-row { grid-template-columns: 100px minmax(0,1fr); } .lx-powertrain-row > *:nth-child(3) { grid-column: 2; border-top: 1px dashed #dce8f3; } .lx-powertrain-row.is-head > *:nth-child(3) { display: none; } }
@media (max-width: 520px) { .lx-reading-stack article { align-items: flex-start; flex-direction: column; } .lx-sign-cue-grid,.lx-energy-map,.lx-range-factors,.lx-charge-path { grid-template-columns: 1fr; } .lx-sign-family-map article { padding: 108px 20px 21px; } .lx-efficiency-principle article,.lx-drive-cycle li { grid-template-columns: 1fr; } .lx-drive-cycle li:not(:last-child)::after { display: none; } .lx-powertrain-row { grid-template-columns: 1fr; } .lx-powertrain-row > * { border-right: 0; } .lx-powertrain-row > *:nth-child(3) { grid-column: auto; } .lx-powertrain-row.is-head > *:not(:first-child) { display: none; } }
@media (max-width: 460px) {
  .lx-signs-summary ol, .lx-signs-index { grid-template-columns: 1fr; }
  .lx-signs-families article { grid-template-columns: 1fr; }
  .lx-sign-shape { margin-left: 0; }
  .lx-priority-grid article { grid-template-columns: 70px 1fr; }
}

/* Lección 5.3: siniestros, secuencia PAS y primeros auxilios. */
.lx-emergency-module > section { scroll-margin-top: 28px; }
.lx-emergency-principle { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr); gap: 24px; align-items: center; overflow: hidden; padding: clamp(24px,4vw,38px); border-radius: 23px; background: linear-gradient(135deg,#08295f,#0f5fb4); color: #fff; box-shadow: 0 18px 45px rgba(6,42,92,.16); }
.lx-emergency-principle h2 { margin: 6px 0 11px; color: #fff; font-size: clamp(25px,3vw,37px); line-height: 1.1; }
.lx-emergency-principle div > p:last-child { margin: 0; color: rgba(255,255,255,.76); line-height: 1.62; }
.lx-emergency-principle > p { margin: 0; padding: 20px; border: 1px solid rgba(255,255,255,.16); border-radius: 17px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.83); line-height: 1.58; }
.lx-emergency-principle strong { color: #fff; }
.lx-legal-duty,.lx-pas-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.lx-legal-duty article,.lx-pas-flow article { position: relative; padding: 22px 20px; border: 1px solid #dbe8f4; border-radius: 19px; background: linear-gradient(150deg,#fff,#f5faff); }
.lx-legal-duty article > span { display: grid; width: 37px; height: 37px; margin-bottom: 18px; place-items: center; border-radius: 12px; background: var(--lx-blue); color: #fff; font-weight: 950; }
.lx-legal-duty article:nth-child(2) > span { background: var(--lx-orange); }
.lx-legal-duty h3,.lx-pas-flow h3 { margin: 0 0 8px; color: var(--lx-blue-deep); font-size: 18px; }
.lx-legal-duty p,.lx-pas-flow p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.55; }
.lx-pas-flow article { min-height: 245px; padding-top: 86px; }
.lx-pas-flow article > b { position: absolute; top: 20px; left: 20px; display: grid; width: 52px; height: 52px; place-items: center; border-radius: 17px; background: var(--lx-blue); color: #fff; font-size: 25px; box-shadow: 0 9px 22px rgba(6,58,127,.18); }
.lx-pas-flow article:nth-child(2) > b { background: var(--lx-orange); }
.lx-pas-flow article > small { position: absolute; top: 37px; left: 84px; color: var(--lx-orange); font-size: 10px; font-weight: 950; letter-spacing: .1em; }
.lx-scene-scan,.lx-hazard-board { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.lx-scene-scan article { position: relative; padding: 20px 20px 20px 75px; border: 1px solid #dce8f3; border-radius: 18px; background: #f8fbff; }
.lx-scene-scan span { position: absolute; top: 19px; left: 18px; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: #e4f2ff; color: var(--lx-blue); font-size: 12px; font-weight: 950; }
.lx-scene-scan h3,.lx-hazard-board h3 { margin: 0 0 7px; color: var(--lx-blue-deep); font-size: 17px; }
.lx-scene-scan p,.lx-hazard-board p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.52; }
.lx-hazard-board article { padding: 22px; border: 1px solid #ecdcd0; border-left: 5px solid var(--lx-orange); border-radius: 18px; background: linear-gradient(145deg,#fff8f2,#fff); }
.lx-hazard-board article:nth-child(even) { border-color: #d9e8f5; border-left-color: var(--lx-blue); background: linear-gradient(145deg,#f5faff,#fff); }
.lx-hazard-board small { display: block; margin-bottom: 11px; color: var(--lx-orange); font-size: 10px; font-weight: 950; letter-spacing: .1em; }
.lx-call-script { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(270px,.8fr); gap: 22px; align-items: stretch; }
.lx-call-script ol { display: grid; gap: 9px; margin: 0; padding-left: 22px; color: var(--lx-muted); }
.lx-call-script li { padding-left: 4px; line-height: 1.5; }
.lx-call-script strong { color: var(--lx-blue-deep); }
.lx-call-script blockquote { display: flex; flex-direction: column; justify-content: center; margin: 0; padding: 25px; border-radius: 20px; background: linear-gradient(145deg,#08295f,#0c4b96); color: #fff; box-shadow: 0 15px 35px rgba(8,43,93,.14); }
.lx-call-script blockquote p { margin: 0; color: rgba(255,255,255,.9); font-size: 17px; font-weight: 650; line-height: 1.55; }
.lx-call-script cite { margin-top: 16px; color: #a9d3ff; font-size: 11px; font-style: normal; }
.lx-emergency-numbers { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 20px; }
.lx-emergency-numbers article { padding: 19px; border: 1px solid #dce8f3; border-radius: 18px; background: #f8fbff; text-align: center; }
.lx-emergency-numbers strong { display: block; color: var(--lx-blue); font-size: clamp(31px,4vw,43px); line-height: 1; }
.lx-emergency-numbers span { display: block; margin-top: 7px; color: var(--lx-orange); font-size: 12px; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.lx-emergency-numbers p { margin: 9px 0 0; color: var(--lx-muted); font-size: 12px; line-height: 1.45; }
.lx-lesson-note { margin: 15px 0 0; padding: 14px 17px; border-radius: 14px; background: #eef7ff; color: var(--lx-muted); line-height: 1.55; }
.lx-first-aid-do-dont { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.lx-first-aid-do-dont article { padding: 23px; border: 1px solid #cde8da; border-top: 5px solid #17965d; border-radius: 19px; background: #f3fcf8; }
.lx-first-aid-do-dont article:last-child { border-color: #f0d6d1; border-top-color: #d54f42; background: #fff7f5; }
.lx-first-aid-do-dont article:first-child .lx-study-label { color: #087147; }
.lx-first-aid-do-dont article:last-child .lx-study-label { color: #af2d24; }
.lx-first-aid-do-dont ul { display: grid; gap: 9px; margin: 0; padding-left: 21px; color: var(--lx-muted); }
.lx-first-aid-do-dont li { line-height: 1.5; }
.lx-xabcde { display: grid; gap: 10px; }
.lx-xabcde article { display: grid; grid-template-columns: 55px minmax(0,1fr); gap: 17px; align-items: center; padding: 17px 19px; border: 1px solid #dbe8f4; border-radius: 17px; background: linear-gradient(145deg,#fff,#f7fbff); }
.lx-xabcde article > b { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 15px; background: var(--lx-blue); color: #fff; font-size: 21px; }
.lx-xabcde article:first-child > b { background: var(--lx-orange); }
.lx-xabcde h3 { margin: 0 0 4px; color: var(--lx-blue-deep); font-size: 17px; }
.lx-xabcde p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.5; }
.lx-move-decision { display: grid; grid-template-columns: minmax(0,1fr) 42px minmax(0,1fr); gap: 12px; align-items: stretch; }
.lx-move-decision > div { padding: 22px; border: 1px solid #dce8f3; border-radius: 18px; background: #f7fbff; }
.lx-move-decision > div:last-child { border-color: #f0d8c8; background: #fff7f1; }
.lx-move-decision > span { display: grid; width: 42px; height: 42px; place-self: center; place-items: center; border-radius: 50%; background: var(--lx-orange); color: #fff; font-weight: 950; }
.lx-move-decision h3 { margin: 0 0 8px; color: var(--lx-blue-deep); font-size: 18px; }
.lx-move-decision p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.55; }
.lx-emergency-module details { margin-top: 10px; border: 1px solid #dce8f3; border-radius: 15px; background: #fff; overflow: hidden; }
.lx-emergency-module details summary { position: relative; padding: 16px 51px 16px 18px; color: var(--lx-blue-deep); font-weight: 850; cursor: pointer; list-style: none; }
.lx-emergency-module details summary::-webkit-details-marker { display: none; }
.lx-emergency-module details summary::after { content: '+'; position: absolute; top: 10px; right: 13px; display: grid; width: 31px; height: 31px; place-items: center; border-radius: 10px; background: #fff0e8; color: var(--lx-orange); font-size: 20px; }
.lx-emergency-module details[open] summary::after { transform: rotate(45deg); }
.lx-emergency-module details > p { margin: 0; padding: 0 18px 17px; color: var(--lx-muted); line-height: 1.6; }
.lx-handoff-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.lx-handoff-grid article { padding: 19px; border: 1px solid #dce8f3; border-radius: 17px; background: linear-gradient(145deg,#fff,#f6faff); }
.lx-handoff-grid span { display: inline-block; margin-bottom: 12px; padding: 6px 9px; border-radius: 999px; background: #e7f3ff; color: var(--lx-blue); font-size: 10px; font-weight: 950; letter-spacing: .08em; }
.lx-handoff-grid p { margin: 0; color: var(--lx-muted); font-size: 12px; line-height: 1.52; }
.lx-checklist { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px 18px; margin: 0; padding: 0; list-style: none; }
.lx-checklist li { position: relative; min-height: 52px; padding: 14px 15px 14px 48px; border: 1px solid #dce8f3; border-radius: 15px; background: #f8fbff; color: var(--lx-muted); line-height: 1.48; }
.lx-checklist li::before { content: '\2713'; position: absolute; top: 13px; left: 14px; display: grid; width: 25px; height: 25px; place-items: center; border-radius: 8px; background: #e3f6ed; color: #087147; font-weight: 950; }
.lx-official-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.lx-official-links a { display: flex; align-items: center; justify-content: space-between; min-height: 62px; padding: 15px 17px; border: 1px solid #d8e6f4; border-radius: 15px; background: #f8fbff; color: var(--lx-blue); font-weight: 800; text-decoration: none; }
.lx-official-links a:hover { border-color: #8dbce8; background: #eef7ff; }
.lx-lesson-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 11px; margin: 0; padding: 18px; border-radius: 17px; background: #eef6ff; }
.lx-lesson-next a { color: var(--lx-blue); font-weight: 800; text-decoration: none; }
.lx-lesson-next a:hover { color: var(--lx-orange); }
.lx-lesson-next span { color: #a8bdd4; }
@media (max-width: 900px) { .lx-emergency-principle,.lx-call-script { grid-template-columns: 1fr; } .lx-handoff-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 720px) { .lx-legal-duty,.lx-pas-flow,.lx-emergency-numbers { grid-template-columns: 1fr; } .lx-pas-flow article { min-height: 0; } .lx-scene-scan,.lx-hazard-board,.lx-first-aid-do-dont,.lx-checklist,.lx-official-links { grid-template-columns: 1fr; } .lx-move-decision { grid-template-columns: 1fr; } .lx-move-decision > span { transform: rotate(90deg); } }
@media (max-width: 520px) { .lx-emergency-principle { padding: 23px 19px; } .lx-scene-scan article { padding: 72px 18px 18px; } .lx-handoff-grid { grid-template-columns: 1fr; } .lx-xabcde article { grid-template-columns: 1fr; } .lx-lesson-next { align-items: flex-start; flex-direction: column; } .lx-lesson-next span { display: none; } }

/* Study guides: visual learning system shared by the essential class B articles. */
.lx-study-main { background: linear-gradient(180deg, #fff 0, #f4f9ff 30%, #eef6ff 100%); color: var(--lx-ink); }
.lx-study-overview { padding: 52px 0; background: linear-gradient(135deg, #0b326f 0%, #0d4ea6 58%, #1475d1 100%); color: #fff; }
.lx-study-overview .lx-wrap { display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.55fr); gap: 42px; align-items: center; }
.lx-study-overview-copy h2 { margin: 8px 0 15px; color: #fff; font-size: clamp(30px, 3.2vw, 48px); line-height: 1.05; letter-spacing: -.035em; }
.lx-study-overview-copy > p:last-child { margin: 0; max-width: 590px; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.65; }
.lx-study-label { margin: 0 0 8px; color: var(--lx-orange); font-size: 12px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.lx-study-overview .lx-study-label { color: #9ed1ff; }
.lx-study-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.lx-study-facts article { min-height: 150px; padding: 20px; border: 1px solid rgba(255,255,255,.15); border-radius: 20px; background: rgba(255,255,255,.1); box-shadow: inset 0 1px rgba(255,255,255,.12); }
.lx-study-facts article > div { display: flex; align-items: baseline; gap: 6px; }
.lx-study-facts b { color: #fff; font-size: 34px; line-height: 1; }
.lx-study-facts small { color: #b9d9ff; font-size: 12px; font-weight: 800; }
.lx-study-facts strong { display: block; margin-top: 15px; color: #fff; font-size: 15px; }
.lx-study-facts p { margin: 6px 0 0; color: rgba(255,255,255,.7); font-size: 12px; line-height: 1.45; }
.lx-study-body { padding: 54px 0 78px; }
.lx-study-sheet { overflow: hidden; max-width: 1120px; margin: 0 auto; border: 1px solid #d8e6f4; border-radius: 28px; background: #fff; box-shadow: 0 24px 70px rgba(12,48,100,.1); }
.lx-study-sheet > section, .lx-study-legal { padding: 46px 52px; border-bottom: 1px solid #e1ebf5; }
.lx-study-sheet h2 { margin: 0 0 22px; color: var(--lx-blue-deep); font-size: clamp(27px, 3vw, 39px); line-height: 1.12; letter-spacing: -.03em; }
.lx-study-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.lx-study-cards article { position: relative; min-height: 205px; padding: 22px; border: 1px solid #dce8f4; border-radius: 20px; background: linear-gradient(150deg, #fff, #f5faff); }
.lx-study-cards article > span { display: grid; width: 38px; height: 38px; place-items: center; margin-bottom: 24px; border-radius: 12px; background: #e5f2ff; color: var(--lx-blue); font-weight: 900; }
.lx-study-cards h3 { margin: 0; color: var(--lx-blue-deep); font-size: 19px; }
.lx-study-cards p { margin: 9px 0 0; color: var(--lx-muted); font-size: 14px; line-height: 1.58; }
.lx-study-compare-section { background: #f8fbff; }
.lx-study-compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.lx-study-compare article { padding: 20px; border: 1px solid #dce8f4; border-top: 4px solid var(--lx-blue); border-radius: 16px; background: #fff; }
.lx-study-compare strong { color: var(--lx-blue); font-size: 17px; }
.lx-study-compare p { margin: 9px 0 0; color: var(--lx-muted); font-size: 14px; line-height: 1.55; }
.lx-study-scenario { display: grid; grid-template-columns: 1.15fr .85fr; gap: 30px; padding: 30px; border-radius: 23px; background: linear-gradient(135deg, #081d3b, #0d3f83); color: #fff; }
.lx-study-scenario h2 { margin-bottom: 13px; color: #fff; font-size: clamp(25px, 2.7vw, 35px); }
.lx-study-scenario > div > p:last-child { margin: 0; color: rgba(255,255,255,.72); line-height: 1.62; }
.lx-study-scenario ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; align-content: center; }
.lx-study-scenario li { display: flex; gap: 11px; align-items: center; padding: 11px 13px; border-radius: 13px; background: rgba(255,255,255,.09); font-size: 14px; font-weight: 700; }
.lx-study-scenario li span { display: grid; flex: 0 0 27px; height: 27px; place-items: center; border-radius: 50%; background: var(--lx-orange); color: #fff; font-size: 12px; }
.lx-study-progress { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.lx-study-progress button { display: flex; gap: 12px; align-items: center; width: 100%; padding: 15px 16px; border: 1px solid #d8e6f4; border-radius: 15px; background: #fff; color: var(--lx-blue-deep); font: inherit; font-weight: 750; text-align: left; cursor: pointer; transition: .18s ease; }
.lx-study-progress button span { display: grid; flex: 0 0 30px; height: 30px; place-items: center; border-radius: 9px; background: #e9f3ff; color: #8ca5c4; }
.lx-study-progress button:hover { transform: translateY(-1px); border-color: #9fc5ec; }
.lx-study-progress button[aria-pressed="true"] { border-color: #83d2af; background: #eefbf5; color: #086b43; }
.lx-study-progress button[aria-pressed="true"] span { background: #0c9a61; color: #fff; }
.lx-study-challenge { padding: 46px 52px; border-bottom: 1px solid #e1ebf5; background: linear-gradient(135deg, #fff7f1, #fff); }
.lx-study-challenge h2 { max-width: 800px; }
.lx-study-options { display: grid; gap: 10px; }
.lx-study-options button { display: flex; gap: 13px; align-items: center; width: 100%; min-height: 57px; padding: 11px 16px; border: 1px solid #d8e6f4; border-radius: 15px; background: #fff; color: var(--lx-blue-deep); font: inherit; font-weight: 750; text-align: left; cursor: pointer; }
.lx-study-options button span { display: grid; flex: 0 0 32px; height: 32px; place-items: center; border-radius: 9px; background: #eaf4ff; color: var(--lx-blue); font-size: 13px; font-weight: 900; }
.lx-study-options button:hover:not(:disabled) { border-color: var(--lx-blue); background: #f7fbff; }
.lx-study-options button.is-correct { border-color: #16a367; background: #edfbf5; color: #087147; }
.lx-study-options button.is-correct span { background: #16a367; color: #fff; }
.lx-study-options button.is-wrong { border-color: #df6157; background: #fff3f1; color: #a3231b; }
.lx-study-options button.is-wrong span { background: #df6157; color: #fff; }
.lx-study-feedback { display: flex; gap: 8px; margin: 14px 0 0; padding: 15px 17px; border-radius: 14px; background: #eef6ff; color: var(--lx-muted); line-height: 1.5; }
.lx-study-feedback[hidden] { display: none; }
.lx-study-feedback strong { flex: 0 0 auto; color: var(--lx-blue); }
.lx-study-sources { background: #f8fbff; }
.lx-study-sources > div { display: grid; gap: 10px; }
.lx-study-sources a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid #d8e6f4; border-radius: 15px; background: #fff; color: var(--lx-blue); text-decoration: none; }
.lx-study-sources a:hover { border-color: #91bee9; }
.lx-study-sources a span { color: var(--lx-muted); font-size: 13px; text-align: right; }
.lx-study-faq details { border-top: 1px solid #dce8f4; }
.lx-study-faq summary { display: flex; justify-content: space-between; gap: 14px; padding: 18px 0; color: var(--lx-blue-deep); font-weight: 850; cursor: pointer; }
.lx-study-faq summary::-webkit-details-marker { display: none; }
.lx-study-faq details p { margin: -4px 0 20px; color: var(--lx-muted); line-height: 1.62; }
.lx-study-faq details[open] summary span { transform: rotate(45deg); }
.lx-study-final { display: flex; align-items: center; justify-content: space-between; gap: 26px; background: linear-gradient(135deg, #0b3c8c, #1377d5); color: #fff; }
.lx-study-final .lx-study-label { color: #aed8ff; }
.lx-study-final h2 { margin-bottom: 7px; color: #fff; }
.lx-study-final > div > span { color: rgba(255,255,255,.78); }
.lx-study-final > a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--lx-orange); color: #fff; font-weight: 900; text-decoration: none; box-shadow: var(--lx-shadow-btn); }
.lx-study-legal { border-bottom: 0; background: #f8fbff; }
.lx-study-legal .lx-legal-note { margin: 0; }

@media (max-width: 980px) {
  .lx-study-overview .lx-wrap { grid-template-columns: 1fr; }
  .lx-study-facts { grid-template-columns: repeat(3, 1fr); }
  .lx-study-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .lx-study-overview { padding: 38px 0; }
  .lx-study-facts, .lx-study-cards, .lx-study-compare, .lx-study-progress, .lx-study-scenario { grid-template-columns: 1fr; }
  .lx-study-facts article { min-height: 0; }
  .lx-study-body { padding: 30px 0 52px; }
  .lx-study-sheet { border-radius: 22px; }
  .lx-study-sheet > section, .lx-study-legal, .lx-study-challenge { padding: 34px 21px; }
  .lx-study-final { align-items: flex-start; flex-direction: column; }
  .lx-study-final > a { width: 100%; justify-content: center; }
  .lx-study-sources a { align-items: flex-start; flex-direction: column; }
  .lx-study-sources a span { text-align: left; }
}

/* Lección 5.4: conducción en condiciones especiales. */
.lx-conditions-lesson > section { scroll-margin-top: 28px; }
.lx-key-principle { display: grid; grid-template-columns: 180px minmax(0,1fr); gap: 22px; align-items: center; padding: clamp(23px,4vw,36px); border-radius: 22px; background: linear-gradient(135deg,#08295f,#0e65b8); color: #fff; box-shadow: 0 18px 44px rgba(8,45,96,.16); }
.lx-key-principle strong { color: #fff; font-size: clamp(23px,3vw,34px); line-height: 1.05; }
.lx-key-principle p { margin: 0; padding-left: 22px; border-left: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.84); line-height: 1.62; }
.lx-pretrip-board { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.lx-pretrip-board article { position: relative; min-height: 150px; padding: 23px 21px 21px 73px; border: 1px solid #dce8f3; border-radius: 18px; background: linear-gradient(145deg,#fff,#f6faff); }
.lx-pretrip-board span { position: absolute; top: 21px; left: 20px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: #e5f2ff; color: var(--lx-blue); font-size: 12px; font-weight: 950; }
.lx-pretrip-board h3,.lx-risk-triad h3,.lx-weather-timeline h3,.lx-transition-map h3,.lx-tunnel-steps h3 { margin: 0 0 7px; color: var(--lx-blue-deep); font-size: 17px; }
.lx-pretrip-board p,.lx-risk-triad p,.lx-weather-timeline p,.lx-transition-map p,.lx-tunnel-steps p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.55; }
.lx-risk-triad { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.lx-risk-triad article { min-height: 230px; padding: 24px 21px; border: 1px solid #dbe8f4; border-top: 5px solid var(--lx-blue); border-radius: 19px; background: #fff; }
.lx-risk-triad article:nth-child(2) { border-top-color: var(--lx-orange); background: #fffaf6; }
.lx-risk-triad article:nth-child(3) { border-top-color: #149568; background: #f6fcf9; }
.lx-risk-triad b { display: inline-block; margin-bottom: 23px; color: var(--lx-blue); font-size: 11px; letter-spacing: .11em; }
.lx-risk-triad article:nth-child(2) b { color: var(--lx-orange); }
.lx-risk-triad article:nth-child(3) b { color: #08714d; }
.lx-weather-timeline { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0; margin: 24px 0; border: 1px solid #cfe1f1; border-radius: 20px; background: linear-gradient(135deg,#f3f9ff,#eaf5ff); overflow: hidden; }
.lx-weather-timeline article { position: relative; min-height: 190px; padding: 72px 21px 20px; }
.lx-weather-timeline article:not(:last-child) { border-right: 1px solid #cfe1f1; }
.lx-weather-timeline span { position: absolute; top: 20px; left: 21px; display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--lx-blue); color: #fff; font-weight: 950; }
.lx-fog-panel { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.lx-fog-panel > div { padding: 24px; border: 1px solid #cfe6d9; border-top: 5px solid #15955f; border-radius: 19px; background: #f3fcf8; }
.lx-fog-panel > div:last-child { border-color: #f0d5ce; border-top-color: #d45546; background: #fff7f4; }
.lx-fog-panel h3 { margin: 0 0 14px; color: #087149; font-size: 20px; }
.lx-fog-panel > div:last-child h3 { color: #aa2c20; }
.lx-fog-panel ul { display: grid; gap: 9px; margin: 0; padding-left: 21px; color: var(--lx-muted); }
.lx-fog-panel li { line-height: 1.5; }
.lx-transition-map { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.lx-transition-map article { padding: 21px; border: 1px solid #dce8f3; border-radius: 18px; background: linear-gradient(145deg,#fff,#f7fbff); }
.lx-transition-map article > span { display: grid; width: 44px; height: 44px; margin-bottom: 18px; place-items: center; border-radius: 14px; background: #e7f3ff; color: var(--lx-blue); font-size: 21px; font-weight: 900; }
.lx-tunnel-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.lx-tunnel-steps article { position: relative; min-height: 205px; padding: 65px 21px 21px; border-radius: 19px; background: linear-gradient(145deg,#081e3e,#0d458e); box-shadow: 0 12px 28px rgba(8,40,83,.13); }
.lx-tunnel-steps small { position: absolute; top: 20px; left: 21px; color: #a9d4ff; font-size: 10px; font-weight: 950; letter-spacing: .12em; }
.lx-tunnel-steps h3 { color: #fff; }
.lx-tunnel-steps p { color: rgba(255,255,255,.74); }
.lx-motorway-plan { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; margin-top: 22px; }
.lx-motorway-plan article { padding: 20px; border: 1px solid #dbe8f4; border-left: 5px solid var(--lx-blue); border-radius: 17px; background: #f8fbff; }
.lx-motorway-plan article:nth-child(2) { border-left-color: var(--lx-orange); background: #fff8f2; }
.lx-motorway-plan b { display: block; margin-bottom: 10px; color: var(--lx-blue); font-size: 10px; letter-spacing: .11em; }
.lx-motorway-plan article:nth-child(2) b { color: var(--lx-orange); }
.lx-motorway-plan p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.52; }
.lx-load-compare { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 22px; }
.lx-load-compare article { padding: 23px; border: 1px solid #cfe7db; border-top: 5px solid #149568; border-radius: 18px; background: #f5fcf9; }
.lx-load-compare article.is-risk { border-color: #efd8ce; border-top-color: var(--lx-orange); background: #fff8f3; }
.lx-load-compare h3 { margin: 0 0 8px; color: #08714a; font-size: 18px; }
.lx-load-compare .is-risk h3 { color: #b13f19; }
.lx-load-compare p { margin: 0; color: var(--lx-muted); line-height: 1.55; }
.lx-conditions-lesson .lx-myths details { margin-top: 10px; border: 1px solid #dce8f3; border-radius: 15px; background: #fff; overflow: hidden; }
.lx-conditions-lesson .lx-myths summary { position: relative; padding: 17px 51px 17px 19px; color: var(--lx-blue-deep); font-weight: 850; cursor: pointer; list-style: none; }
.lx-conditions-lesson .lx-myths summary::-webkit-details-marker { display: none; }
.lx-conditions-lesson .lx-myths summary::after { content: '+'; position: absolute; top: 10px; right: 13px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: #fff0e8; color: var(--lx-orange); font-size: 20px; }
.lx-conditions-lesson .lx-myths details[open] summary::after { transform: rotate(45deg); }
.lx-conditions-lesson .lx-myths details > p { margin: 0; padding: 0 19px 18px; color: var(--lx-muted); line-height: 1.6; }
.lx-final-checklist { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lx-final-checklist li { display: grid; grid-template-columns: 45px minmax(0,1fr); gap: 15px; align-items: center; padding: 15px 18px; border: 1px solid #dce8f3; border-radius: 16px; background: linear-gradient(145deg,#fff,#f7fbff); }
.lx-final-checklist li > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: var(--lx-blue); color: #fff; font-weight: 950; }
.lx-final-checklist strong { color: var(--lx-blue-deep); }
.lx-final-checklist p { margin: 4px 0 0; color: var(--lx-muted); font-size: 13px; line-height: 1.45; }
@media (max-width: 900px) { .lx-risk-triad,.lx-weather-timeline,.lx-transition-map,.lx-tunnel-steps,.lx-motorway-plan { grid-template-columns: 1fr; } .lx-weather-timeline article { min-height: 0; } .lx-weather-timeline article:not(:last-child) { border-right: 0; border-bottom: 1px solid #cfe1f1; } }
@media (max-width: 700px) { .lx-key-principle,.lx-pretrip-board,.lx-fog-panel,.lx-load-compare { grid-template-columns: 1fr; } .lx-key-principle p { padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.25); border-left: 0; } }
@media (max-width: 520px) { .lx-pretrip-board article { padding: 72px 18px 18px; } .lx-final-checklist li { grid-template-columns: 1fr; } }

/* Lección 4.1: cruces, preferencia y rotondas. */
.lx-junction-lesson > section { scroll-margin-top: 28px; }
.lx-junction-principle { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(260px,.75fr); gap: 25px; align-items: center; padding: clamp(25px,4vw,39px); border-radius: 23px; background: linear-gradient(135deg,#08285b,#0d58a7); color: #fff; box-shadow: 0 18px 45px rgba(7,42,91,.16); }
.lx-junction-principle h2 { margin: 5px 0 0; color: #fff; font-size: clamp(25px,3vw,38px); line-height: 1.08; }
.lx-junction-principle > p { margin: 0; padding: 20px; border: 1px solid rgba(255,255,255,.17); border-radius: 17px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.82); line-height: 1.58; }
.lx-junction-filter { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.lx-junction-filter li { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid #dce8f3; border-radius: 17px; background: linear-gradient(145deg,#fff,#f7fbff); }
.lx-junction-filter b { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: var(--lx-blue); color: #fff; font-size: 16px; }
.lx-junction-filter li:nth-child(2) b,.lx-junction-filter li:nth-child(4) b { background: var(--lx-orange); }
.lx-junction-filter strong { color: var(--lx-blue-deep); }
.lx-junction-filter p { margin: 4px 0 0; color: var(--lx-muted); font-size: 13px; line-height: 1.48; }
.lx-crossing-demo { position: relative; overflow: hidden; width: min(100%,680px); height: 390px; margin: 22px auto; border: 1px solid #cbddec; border-radius: 24px; background: #dceccf; box-shadow: inset 0 0 0 13px rgba(255,255,255,.45); }
.lx-road-v,.lx-road-h { position: absolute; display: block; background: #536474; box-shadow: inset 0 0 0 2px rgba(255,255,255,.08); }
.lx-road-v { top: -1px; bottom: -1px; left: 50%; width: 180px; transform: translateX(-50%); }
.lx-road-h { top: 50%; right: -1px; left: -1px; height: 180px; transform: translateY(-50%); }
.lx-road-center-v,.lx-road-center-h { position: absolute; z-index: 2; display: block; opacity: .85; }
.lx-road-center-v { top: 0; bottom: 0; left: 50%; border-left: 4px dashed #f8d96b; }
.lx-road-center-h { top: 50%; right: 0; left: 0; border-top: 4px dashed #f8d96b; }
.lx-car { position: absolute; z-index: 5; display: grid; width: 84px; height: 48px; place-items: center; border: 3px solid #fff; border-radius: 14px; color: #fff; font-size: 12px; font-weight: 950; box-shadow: 0 8px 18px rgba(5,27,56,.22); }
.lx-car-you { bottom: 51px; left: calc(50% - 70px); background: var(--lx-blue); transform: rotate(-90deg); }
.lx-car-right { top: calc(50% - 70px); right: 60px; background: var(--lx-orange); }
.lx-crossing-demo .lx-path { position: absolute; z-index: 5; color: #fff; font-size: 37px; font-weight: 950; text-shadow: 0 3px 8px rgba(0,0,0,.28); }
.lx-path-you { bottom: 106px; left: calc(50% - 19px); }
.lx-path-right { top: calc(50% - 23px); right: 153px; }
.lx-yield-note { position: absolute; z-index: 6; bottom: 26px; left: calc(50% + 31px); padding: 7px 11px; border-radius: 999px; background: #fff; color: var(--lx-orange); font-size: 10px; font-weight: 950; letter-spacing: .08em; }
.lx-junction-explain { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; margin-bottom: 18px; }
.lx-junction-explain p { margin: 0; padding: 17px; border: 1px solid #dce8f3; border-radius: 15px; background: #f8fbff; color: var(--lx-muted); line-height: 1.52; }
.lx-junction-explain strong { color: var(--lx-blue-deep); }
.lx-exception-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 11px; }
.lx-exception-grid article { grid-column: span 2; min-height: 185px; padding: 20px; border: 1px solid #dce8f3; border-radius: 18px; background: linear-gradient(145deg,#fff,#f6faff); }
.lx-exception-grid article:nth-child(4) { grid-column: 2/span 2; }
.lx-exception-grid article:nth-child(5) { grid-column: 4/span 2; }
.lx-exception-grid span { display: inline-grid; width: 36px; height: 36px; margin-bottom: 18px; place-items: center; border-radius: 11px; background: #e5f2ff; color: var(--lx-blue); font-size: 11px; font-weight: 950; }
.lx-exception-grid h3,.lx-turn-map h3,.lx-roundabout-steps h3 { margin: 0 0 7px; color: var(--lx-blue-deep); font-size: 17px; }
.lx-exception-grid p,.lx-turn-map p,.lx-roundabout-steps p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.52; }
.lx-stop-yield-compare { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.lx-stop-yield-compare article { padding: 25px; border: 1px solid #f0d1cb; border-top: 5px solid #cf392f; border-radius: 19px; background: #fff7f6; }
.lx-stop-yield-compare article.is-yield { border-color: #e9dcca; border-top-color: var(--lx-orange); background: #fff9f3; }
.lx-sign-stop { display: grid; width: 76px; height: 76px; margin-bottom: 18px; place-items: center; background: #c92926; color: #fff; font-size: 13px; font-weight: 950; clip-path: polygon(29% 0,71% 0,100% 29%,100% 71%,71% 100%,29% 100%,0 71%,0 29%); }
.lx-sign-yield { display: grid; width: 83px; height: 76px; margin-bottom: 18px; place-items: center; background: #fff; color: #c92926; font-size: 12px; font-weight: 950; clip-path: polygon(0 0,100% 0,50% 100%); filter: drop-shadow(0 0 0 #c92926); }
.lx-stop-yield-compare h3 { margin: 0 0 8px; color: var(--lx-blue-deep); font-size: 19px; }
.lx-stop-yield-compare p { margin: 0; color: var(--lx-muted); line-height: 1.55; }
.lx-stop-yield-compare small { display: block; margin-top: 15px; padding-top: 13px; border-top: 1px dashed #ddc9bd; color: #925c3f; font-weight: 750; line-height: 1.45; }
.lx-turn-map { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 22px 0; }
.lx-turn-map article { min-height: 190px; padding: 21px; border: 1px solid #dce8f3; border-radius: 18px; background: linear-gradient(145deg,#fff,#f7fbff); }
.lx-turn-map span { display: grid; width: 45px; height: 45px; margin-bottom: 18px; place-items: center; border-radius: 14px; background: #e6f3ff; color: var(--lx-blue); font-size: 22px; font-weight: 950; }
.lx-roundabout-demo { position: relative; overflow: hidden; width: min(100%,680px); height: 420px; margin: 22px auto; border: 1px solid #caddeb; border-radius: 24px; background: #dceccf; box-shadow: inset 0 0 0 13px rgba(255,255,255,.45); }
.lx-round-ring { position: absolute; z-index: 2; top: 65px; left: 50%; width: 285px; height: 285px; border: 70px solid #536474; border-radius: 50%; transform: translateX(-50%); box-shadow: inset 0 0 0 3px #f7d45d,0 0 0 3px #f7d45d; }
.lx-round-island { position: absolute; z-index: 4; top: 158px; left: 50%; display: grid; width: 100px; height: 100px; place-items: center; border-radius: 50%; background: #a5ca8d; color: #315c39; font-size: 10px; font-weight: 950; transform: translateX(-50%); }
.lx-round-road { position: absolute; z-index: 1; display: block; background: #536474; }
.lx-round-east { top: 171px; right: 0; width: 210px; height: 74px; }
.lx-round-south { bottom: 0; left: calc(50% - 37px); width: 74px; height: 155px; }
.lx-round-car-inside,.lx-round-car-enter { position: absolute; z-index: 7; display: grid; width: 83px; height: 44px; place-items: center; border: 3px solid #fff; border-radius: 13px; color: #fff; font-size: 10px; font-weight: 950; box-shadow: 0 7px 17px rgba(5,27,56,.2); }
.lx-round-car-inside { top: 88px; left: calc(50% - 113px); background: var(--lx-blue); transform: rotate(-24deg); }
.lx-round-car-enter { top: 185px; right: 42px; background: var(--lx-orange); }
.lx-round-yield { position: absolute; z-index: 8; top: 242px; right: 46px; padding: 7px 10px; border-radius: 999px; background: #fff; color: var(--lx-orange); font-size: 10px; font-weight: 950; }
.lx-roundabout-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 21px 0; }
.lx-roundabout-steps article { position: relative; min-height: 190px; padding: 67px 21px 21px; border: 1px solid #dce8f3; border-radius: 18px; background: #f8fbff; }
.lx-roundabout-steps b { position: absolute; top: 19px; left: 20px; display: grid; width: 37px; height: 37px; place-items: center; border-radius: 12px; background: var(--lx-blue); color: #fff; }
.lx-driveway-demo { position: relative; overflow: hidden; width: min(100%,680px); height: 350px; margin: 22px auto; border: 1px solid #cbddeb; border-radius: 23px; background: #dceccf; }
.lx-driveway-building { position: absolute; top: 22px; left: 29px; display: grid; width: 210px; height: 130px; place-items: center; border-radius: 14px 14px 4px 4px; background: #d5dde7; color: #536474; font-size: 12px; font-weight: 950; box-shadow: inset 0 -50px #aab8c8; }
.lx-driveway-walk { position: absolute; z-index: 2; top: 152px; right: 0; left: 0; height: 58px; background: #dedbd1; border-top: 3px solid #c3beb0; border-bottom: 3px solid #c3beb0; }
.lx-driveway-road { position: absolute; right: 0; bottom: 0; left: 0; height: 140px; background: #536474; }
.lx-driveway-road::after { content: ''; position: absolute; top: 68px; right: 0; left: 0; border-top: 4px dashed #f8d96b; }
.lx-driveway-car,.lx-driveway-person,.lx-driveway-bike { position: absolute; z-index: 5; display: grid; place-items: center; border-radius: 12px; color: #fff; font-size: 10px; font-weight: 950; }
.lx-driveway-car { top: 94px; left: 133px; width: 78px; height: 43px; background: var(--lx-orange); transform: rotate(90deg); }
.lx-driveway-person { top: 162px; left: 298px; width: 64px; height: 35px; background: var(--lx-blue); }
.lx-driveway-bike { right: 65px; bottom: 81px; width: 67px; height: 36px; background: #168a60; }
.lx-driveway-note { position: absolute; z-index: 6; top: 102px; left: 250px; padding: 8px 12px; border-radius: 999px; background: #fff; color: var(--lx-orange); font-size: 10px; font-weight: 950; letter-spacing: .07em; }
.lx-junction-lesson .lx-myths details { margin-top: 10px; border: 1px solid #dce8f3; border-radius: 15px; background: #fff; overflow: hidden; }
.lx-junction-lesson .lx-myths summary { position: relative; padding: 17px 51px 17px 19px; color: var(--lx-blue-deep); font-weight: 850; cursor: pointer; list-style: none; }
.lx-junction-lesson .lx-myths summary::-webkit-details-marker { display: none; }
.lx-junction-lesson .lx-myths summary::after { content: '+'; position: absolute; top: 10px; right: 13px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: #fff0e8; color: var(--lx-orange); font-size: 20px; }
.lx-junction-lesson .lx-myths details[open] summary::after { transform: rotate(45deg); }
.lx-junction-lesson .lx-myths details > p { margin: 0; padding: 0 19px 18px; color: var(--lx-muted); line-height: 1.6; }
.lx-junction-recap { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }
.lx-junction-recap article { min-height: 170px; padding: 18px; border: 1px solid #dce8f3; border-radius: 17px; background: linear-gradient(145deg,#fff,#f6faff); }
.lx-junction-recap span { display: grid; width: 34px; height: 34px; margin-bottom: 17px; place-items: center; border-radius: 11px; background: var(--lx-blue); color: #fff; font-weight: 950; }
.lx-junction-recap p { margin: 0; color: var(--lx-muted); font-size: 12px; line-height: 1.52; }
.lx-junction-recap strong { color: var(--lx-blue-deep); }
@media (max-width: 980px) { .lx-exception-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } .lx-exception-grid article,.lx-exception-grid article:nth-child(4),.lx-exception-grid article:nth-child(5) { grid-column: auto; } .lx-junction-recap { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 760px) { .lx-junction-principle,.lx-junction-explain,.lx-stop-yield-compare,.lx-turn-map,.lx-roundabout-steps { grid-template-columns: 1fr; } .lx-exception-grid { grid-template-columns: 1fr; } .lx-junction-recap { grid-template-columns: repeat(2,minmax(0,1fr)); } .lx-crossing-demo,.lx-roundabout-demo,.lx-driveway-demo { transform-origin: top center; } }
@media (max-width: 520px) { .lx-junction-principle { padding: 23px 19px; } .lx-junction-filter li { grid-template-columns: 1fr; } .lx-crossing-demo { height: 310px; } .lx-road-v { width: 130px; } .lx-road-h { height: 130px; } .lx-car-you { left: calc(50% - 63px); } .lx-car-right { right: 25px; } .lx-path-right { right: 113px; } .lx-roundabout-demo { height: 330px; } .lx-round-ring { top: 46px; width: 220px; height: 220px; border-width: 52px; } .lx-round-island { top: 111px; width: 90px; height: 90px; } .lx-round-east { top: 126px; width: 125px; } .lx-round-south { height: 115px; } .lx-round-car-inside { top: 66px; left: calc(50% - 96px); } .lx-round-car-enter { top: 142px; right: 12px; } .lx-round-yield { top: 196px; right: 14px; } .lx-driveway-building { left: 18px; width: 155px; } .lx-driveway-car { left: 95px; } .lx-driveway-person { left: 190px; } .lx-driveway-bike { right: 25px; } .lx-driveway-note { top: 23px; right: 18px; left: auto; } .lx-junction-recap { grid-template-columns: 1fr; } .lx-junction-recap article { min-height: 0; } }

/* Lección 5.5: mecánica básica y seguridad del vehículo. */
.lx-vehicle-lesson > section { scroll-margin-top: 28px; }
.lx-vehicle-principle { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(270px,.85fr); gap: 25px; align-items: center; padding: clamp(25px,4vw,39px); border-radius: 23px; background: linear-gradient(135deg,#091f43,#0a4d98); color: #fff; box-shadow: 0 18px 44px rgba(7,37,80,.16); }
.lx-vehicle-principle h2 { margin: 5px 0 0; color: #fff; font-size: clamp(25px,3vw,38px); line-height: 1.08; }
.lx-vehicle-principle > p { margin: 0; padding: 20px; border: 1px solid rgba(255,255,255,.17); border-radius: 17px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.82); line-height: 1.58; }
.lx-safety-layers { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; margin-bottom: 20px; }
.lx-safety-layers article { min-height: 225px; padding: 22px; border: 1px solid #dce8f3; border-top: 5px solid var(--lx-blue); border-radius: 19px; background: linear-gradient(145deg,#fff,#f6faff); }
.lx-safety-layers article:nth-child(2) { border-top-color: var(--lx-orange); background: #fff9f4; }
.lx-safety-layers article:nth-child(3) { border-top-color: #159461; background: #f5fcf8; }
.lx-safety-layers span { display: grid; width: 38px; height: 38px; margin-bottom: 20px; place-items: center; border-radius: 12px; background: #e5f2ff; color: var(--lx-blue); font-size: 11px; font-weight: 950; }
.lx-safety-layers h3,.lx-walkaround h3,.lx-pressure-grid h3 { margin: 0 0 7px; color: var(--lx-blue-deep); font-size: 18px; }
.lx-safety-layers p,.lx-walkaround p,.lx-pressure-grid p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.54; }
.lx-walkaround { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.lx-walkaround article { display: grid; grid-template-columns: 46px minmax(0,1fr); gap: 15px; align-items: center; padding: 17px 18px; border: 1px solid #dce8f3; border-radius: 17px; background: #f8fbff; }
.lx-walkaround b { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--lx-blue); color: #fff; }
.lx-walkaround article:nth-child(even) b { background: var(--lx-orange); }
.lx-dashboard-panel { display: grid; gap: 11px; margin: 22px 0; }
.lx-dashboard-panel article { display: grid; grid-template-columns: 54px minmax(0,1fr); gap: 17px; align-items: center; padding: 19px; border: 1px solid #efceca; border-left: 5px solid #ce3d36; border-radius: 18px; background: #fff7f6; }
.lx-dashboard-panel article.is-amber { border-color: #f0dfc1; border-left-color: #d98b16; background: #fffaf0; }
.lx-dashboard-panel article.is-green { border-color: #cfe7da; border-left-color: #149463; background: #f4fcf8; }
.lx-dashboard-panel article > span { display: grid; width: 49px; height: 49px; place-items: center; border-radius: 15px; background: #ce3d36; color: #fff; font-size: 22px; font-weight: 950; }
.lx-dashboard-panel .is-amber > span { background: #d98b16; }
.lx-dashboard-panel .is-green > span { background: #149463; }
.lx-dashboard-panel h3 { margin: 0 0 5px; color: var(--lx-blue-deep); font-size: 18px; }
.lx-dashboard-panel p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.5; }
.lx-alert-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.lx-alert-actions article { padding: 17px; border: 1px solid #dce8f3; border-radius: 15px; background: #f8fbff; }
.lx-alert-actions strong { color: var(--lx-orange); }
.lx-alert-actions p { margin: 6px 0 0; color: var(--lx-muted); font-size: 13px; line-height: 1.5; }
.lx-tire-gauge { display: grid; grid-template-columns: minmax(260px,.8fr) minmax(0,1.2fr); gap: 24px; align-items: center; margin: 22px 0; }
.lx-tire-track { display: grid; grid-template-columns: 1.2fr .8fr .65fr; overflow: hidden; min-height: 145px; border: 9px solid #253444; border-radius: 28px; background: #253444; box-shadow: 0 14px 30px rgba(10,35,66,.13); }
.lx-tire-track > span { display: grid; place-items: center; padding: 12px; color: #fff; font-size: 24px; font-weight: 950; text-align: center; }
.lx-tire-track small { font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.lx-tire-track .is-good { background: #168f61; }
.lx-tire-track .is-limit { background: #d88916; }
.lx-tire-track .is-danger { background: #c83e35; }
.lx-tire-gauge h3 { margin: 0 0 11px; color: var(--lx-blue-deep); font-size: 20px; }
.lx-tire-gauge ul { display: grid; gap: 8px; margin: 0; padding-left: 21px; color: var(--lx-muted); }
.lx-tire-gauge li { line-height: 1.5; }
.lx-pressure-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 11px; }
.lx-pressure-grid article { min-height: 180px; padding: 20px; border: 1px solid #dce8f3; border-radius: 17px; background: linear-gradient(145deg,#fff,#f7fbff); }
.lx-pressure-grid span { display: inline-block; margin-bottom: 18px; padding: 6px 9px; border-radius: 999px; background: #e7f3ff; color: var(--lx-blue); font-size: 10px; font-weight: 950; letter-spacing: .09em; }
.lx-pressure-grid article:nth-child(2) span { background: #e4f7ed; color: #087049; }
.lx-pressure-grid article:nth-child(3) span { background: #fff0e8; color: var(--lx-orange); }
.lx-brake-map { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-bottom: 20px; }
.lx-brake-map article { min-height: 210px; padding: 23px; border: 1px solid #dce8f3; border-top: 5px solid var(--lx-blue); border-radius: 19px; background: #f8fbff; }
.lx-brake-map article:last-child { border-top-color: var(--lx-orange); background: #fff9f4; }
.lx-brake-map b { display: block; margin-bottom: 23px; color: var(--lx-blue); font-size: 10px; letter-spacing: .11em; }
.lx-brake-map article:last-child b { color: var(--lx-orange); }
.lx-brake-map h3 { margin: 0 0 8px; color: var(--lx-blue-deep); font-size: 18px; }
.lx-brake-map p { margin: 0; color: var(--lx-muted); line-height: 1.55; }
.lx-abs-sequence { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 22px; }
.lx-abs-sequence article { min-height: 175px; padding: 18px; border: 1px solid #dce8f3; border-radius: 17px; background: linear-gradient(145deg,#fff,#f6faff); }
.lx-abs-sequence span { display: grid; width: 35px; height: 35px; margin-bottom: 17px; place-items: center; border-radius: 11px; background: var(--lx-blue); color: #fff; font-weight: 950; }
.lx-abs-sequence p { margin: 0; color: var(--lx-muted); font-size: 12px; line-height: 1.5; }
.lx-abs-sequence strong { color: var(--lx-blue-deep); font-size: 14px; }
.lx-failure-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.lx-failure-cards article { padding: 22px; border: 1px solid #efd7ce; border-top: 5px solid var(--lx-orange); border-radius: 18px; background: #fff8f3; }
.lx-failure-cards h3 { margin: 0 0 15px; color: var(--lx-blue-deep); font-size: 18px; }
.lx-failure-cards ol { display: grid; gap: 8px; margin: 0; padding-left: 19px; color: var(--lx-muted); font-size: 13px; }
.lx-failure-cards li { line-height: 1.48; }
.lx-equipment-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.lx-equipment-grid article { min-height: 190px; padding: 20px; border: 1px solid #dce8f3; border-radius: 18px; background: #f8fbff; }
.lx-equipment-grid span { display: grid; width: 43px; height: 43px; margin-bottom: 18px; place-items: center; border-radius: 14px; background: var(--lx-orange); color: #fff; font-weight: 950; }
.lx-equipment-grid h3 { margin: 0 0 7px; color: var(--lx-blue-deep); font-size: 17px; }
.lx-equipment-grid p { margin: 0; color: var(--lx-muted); font-size: 12px; line-height: 1.5; }
.lx-vehicle-lesson .lx-myths details { margin-top: 10px; border: 1px solid #dce8f3; border-radius: 15px; background: #fff; overflow: hidden; }
.lx-vehicle-lesson .lx-myths summary { position: relative; padding: 17px 51px 17px 19px; color: var(--lx-blue-deep); font-weight: 850; cursor: pointer; list-style: none; }
.lx-vehicle-lesson .lx-myths summary::-webkit-details-marker { display: none; }
.lx-vehicle-lesson .lx-myths summary::after { content: '+'; position: absolute; top: 10px; right: 13px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: #fff0e8; color: var(--lx-orange); font-size: 20px; }
.lx-vehicle-lesson .lx-myths details[open] summary::after { transform: rotate(45deg); }
.lx-vehicle-lesson .lx-myths details > p { margin: 0; padding: 0 19px 18px; color: var(--lx-muted); line-height: 1.6; }
.lx-vehicle-recap { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lx-vehicle-recap li { display: grid; grid-template-columns: 45px minmax(0,1fr); gap: 15px; align-items: center; padding: 15px 18px; border: 1px solid #dce8f3; border-radius: 16px; background: linear-gradient(145deg,#fff,#f7fbff); }
.lx-vehicle-recap li > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: var(--lx-blue); color: #fff; font-weight: 950; }
.lx-vehicle-recap strong { color: var(--lx-blue-deep); }
.lx-vehicle-recap p { margin: 4px 0 0; color: var(--lx-muted); font-size: 13px; line-height: 1.45; }
@media (max-width: 980px) { .lx-safety-layers,.lx-pressure-grid,.lx-failure-cards { grid-template-columns: 1fr; } .lx-safety-layers article,.lx-pressure-grid article { min-height: 0; } .lx-abs-sequence,.lx-equipment-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (max-width: 720px) { .lx-vehicle-principle,.lx-walkaround,.lx-alert-actions,.lx-tire-gauge,.lx-brake-map { grid-template-columns: 1fr; } .lx-dashboard-panel article { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .lx-vehicle-principle { padding: 23px 19px; } .lx-walkaround article,.lx-vehicle-recap li { grid-template-columns: 1fr; } .lx-tire-track { min-height: 120px; } .lx-tire-track > span { font-size: 19px; } .lx-abs-sequence,.lx-equipment-grid { grid-template-columns: 1fr; } .lx-equipment-grid article { min-height: 0; } }

/* Lección 5.2: salud, medicamentos, fatiga y emociones. */
.lx-health-lesson > section { scroll-margin-top: 28px; }
.lx-health-principle { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(270px,.85fr); gap: 25px; align-items: center; padding: clamp(25px,4vw,39px); border-radius: 23px; background: linear-gradient(135deg,#082a59,#0b5ca9); color: #fff; box-shadow: 0 18px 44px rgba(7,42,91,.16); }
.lx-health-principle h2 { margin: 5px 0 0; color: #fff; font-size: clamp(25px,3vw,38px); line-height: 1.08; }
.lx-health-principle > p { margin: 0; padding: 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.84); line-height: 1.58; }
.lx-health-chain { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; margin-bottom: 20px; }
.lx-health-chain article { min-height: 215px; padding: 22px; border: 1px solid #dce8f3; border-top: 5px solid var(--lx-blue); border-radius: 19px; background: linear-gradient(145deg,#fff,#f6faff); }
.lx-health-chain article:nth-child(2) { border-top-color: var(--lx-orange); background: #fff9f4; }
.lx-health-chain article:nth-child(3) { border-top-color: #159461; background: #f5fcf8; }
.lx-health-chain span,.lx-medication-flow span { display: grid; width: 39px; height: 39px; margin-bottom: 19px; place-items: center; border-radius: 12px; background: #e5f2ff; color: var(--lx-blue); font-size: 11px; font-weight: 950; }
.lx-health-chain h3,.lx-health-symptoms h3,.lx-medication-flow h3,.lx-fatigue-signs h3,.lx-emotion-loop h3 { margin: 0 0 7px; color: var(--lx-blue-deep); font-size: 18px; }
.lx-health-chain p,.lx-health-symptoms p,.lx-medication-flow p,.lx-fatigue-signs p,.lx-emotion-loop p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.54; }
.lx-fitness-check { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.lx-fitness-check article { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 15px; align-items: center; padding: 18px; border: 1px solid #dce8f3; border-radius: 17px; background: #f8fbff; }
.lx-fitness-check b { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 14px; background: var(--lx-blue); color: #fff; font-size: 18px; }
.lx-fitness-check article:nth-child(even) b { background: var(--lx-orange); }
.lx-fitness-check h3 { margin: 0 0 5px; color: var(--lx-blue-deep); font-size: 17px; }
.lx-fitness-check p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.5; }
.lx-decision-gate { display: grid; grid-template-columns: auto auto minmax(0,1fr); gap: 17px; align-items: center; margin-top: 14px; padding: 18px 21px; border-radius: 18px; background: linear-gradient(135deg,#fff1e9,#fff9f5); color: #843716; }
.lx-decision-gate strong { color: var(--lx-orange); }
.lx-decision-gate > span { font-size: 25px; font-weight: 950; }
.lx-decision-gate p { margin: 0; line-height: 1.5; }
.lx-health-symptoms { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.lx-health-symptoms article { position: relative; min-height: 190px; padding: 23px 22px 22px 78px; border: 1px solid #dce8f3; border-radius: 18px; background: linear-gradient(145deg,#fff,#f7fbff); }
.lx-health-symptoms article > span { position: absolute; top: 22px; left: 21px; display: grid; width: 42px; height: 42px; place-items: center; border-radius: 14px; background: var(--lx-blue); color: #fff; font-size: 18px; font-weight: 950; }
.lx-health-symptoms article:nth-child(even) > span { background: var(--lx-orange); }
.lx-health-detail { margin-top: 13px; border: 1px solid #dce8f3; border-radius: 16px; background: #fff; overflow: hidden; }
.lx-health-detail summary { position: relative; padding: 18px 54px 18px 20px; color: var(--lx-blue-deep); font-weight: 850; cursor: pointer; list-style: none; }
.lx-health-detail summary::-webkit-details-marker { display: none; }
.lx-health-detail summary::after { content: '+'; position: absolute; top: 11px; right: 14px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: #fff0e8; color: var(--lx-orange); font-size: 21px; }
.lx-health-detail[open] summary::after { transform: rotate(45deg); }
.lx-health-detail > div { padding: 0 20px 20px; color: var(--lx-muted); line-height: 1.58; }
.lx-health-detail ol { display: grid; gap: 8px; margin: 0 0 12px; padding-left: 22px; }
.lx-health-detail p { margin: 0; }
.lx-medication-flow { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin: 22px 0; }
.lx-medication-flow article { min-height: 220px; padding: 20px; border: 1px solid #dce8f3; border-radius: 18px; background: linear-gradient(145deg,#fff,#f7fbff); }
.lx-medication-flow article:nth-child(even) span { background: #fff0e8; color: var(--lx-orange); }
.lx-medication-warning { display: grid; grid-template-columns: minmax(190px,.55fr) minmax(0,1.45fr); gap: 20px; align-items: center; margin-bottom: 18px; padding: 22px; border: 1px solid #efcfc8; border-left: 6px solid #ca3d33; border-radius: 18px; background: #fff7f5; }
.lx-medication-warning strong { color: #a72d25; font-size: 18px; }
.lx-medication-warning p { margin: 0; color: #76534d; line-height: 1.55; }
.lx-fatigue-signs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 22px 0; }
.lx-fatigue-signs article { min-height: 205px; padding: 22px; border: 1px solid #dce8f3; border-top: 5px solid #159461; border-radius: 18px; background: #f5fcf8; }
.lx-fatigue-signs article:nth-child(2) { border-top-color: #d98b16; background: #fffaf1; }
.lx-fatigue-signs article:nth-child(3) { border-top-color: #c63d34; background: #fff7f5; }
.lx-fatigue-signs small { display: inline-block; margin-bottom: 21px; padding: 6px 9px; border-radius: 999px; background: #e2f6eb; color: #08704a; font-size: 10px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.lx-fatigue-signs article:nth-child(2) small { background: #fff0d7; color: #9b5d06; }
.lx-fatigue-signs article:nth-child(3) small { background: #ffe6e3; color: #a52c24; }
.lx-rest-plan { display: grid; grid-template-columns: minmax(250px,.75fr) minmax(0,1.25fr); gap: 24px; padding: 25px; border-radius: 20px; background: linear-gradient(135deg,#09244c,#0c579f); color: #fff; }
.lx-rest-plan h3 { margin: 5px 0 9px; color: #fff; font-size: 24px; }
.lx-rest-plan p { margin: 0; color: rgba(255,255,255,.75); line-height: 1.55; }
.lx-rest-plan ul { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.lx-rest-plan li { padding: 13px 15px; border: 1px solid rgba(255,255,255,.15); border-radius: 14px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.79); line-height: 1.45; }
.lx-rest-plan strong { color: #fff; }
.lx-emotion-loop { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); gap: 11px; align-items: center; margin: 22px 0; }
.lx-emotion-loop article { min-height: 180px; padding: 20px; border: 1px solid #dce8f3; border-radius: 18px; background: #f8fbff; }
.lx-emotion-loop > span { color: var(--lx-orange); font-size: 25px; font-weight: 950; }
.lx-emotion-loop b { display: grid; width: 36px; height: 36px; margin-bottom: 17px; place-items: center; border-radius: 11px; background: var(--lx-blue); color: #fff; }
.lx-emotion-reset { display: grid; grid-template-columns: 120px minmax(0,1fr); gap: 23px; align-items: center; padding: 24px; border: 1px solid #cfe5da; border-radius: 20px; background: #f4fcf8; }
.lx-emotion-reset > span { display: grid; width: 105px; height: 105px; place-items: center; border: 8px solid #159461; border-radius: 50%; color: #08704a; font-size: 14px; font-weight: 950; letter-spacing: .11em; }
.lx-emotion-reset h3 { margin: 0 0 10px; color: var(--lx-blue-deep); font-size: 20px; }
.lx-emotion-reset ol { display: grid; gap: 7px; margin: 0; padding-left: 21px; color: var(--lx-muted); }
.lx-health-lesson .lx-myths details { margin-top: 10px; border: 1px solid #dce8f3; border-radius: 15px; background: #fff; overflow: hidden; }
.lx-health-lesson .lx-myths summary { position: relative; padding: 17px 51px 17px 19px; color: var(--lx-blue-deep); font-weight: 850; cursor: pointer; list-style: none; }
.lx-health-lesson .lx-myths summary::-webkit-details-marker { display: none; }
.lx-health-lesson .lx-myths summary::after { content: '+'; position: absolute; top: 10px; right: 13px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: #fff0e8; color: var(--lx-orange); font-size: 20px; }
.lx-health-lesson .lx-myths details[open] summary::after { transform: rotate(45deg); }
.lx-health-lesson .lx-myths details > p { margin: 0; padding: 0 19px 18px; color: var(--lx-muted); line-height: 1.6; }
.lx-health-recap { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lx-health-recap li { display: grid; grid-template-columns: 45px minmax(0,1fr); gap: 15px; align-items: center; padding: 15px 18px; border: 1px solid #dce8f3; border-radius: 16px; background: linear-gradient(145deg,#fff,#f7fbff); }
.lx-health-recap li > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: var(--lx-blue); color: #fff; font-weight: 950; }
.lx-health-recap strong { color: var(--lx-blue-deep); }
.lx-health-recap p { margin: 4px 0 0; color: var(--lx-muted); font-size: 13px; line-height: 1.45; }
.lx-medical-note { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 16px; align-items: start; margin: 26px 0; padding: 20px; border: 1px solid #d3e2ef; border-radius: 18px; background: #f5f9fd; }
.lx-medical-note strong { padding: 6px 10px; border-radius: 999px; background: var(--lx-blue); color: #fff; font-size: 10px; letter-spacing: .09em; text-transform: uppercase; }
.lx-medical-note p { margin: 0; color: var(--lx-muted); line-height: 1.55; }
@media (max-width: 980px) { .lx-medication-flow { grid-template-columns: repeat(2,minmax(0,1fr)); } .lx-fatigue-signs { grid-template-columns: 1fr; } .lx-fatigue-signs article { min-height: 0; } }
@media (max-width: 760px) { .lx-health-principle,.lx-health-chain,.lx-fitness-check,.lx-health-symptoms,.lx-medication-warning,.lx-rest-plan { grid-template-columns: 1fr; } .lx-emotion-loop { grid-template-columns: 1fr; } .lx-emotion-loop > span { transform: rotate(90deg); text-align: center; } .lx-health-chain article,.lx-health-symptoms article { min-height: 0; } }
@media (max-width: 520px) { .lx-health-principle { padding: 23px 19px; } .lx-fitness-check article,.lx-health-symptoms article,.lx-decision-gate,.lx-emotion-reset,.lx-health-recap li,.lx-medical-note { grid-template-columns: 1fr; } .lx-health-symptoms article { padding: 20px; } .lx-health-symptoms article > span { position: static; margin-bottom: 16px; } .lx-medication-flow { grid-template-columns: 1fr; } .lx-medication-flow article { min-height: 0; } }

/* Lección 1.3: la vía, el entorno y el origen de un siniestro. */
.lx-road-lesson > section { scroll-margin-top: 28px; }
.lx-road-principle { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(270px,.9fr); gap: 26px; align-items: center; padding: clamp(25px,4vw,40px); border-radius: 23px; background: linear-gradient(135deg,#082c60,#0b5dad); color: #fff; box-shadow: 0 18px 44px rgba(8,44,96,.16); }
.lx-road-principle h2 { margin: 5px 0 0; color: #fff; font-size: clamp(25px,3vw,38px); line-height: 1.08; }
.lx-road-principle > p { margin: 0; padding: 20px; border: 1px solid rgba(255,255,255,.18); border-radius: 17px; background: rgba(255,255,255,.09); color: rgba(255,255,255,.84); line-height: 1.58; }
.lx-road-cross-section { display: grid; grid-template-columns: 1.1fr .34fr .8fr 1.2fr .12fr 1.2fr .75fr; min-height: 185px; margin: 24px 0; overflow: hidden; border: 1px solid #d7e4ef; border-radius: 20px; box-shadow: 0 15px 35px rgba(7,42,91,.08); }
.lx-road-cross-section > div { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 15px 7px; color: #fff; font-weight: 900; text-align: center; }
.lx-road-cross-section span { position: relative; z-index: 2; }
.lx-road-cross-section small { position: relative; z-index: 2; margin-top: 4px; color: inherit; font-size: 10px; font-weight: 750; opacity: .78; }
.lx-road-sidewalk { background: repeating-linear-gradient(90deg,#e7ebef 0,#e7ebef 25px,#d9dfe5 25px,#d9dfe5 27px); color: #44576b!important; }
.lx-road-drain { background: linear-gradient(135deg,#71808d,#54616c); font-size: 10px; writing-mode: vertical-rl; }
.lx-road-cycle { background: #3e8dac; }
.lx-road-cycle i { margin-top: 12px; font-size: 26px; font-style: normal; }
.lx-road-lane { background: #4e5861; }
.lx-road-lane::after { content: ''; position: absolute; top: 0; right: 4px; width: 3px; height: 100%; background: repeating-linear-gradient(to bottom,#fff 0,#fff 18px,transparent 18px,transparent 34px); opacity: .8; }
.lx-road-lane i { margin-top: 13px; color: #fff; font-size: 32px; font-style: normal; }
.lx-road-axis { min-width: 12px; padding: 0!important; background: repeating-linear-gradient(to bottom,#f3bd2d 0,#f3bd2d 25px,#fff0 25px,#fff0 36px); color: transparent!important; }
.lx-road-shoulder { background: repeating-linear-gradient(135deg,#69747d 0,#69747d 12px,#7a858d 12px,#7a858d 24px); }
.lx-road-terms { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; margin-top: 20px; }
.lx-road-terms article { min-height: 155px; padding: 18px; border: 1px solid #dce8f3; border-radius: 17px; background: linear-gradient(145deg,#fff,#f7fbff); }
.lx-road-terms b { display: inline-block; margin-bottom: 9px; color: var(--lx-blue-deep); font-size: 16px; }
.lx-road-terms p { margin: 0; color: var(--lx-muted); font-size: 12px; line-height: 1.53; }
.lx-intersection-map { position: relative; min-height: 380px; margin: 24px 0; overflow: hidden; border: 1px solid #dce7f0; border-radius: 22px; background: #dfe9df; }
.lx-imap-road { position: absolute; background: #4e5861; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.lx-imap-road.vertical { top: 0; bottom: 0; left: 35%; width: 30%; }
.lx-imap-road.horizontal { top: 35%; right: 0; left: 0; height: 30%; }
.lx-imap-road::after { content: ''; position: absolute; background: repeating-linear-gradient(90deg,#f2bd32 0,#f2bd32 28px,transparent 28px,transparent 42px); }
.lx-imap-road.vertical::after { top: 0; bottom: 0; left: calc(50% - 2px); width: 4px; background: repeating-linear-gradient(to bottom,#f2bd32 0,#f2bd32 28px,transparent 28px,transparent 42px); }
.lx-imap-road.horizontal::after { top: calc(50% - 2px); right: 0; left: 0; height: 4px; }
.lx-imap-cross { position: absolute; z-index: 2; background: repeating-linear-gradient(90deg,#fff 0,#fff 12px,transparent 12px,transparent 21px); }
.lx-imap-cross.one { top: 30%; left: 36%; width: 28%; height: 24px; }
.lx-imap-cross.two { top: 36%; left: 31%; width: 24px; height: 28%; background: repeating-linear-gradient(to bottom,#fff 0,#fff 12px,transparent 12px,transparent 21px); }
.lx-imap-stop { position: absolute; z-index: 2; background: #fff; }
.lx-imap-stop.s1 { top: 26%; left: 36%; width: 28%; height: 5px; }
.lx-imap-stop.s2 { top: 36%; left: 27%; width: 5px; height: 28%; }
.lx-imap-label { position: absolute; z-index: 3; padding: 7px 10px; border-radius: 9px; background: rgba(255,255,255,.94); color: var(--lx-blue-deep); font-size: 11px; font-weight: 900; box-shadow: 0 7px 18px rgba(7,42,91,.12); }
.lx-imap-label.center { top: 47%; left: 45%; }
.lx-imap-label.stop { top: 14%; left: 67%; }
.lx-imap-label.cross { top: 69%; left: 7%; }
.lx-road-compare { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.lx-road-compare article { min-height: 190px; padding: 20px; border: 1px solid #dce8f3; border-radius: 18px; background: #f8fbff; }
.lx-road-compare span,.lx-risk-flow span { display: grid; width: 38px; height: 38px; margin-bottom: 17px; place-items: center; border-radius: 12px; background: var(--lx-blue); color: #fff; font-weight: 950; }
.lx-road-compare article:nth-child(2) span { background: var(--lx-orange); }
.lx-road-compare article:nth-child(3) span { background: #16865d; }
.lx-road-compare h3,.lx-road-context h3,.lx-vista-grid h3,.lx-cause-model h3,.lx-risk-flow h3,.lx-safe-layers h3 { margin: 0 0 7px; color: var(--lx-blue-deep); font-size: 18px; }
.lx-road-compare p,.lx-road-context p,.lx-vista-grid p,.lx-cause-model p,.lx-risk-flow p,.lx-safe-layers p { margin: 0; color: var(--lx-muted); font-size: 13px; line-height: 1.55; }
.lx-road-detail { margin-top: 13px; border: 1px solid #dce8f3; border-radius: 16px; background: #fff; overflow: hidden; }
.lx-road-detail summary { position: relative; padding: 18px 54px 18px 20px; color: var(--lx-blue-deep); font-weight: 850; cursor: pointer; list-style: none; }
.lx-road-detail summary::-webkit-details-marker { display: none; }
.lx-road-detail summary::after { content: '+'; position: absolute; top: 11px; right: 14px; display: grid; width: 34px; height: 34px; place-items: center; border-radius: 11px; background: #fff0e8; color: var(--lx-orange); font-size: 21px; }
.lx-road-detail[open] summary::after { transform: rotate(45deg); }
.lx-road-detail > div { padding: 0 20px 20px; color: var(--lx-muted); line-height: 1.6; }
.lx-road-detail p { margin: 0; }
.lx-road-context { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin: 22px 0; }
.lx-road-context article { padding: 24px; border: 1px solid #dce8f3; border-radius: 20px; background: linear-gradient(145deg,#fff,#f5faff); }
.lx-road-context article:nth-child(2) { background: linear-gradient(145deg,#fff,#fff8f3); }
.lx-road-context-icon { display: grid; width: 48px; height: 48px; margin-bottom: 17px; place-items: center; border-radius: 15px; background: var(--lx-blue); color: #fff; font-size: 24px; font-weight: 950; }
.lx-road-context article:nth-child(2) .lx-road-context-icon { background: var(--lx-orange); }
.lx-road-context ul { display: grid; gap: 8px; margin: 12px 0 0; padding-left: 20px; color: var(--lx-muted); font-size: 13px; line-height: 1.5; }
.lx-road-next { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 17px; padding: 15px 18px; border: 1px solid #cddfea; border-radius: 15px; background: #f5faff; color: var(--lx-blue)!important; text-decoration: none!important; }
.lx-road-next span { color: var(--lx-orange); font-weight: 850; }
.lx-vista-grid { display: grid; gap: 10px; margin-top: 20px; }
.lx-vista-grid article { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 15px; align-items: center; padding: 17px 19px; border: 1px solid #dce8f3; border-radius: 17px; background: linear-gradient(145deg,#fff,#f7fbff); }
.lx-vista-grid b { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 13px; background: var(--lx-blue); color: #fff; font-size: 18px; }
.lx-vista-grid article:nth-child(even) b { background: var(--lx-orange); }
.lx-cause-model { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); gap: 11px; align-items: center; margin: 23px 0 12px; }
.lx-cause-model article { min-height: 220px; padding: 22px; border: 1px solid #dce8f3; border-top: 5px solid var(--lx-blue); border-radius: 19px; background: #f7fbff; }
.lx-cause-model article:nth-of-type(2) { border-top-color: var(--lx-orange); background: #fff9f4; }
.lx-cause-model article:nth-of-type(3) { border-top-color: #16865d; background: #f5fcf8; }
.lx-cause-model article > span { display: inline-block; margin-bottom: 28px; padding: 6px 9px; border-radius: 999px; background: #e4f1ff; color: var(--lx-blue); font-size: 10px; font-weight: 950; letter-spacing: .08em; }
.lx-cause-model > b { color: var(--lx-orange); font-size: 28px; }
.lx-cause-result { padding: 21px; border-radius: 18px; background: linear-gradient(135deg,#092a5a,#0c5aa4); color: #fff; text-align: center; }
.lx-cause-result > span { display: block; color: #ffb27b; font-size: 27px; }
.lx-cause-result strong { display: block; margin: 4px 0 7px; font-size: 19px; }
.lx-cause-result p { max-width: 720px; margin: 0 auto; color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.55; }
.lx-risk-flow { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr); gap: 11px; align-items: center; margin: 22px 0; }
.lx-risk-flow article { min-height: 205px; padding: 21px; border: 1px solid #dce8f3; border-radius: 18px; background: #f8fbff; }
.lx-risk-flow article:nth-of-type(2) span { background: var(--lx-orange); }
.lx-risk-flow article:nth-of-type(3) span { background: #b8372f; }
.lx-risk-flow > i { color: var(--lx-orange); font-size: 25px; font-style: normal; font-weight: 950; }
.lx-safe-layers { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 22px 0; }
.lx-safe-layers article { min-height: 180px; padding: 22px 22px 22px 76px; position: relative; border: 1px solid #dce8f3; border-radius: 18px; background: linear-gradient(145deg,#fff,#f7fbff); }
.lx-safe-layers article > span { position: absolute; top: 21px; left: 20px; display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: var(--lx-blue); color: #fff; font-size: 11px; font-weight: 950; }
.lx-safe-layers article:nth-child(even) > span { background: var(--lx-orange); }
.lx-road-case { padding: clamp(24px,4vw,38px)!important; border: 1px solid #ffd5bd!important; background: linear-gradient(145deg,#fff9f4,#fff)!important; }
.lx-road-case ol { display: grid; gap: 10px; margin: 19px 0; padding-left: 22px; color: var(--lx-muted); line-height: 1.55; }
.lx-road-case li::marker { color: var(--lx-orange); font-weight: 950; }
.lx-road-lesson .lx-myths details { margin-top: 10px; border: 1px solid #dce8f3; border-radius: 15px; background: #fff; overflow: hidden; }
.lx-road-lesson .lx-myths summary { position: relative; padding: 17px 51px 17px 19px; color: var(--lx-blue-deep); font-weight: 850; cursor: pointer; list-style: none; }
.lx-road-lesson .lx-myths summary::-webkit-details-marker { display: none; }
.lx-road-lesson .lx-myths summary::after { content: '+'; position: absolute; top: 10px; right: 13px; display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; background: #fff0e8; color: var(--lx-orange); font-size: 20px; }
.lx-road-lesson .lx-myths details[open] summary::after { transform: rotate(45deg); }
.lx-road-lesson .lx-myths details > p { margin: 0; padding: 0 19px 18px; color: var(--lx-muted); line-height: 1.6; }
.lx-road-recap { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.lx-road-recap li { display: grid; grid-template-columns: 45px minmax(0,1fr); gap: 15px; align-items: center; padding: 15px 18px; border: 1px solid #dce8f3; border-radius: 16px; background: linear-gradient(145deg,#fff,#f7fbff); }
.lx-road-recap li > span { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 13px; background: var(--lx-blue); color: #fff; font-weight: 950; }
.lx-road-recap strong { color: var(--lx-blue-deep); }
.lx-road-recap p { margin: 4px 0 0; color: var(--lx-muted); font-size: 13px; line-height: 1.45; }
@media (max-width: 980px) { .lx-road-terms { grid-template-columns: repeat(2,minmax(0,1fr)); } .lx-cause-model,.lx-risk-flow { grid-template-columns: 1fr; } .lx-cause-model > b,.lx-risk-flow > i { transform: rotate(90deg); text-align: center; } .lx-cause-model article,.lx-risk-flow article { min-height: 0; } }
@media (max-width: 760px) { .lx-road-principle,.lx-road-compare,.lx-road-context,.lx-safe-layers { grid-template-columns: 1fr; } .lx-road-cross-section { grid-template-columns: .8fr .25fr .8fr 1fr .1fr 1fr .65fr; min-height: 155px; } .lx-road-cross-section span { font-size: 10px; } .lx-road-cross-section small { display: none; } .lx-road-compare article,.lx-safe-layers article { min-height: 0; } .lx-intersection-map { min-height: 310px; } }
@media (max-width: 520px) { .lx-road-principle { padding: 23px 19px; } .lx-road-terms { grid-template-columns: 1fr; } .lx-road-terms article { min-height: 0; } .lx-road-cross-section { grid-template-columns: .72fr .2fr .7fr 1fr .08fr 1fr .55fr; min-height: 132px; } .lx-road-cycle i,.lx-road-lane i { font-size: 20px; } .lx-imap-label.stop,.lx-imap-label.cross { display: none; } .lx-vista-grid article,.lx-safe-layers article,.lx-road-recap li { grid-template-columns: 1fr; padding: 18px; } .lx-safe-layers article > span { position: static; margin-bottom: 14px; } .lx-road-next { align-items: flex-start; flex-direction: column; } }

/* Acceso permanente a las guías narradas. */
.lx-audio-footer{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:18px;margin-bottom:28px;padding:18px 22px;color:#fff;background:linear-gradient(135deg,#071c38,#0c3a8c);border:1px solid rgba(255,255,255,.14);border-radius:18px}
.lx-audio-footer-icon{display:grid;place-items:center;width:50px;height:50px;color:#0c3a8c;background:#fff;border-radius:15px;font-size:1.45rem;font-weight:900}
.lx-audio-footer strong,.lx-audio-footer span{display:block}.lx-audio-footer div>span{margin-top:3px;color:rgba(255,255,255,.72);font-size:.86rem}
.lx-audio-footer>a{display:inline-flex;align-items:center;gap:8px;padding:11px 16px;color:#0b274d;background:#fff;border-radius:999px;font-size:.82rem;font-weight:900;text-decoration:none;white-space:nowrap}
@media(max-width:700px){.lx-audio-footer{grid-template-columns:46px minmax(0,1fr);margin-inline:14px;padding:16px}.lx-audio-footer-icon{width:44px;height:44px}.lx-audio-footer>a{grid-column:1/-1;justify-content:center}}
