/* Son de LED · diseño neón / LED (sobre el tema ASAP) */
@font-face { font-family: "Rajdhani"; font-style: normal; font-weight: 700; font-display: swap; src: url("fuentes/rajdhani.woff2") format("woff2"); }

body.sl {
	--fondo: #0b0d1a; --panel: #151833; --panel2: #1c2042; --linea: #2a2f5c; --texto: #e9ebff; --suave: #9ba1cf;
	--rojo: #ff3b4e; --cian: #22e1ff; --lima: #b6ff3b; --magenta: #ff3bd4; --ambar: #ffb020; --violeta: #7c5cff;
	--fh: "Rajdhani", "Trebuchet MS", system-ui, sans-serif;
	background: var(--fondo); color: var(--texto); font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	overflow-x: clip;
}
.sl a { color: var(--cian); }
.sl-ico { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- cabecera ---------- */
.sl .site-header { background: #070815; box-shadow: none; position: relative; z-index: 60; }
.sl .site-header-content { align-items: center; }
.sl .site-logo img, .sl .custom-logo { width: 62px !important; height: 62px !important; object-fit: cover; border-radius: 14px; margin: 8px 0; box-shadow: 0 0 22px rgba(255,59,78,.55); transition: transform .25s; }
.sl .site-logo a:hover img { transform: rotate(-5deg) scale(1.06); }
.sl .site-header .search-header input { background: #121536; color: var(--texto); border: 1px solid var(--linea); border-radius: 999px; }
.sl .site-header .search-header input::placeholder { color: var(--suave); }
.sl #menu ul li a { font-family: var(--fh); font-weight: 700; font-size: 20px; letter-spacing: .02em; color: #fff; transition: color .2s, text-shadow .2s; }
.sl #menu ul li a:hover, .sl #menu ul li.current-menu-item > a { color: var(--cian); text-shadow: 0 0 12px var(--cian); background: none; }
.sl #menu { background: transparent; }
@media (max-width: 800px) { .sl #menu { background: #0e1130; } }
.sl-led { height: 5px; background: linear-gradient(90deg, #ff3b4e, #ffb020, #b6ff3b, #22e1ff, #7c5cff, #ff3bd4, #ff3b4e); background-size: 300% 100%; animation: sled 9s linear infinite; box-shadow: 0 0 18px rgba(34,225,255,.6); position: relative; z-index: 59; }
@keyframes sled { to { background-position: 300% 0; } }

/* ---------- héroe ---------- */
.sl-hero { position: relative; overflow: hidden; padding: 46px 20px 62px; background: radial-gradient(ellipse at 78% 40%, rgba(255,176,32,.16), transparent 55%), radial-gradient(ellipse at 15% 20%, rgba(34,225,255,.12), transparent 50%), var(--fondo); }
.sl-matriz { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(14, 1fr); grid-auto-rows: 1fr; padding: 18px; opacity: .65; pointer-events: none; }
.sl-matriz i { place-self: center; width: 7px; height: 7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 10px var(--c); opacity: .12; animation: slpix 3.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes slpix { 0%, 100% { opacity: .1; transform: scale(.7); } 50% { opacity: 1; transform: scale(1.3); } }
.sl-hero-in { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: center; }
.sl-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px; background: rgba(34,225,255,.1); border: 1px solid rgba(34,225,255,.5); font-family: var(--fh); font-weight: 700; font-size: 16px; color: var(--cian); letter-spacing: .03em; }
.sl-h1 { font-family: var(--fh); font-weight: 700; font-size: clamp(40px, 6vw, 76px); line-height: .98; margin: 0 0 14px; color: #fff; text-transform: uppercase; letter-spacing: .01em; }
.sl-h1 span { background: linear-gradient(100deg, var(--rojo), var(--ambar), var(--lima), var(--cian), var(--magenta)); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sled 8s linear infinite; filter: drop-shadow(0 0 14px rgba(255,176,32,.35)); }
.sl-sub { font-size: 19px; line-height: 1.5; color: var(--suave); margin: 0 0 24px; max-width: 540px; }
.sl-buscar { display: flex; align-items: center; background: #101330; border: 2px solid var(--cian); border-radius: 999px; padding: 6px 6px 6px 18px; max-width: 580px; box-shadow: 0 0 24px rgba(34,225,255,.3), inset 0 0 12px rgba(34,225,255,.1); }
.sl-buscar .sl-ico { color: var(--cian); }
.sl-buscar input[type=search] { flex: 1; min-width: 0; border: 0 !important; background: none !important; box-shadow: none !important; color: #fff; font-size: 18px; padding: 12px; outline: 0; }
.sl-buscar input::placeholder { color: var(--suave); }
.sl-buscar button { border: 0; border-radius: 999px; background: var(--rojo); color: #fff; font-family: var(--fh); font-weight: 700; font-size: 19px; padding: 11px 26px; cursor: pointer; box-shadow: 0 0 18px rgba(255,59,78,.6); transition: transform .2s, background .2s; }
.sl-buscar button:hover { transform: scale(1.05); background: #ff5a6b; }
.sl-nums { list-style: none; margin: 26px 0 0; padding: 0; display: flex; gap: 30px; }
.sl-nums li { margin: 0; display: flex; flex-direction: column; } .sl-nums strong { font-family: var(--fh); font-size: 40px; line-height: 1; color: var(--lima); text-shadow: 0 0 14px rgba(182,255,59,.5); } .sl-nums span { font-size: 13px; color: var(--suave); }
.sl-hero-viz { display: flex; justify-content: center; position: relative; }
.sl-bombilla { width: min(100%, 340px); height: auto; overflow: visible; cursor: pointer; filter: drop-shadow(0 0 30px rgba(255,176,32,.55)); }
.sl-halo { animation: slhalo 3.4s ease-in-out infinite; transform-origin: 120px 115px; }
@keyframes slhalo { 0%, 100% { opacity: .75; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.06); } 52% { opacity: .55; } 54% { opacity: 1; } }
.sl-fil { animation: slfil 3.4s ease-in-out infinite; } @keyframes slfil { 0%, 100% { stroke: #ff7a1a; } 50% { stroke: #fff2a0; } }
.sl-bombilla.apagada .sl-halo { opacity: .08 !important; animation: none; } .sl-bombilla.apagada .sl-fil { stroke: #6a6f99; animation: none; }

/* ---------- secciones ---------- */
.sl-t2 { display: flex; align-items: center; gap: 10px; font-family: var(--fh); font-weight: 700; font-size: 34px; margin: 0 0 18px; color: #fff; text-transform: uppercase; letter-spacing: .02em; }
.sl-t2 .sl-ico { color: var(--ambar); filter: drop-shadow(0 0 8px var(--ambar)); }
.sl-cinta { position: relative; z-index: 3; overflow: hidden; background: #070815; padding: 12px 0; margin: -4px -2% 0; transform: rotate(-1deg); border-block: 2px solid var(--rojo); box-shadow: 0 0 20px rgba(255,59,78,.35); }
.sl-cinta-pista { display: flex; width: max-content; align-items: center; gap: 28px; animation: slcinta 40s linear infinite; }
.sl-cinta:hover .sl-cinta-pista { animation-play-state: paused; }
.sl-cinta a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-family: var(--fh); font-weight: 700; font-size: 21px; white-space: nowrap; text-transform: uppercase; }
.sl-cinta a .sl-ico { color: var(--c); filter: drop-shadow(0 0 6px var(--c)); } .sl-cinta a:hover { color: var(--cian); }
.sl-cinta i { color: var(--ambar); font-style: normal; font-size: 10px; }
@keyframes slcinta { to { transform: translateX(-50%); } }
.sl-temas { max-width: 1180px; margin: 0 auto; padding: 44px 20px 8px; }
.sl-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sl-tiles li { margin: 0; }
.sl-tiles a { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 20px 18px 18px; min-height: 150px; border-radius: 18px; background: var(--panel); border: 1px solid var(--linea); text-decoration: none; color: #fff; overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.sl-tiles a::before { content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: var(--c); opacity: .18; filter: blur(8px); transition: transform .3s, opacity .3s; }
.sl-tiles a:hover { border-color: var(--c); box-shadow: 0 0 26px color-mix(in srgb, var(--c) 55%, transparent), inset 0 0 18px color-mix(in srgb, var(--c) 18%, transparent); }
.sl-tiles a:hover::before { transform: scale(1.7); opacity: .3; }
.sl-tiles .ic { position: relative; width: 46px; height: 46px; border-radius: 13px; background: color-mix(in srgb, var(--c) 20%, #0b0d1a); color: var(--c); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; box-shadow: 0 0 14px color-mix(in srgb, var(--c) 50%, transparent); }
.sl-tiles .ic .sl-ico { width: 26px; height: 26px; }
.sl-tiles strong { position: relative; font-family: var(--fh); font-size: 24px; line-height: 1.05; text-transform: uppercase; } .sl-tiles em { position: relative; font-style: normal; font-size: 14px; color: var(--suave); }

/* ---------- taller de cálculo ---------- */
.sl-lab { position: relative; padding: 70px 20px 78px; margin-top: 48px; background: linear-gradient(180deg, #0b0d1a, #11143a 35%, #0b0d1a); border-block: 1px solid var(--linea); }
.sl-lab-in { max-width: 1080px; margin: 0 auto; }
.sl-lab-sub { color: var(--suave); font-size: 18px; margin: -6px 0 22px; max-width: 640px; }
.sl-lab-card { background: var(--panel); border: 1px solid var(--linea); border-radius: 24px; padding: 18px; box-shadow: 0 0 40px rgba(124,92,255,.18); }
.sl-tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 4px 16px; }
.sl-tab { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px 9px 14px; border-radius: 999px; border: 1px solid var(--linea); background: transparent; color: #fff; font-family: var(--fh); font-weight: 700; font-size: 19px; cursor: pointer; transition: all .2s; text-transform: uppercase; }
.sl-tab:hover { border-color: var(--cian); color: var(--cian); }
.sl-tab.on { background: var(--rojo); border-color: var(--rojo); color: #fff; box-shadow: 0 0 22px rgba(255,59,78,.6); }
.sl-lab-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; }
.sl-lab-form { background: rgba(255,255,255,.03); border: 1px solid var(--linea); border-radius: 18px; padding: 20px; }
.sl-panel { display: none; flex-direction: column; gap: 14px; } .sl-panel.on { display: flex; animation: slfade .35s ease; }
@keyframes slfade { from { opacity: 0; transform: translateY(8px); } }
.sl-panel label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--suave); font-weight: 600; flex: 1; }
.sl-panel input[type=number], .sl-panel select { background: #0c0e24; color: #fff; border: 1px solid var(--linea); border-radius: 10px; padding: 11px 12px; font-size: 17px; width: 100%; box-sizing: border-box; font-family: inherit; }
.sl-panel input:focus, .sl-panel select:focus { outline: 0; border-color: var(--cian); box-shadow: 0 0 0 3px rgba(34,225,255,.25); }
.sl-fila { display: flex; gap: 12px; align-items: flex-end; }
.sl-nota { font-size: 13px; color: #7f86b8; margin: 2px 0 0; line-height: 1.5; }
.sl-lab-out { display: flex; flex-direction: column; align-items: center; gap: 14px; background: radial-gradient(ellipse at 50% 22%, color-mix(in srgb, var(--led, #ff3b4e) 26%, transparent), transparent 60%), var(--panel2); border: 1px solid var(--linea); border-radius: 18px; padding: 18px; }
.sl-lab-led { width: 140px; height: 110px; position: relative; flex: none; display: flex; align-items: center; justify-content: center; }
.sl-led-b { width: 64px; height: 64px; border-radius: 50%; background: var(--led, #ff3b4e); box-shadow: 0 0 calc(18px + 60px * var(--b, .6)) calc(4px + 14px * var(--b, .6)) var(--led, #ff3b4e); opacity: calc(.45 + .55 * var(--b, .6)); transition: all .5s; }
.sl-lab-led::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 70px; height: 10px; transform: translateX(-50%); background: #3a3f78; border-radius: 6px; }
.sl-res { width: 100%; display: flex; flex-direction: column; gap: 8px; }
.sl-r { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.05); border: 1px solid var(--linea); border-radius: 12px; padding: 10px 14px; animation: slfade .35s ease; }
.sl-r .pt { width: 12px; height: 12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 12px var(--c); flex: none; }
.sl-r small { display: block; font-size: 12px; color: var(--suave); } .sl-r strong { font-family: var(--fh); font-size: 26px; line-height: 1.05; color: #fff; }
.sl-aviso { margin: 0; padding: 14px; border-radius: 12px; background: rgba(255,176,32,.12); border: 1px solid rgba(255,176,32,.4); color: #ffd98a; font-size: 15px; }

/* ---------- listados ---------- */
.sl .search-home { display: none; }
.sl.sl-home .content-home-text h1, .sl.sl-home .content-home-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.sl main.content-loop, .sl main.content-single, .sl main.content-page, .sl main.content-archive { max-width: 1180px; padding: 0 20px; }
.sl-ultimo { margin: 40px 0 18px; }
.sl .article-loop-featured a, .sl .article-loop a { text-decoration: none; }
.sl .article-loop-featured, .sl .article-loop { transform: none; }
.sl .article-image-featured, .sl .article-image { border-radius: 16px; border: 1px solid var(--linea); transition: transform .35s, box-shadow .25s; }
.sl article.article-loop, .sl article.article-loop-featured { transition: transform .15s; }
.sl article.article-loop:hover .article-image, .sl article.article-loop-featured:hover .article-image-featured { box-shadow: 0 0 26px rgba(34,225,255,.45); border-color: var(--cian); transform: scale(1.02); }
.sl .article-loop .entry-title, .sl .article-loop-featured .entry-title { font-family: var(--fh); font-weight: 700; font-size: 22px; line-height: 1.1; color: #fff; }
.sl .article-loop-featured .entry-title { text-shadow: 0 2px 8px rgba(0,0,0,.8); }
.sl .content-item-category span { background: var(--rojo); color: #fff; border-radius: 999px; font-weight: 700; box-shadow: 0 0 12px rgba(255,59,78,.6); }
.sl .pagination .page-numbers { background: var(--panel); color: #fff; border: 1px solid var(--linea); border-radius: 10px; font-family: var(--fh); font-weight: 700; }
.sl .pagination .page-numbers.current, .sl .pagination .page-numbers:hover { background: var(--rojo); border-color: var(--rojo); box-shadow: 0 0 16px rgba(255,59,78,.6); color: #fff; }

/* ---------- banda (guías, categorías, páginas) ---------- */
.sl-banda { --c: #22e1ff; position: relative; height: 110px; background: linear-gradient(110deg, color-mix(in srgb, var(--c) 26%, #0b0d1a), #0b0d1a 70%); border-bottom: 2px solid var(--c); box-shadow: 0 6px 30px color-mix(in srgb, var(--c) 35%, transparent); overflow: hidden; }
.sl-banda::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 22px, rgba(255,255,255,.04) 22px 24px); }
.sl-banda-in { position: relative; max-width: 1180px; margin: 0 auto; padding: 32px 20px 0; }
.sl-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px 8px 14px; border-radius: 999px; background: #0b0d1a; border: 1px solid var(--c); font-family: var(--fh); font-weight: 700; font-size: 20px; color: #fff; text-decoration: none; text-transform: uppercase; box-shadow: 0 0 18px color-mix(in srgb, var(--c) 50%, transparent); }
.sl-chip .sl-ico { color: var(--c); }

/* ---------- guía individual ---------- */
.sl.sl-single main.content-single { margin-top: -30px; position: relative; z-index: 3; }
.sl .content-thin { background: var(--panel); border: 1px solid var(--linea); border-radius: 22px; padding: 34px 40px 28px; box-shadow: 0 0 40px rgba(34,225,255,.08); }
.sl .breadcrumb-trail, .sl .breadcrumb-trail a { color: var(--suave); font-size: 14px; }
.sl .content-thin h1 { font-family: var(--fh); font-weight: 700; font-size: clamp(34px, 4.6vw, 54px); line-height: 1.02; text-transform: uppercase; color: #fff; margin: 8px 0 18px; }
.sl .post-thumbnail img { border-radius: 16px; border: 1px solid var(--linea); width: 100%; height: auto; }
.sl .the-content { font-size: 18px; line-height: 1.75; color: #d6d9f5; }
.sl .the-content h2 { font-family: var(--fh); font-weight: 700; font-size: 32px; line-height: 1.05; text-transform: uppercase; color: #fff; margin: 1.6em 0 .5em; padding-left: 16px; position: relative; }
.sl .the-content h2::before { content: ""; position: absolute; left: 0; top: .1em; bottom: .1em; width: 6px; border-radius: 4px; background: linear-gradient(var(--rojo), var(--ambar)); box-shadow: 0 0 12px var(--rojo); }
.sl .the-content h3 { font-family: var(--fh); font-weight: 700; font-size: 25px; color: var(--cian); margin: 1.3em 0 .4em; }
.sl .the-content a { color: var(--cian); text-underline-offset: 3px; } .sl .the-content a:hover { color: var(--lima); }
.sl .the-content table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--linea); border-radius: 14px; overflow: hidden; font-size: 16px; margin: 1.2em 0; }
.sl .the-content th { background: #1d2250; color: #fff; font-family: var(--fh); font-size: 18px; padding: 10px 14px; text-align: left; border: 0; }
.sl .the-content td { padding: 10px 14px; border: 0; border-top: 1px solid var(--linea); color: #d6d9f5; }
.sl .the-content tr:nth-child(even) td { background: rgba(255,255,255,.03); }
.sl .the-content ul, .sl .the-content ol { margin: 0 0 1.2em 1.3em; } .sl .the-content li { margin-bottom: .4em; }
.sl .the-content iframe { max-width: 100%; border-radius: 14px; }
.sl .post-index { background: #10133a; border: 1px solid var(--linea); border-radius: 14px; color: #d6d9f5; }
.sl .kk-star-ratings, .sl .kksr-auto { display: none !important; }
.sl-sigue { margin: 38px 0 4px; padding-top: 24px; border-top: 1px dashed var(--linea); }
.sl-sigue h2 { display: flex; align-items: center; gap: 10px; font-family: var(--fh); font-size: 28px !important; text-transform: uppercase; margin: 0 0 14px !important; color: #fff; }
.sl-sigue h2 .sl-ico { color: var(--ambar); } .sl-sigue ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sl-sigue a { display: block; text-decoration: none; background: var(--panel2); border: 1px solid var(--linea); border-radius: 16px; overflow: hidden; transition: all .18s; }
.sl-sigue a:hover { border-color: var(--cian); box-shadow: 0 0 22px rgba(34,225,255,.4); transform: translateY(-3px); }
.sl-sigue .im { display: block; aspect-ratio: 16 / 10; background-size: cover; background-position: center; } .sl-sigue .im.vacio { display: flex; align-items: center; justify-content: center; background: #151a4a; color: var(--ambar); }
.sl-sigue strong { display: block; padding: 10px 12px 12px; font-family: var(--fh); font-size: 20px; line-height: 1.1; color: #fff; }

/* ---------- pie ---------- */
.sl .sl-pie { background: #070815; border-top: 2px solid var(--rojo); margin-top: 44px; padding: 24px 20px 34px; }
.sl .sl-pie-in { max-width: 1180px; margin: 0 auto; text-align: center; }
.sl .sl-pie nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; margin-bottom: 12px; }
.sl .sl-pie a { color: #fff; text-decoration: none; font-weight: 600; } .sl .sl-pie a:hover { color: var(--cian); }
.sl .sl-pie p { margin: 0; color: var(--suave); font-size: 14px; }

/* ---------- aparición, 3D y barra de lectura ---------- */
html.sl-js .sl-rev { opacity: 0; translate: 0 22px; transition: opacity .6s ease calc(var(--d, 0) * 90ms), translate .6s ease calc(var(--d, 0) * 90ms), transform .15s, box-shadow .2s, border-color .2s; }
html.sl-js .sl-rev.visto { opacity: 1; translate: none; }
.sl-prog { position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 99999; background: linear-gradient(90deg, #ff3b4e, #ffb020, #22e1ff); box-shadow: 0 0 12px #22e1ff; }
.sl-chispa { position: absolute; left: 50%; top: 38%; border-radius: 50%; pointer-events: none; animation: slchispa 1s ease-out forwards; z-index: 5; }
@keyframes slchispa { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(var(--x), var(--y)) scale(.3); opacity: 0; } }

/* ---------- adaptativo ---------- */
@media (max-width: 960px) { .sl-hero-in { grid-template-columns: 1fr; } .sl-hero-viz { order: -1; max-height: 260px; } .sl-bombilla { width: 210px; } .sl-tiles { grid-template-columns: repeat(2, 1fr); } .sl-lab-body { grid-template-columns: 1fr; } .sl-matriz { grid-template-columns: repeat(8, 1fr); } }
@media (max-width: 640px) {
	.sl-hero { padding: 24px 16px 40px; } .sl-sub { font-size: 16px; } .sl-t2 { font-size: 27px; } .sl-fila { flex-wrap: wrap; }
	.sl-tiles { gap: 10px; } .sl-tiles a { padding: 14px 12px; min-height: 128px; } .sl-tiles strong { font-size: 20px; }
	.sl-lab { padding: 56px 12px 64px; } .sl-tab span { font-size: 17px; }
	.sl .content-thin { padding: 22px 16px; border-radius: 16px; } .sl .the-content { font-size: 17px; } .sl .the-content h2 { font-size: 27px; }
	.sl .the-content table { display: block; overflow-x: auto; white-space: nowrap; } .sl-sigue ul { grid-template-columns: 1fr; }
	.sl-banda { height: 90px; } .sl-banda-in { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) { .sl-led, .sl-matriz i, .sl-cinta-pista, .sl-halo, .sl-fil, .sl-h1 span, .sl-chispa { animation: none !important; } html.sl-js .sl-rev { opacity: 1; translate: none; } }

/* ajustes tras la primera revisión */
.sl .sl-panel input[type=number], .sl .sl-panel select { background: #0c0e24 !important; color: #fff !important; -webkit-text-fill-color: #fff; border: 1px solid var(--linea) !important; }
.sl .sl-panel select option { background: #0c0e24; color: #fff; }
.sl .site-header .search-header { display: none; }
.sl .site-header-content { justify-content: space-between; }
.sl #menu ul li a { padding: 0 14px; }
.sl.sl-single .primary-sidebar, .sl.sl-single .sidebar, .sl.sl-single aside.primary-sidebar { display: none !important; }
.sl.sl-single main.content-single { display: block; max-width: 980px; }
.sl.sl-single .content-thin { width: 100% !important; max-width: none !important; float: none; }
.sl.sl-single main.content-single > .article-loop, .sl.sl-single main.content-single > .article-loop-featured, .sl.sl-single .last-post-sidebar { display: none !important; }
.sl .site-header-content { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 801px) { .sl #menu ul { display: flex; flex-wrap: nowrap; gap: 2px; margin: 0; } .sl #menu ul li { white-space: nowrap; } .sl #menu ul li a { font-size: 19px; padding: 0 12px; } }
.sl #nav-icon .circle { background: #0b0d1a; border: 2px solid var(--cian); box-shadow: 0 0 18px rgba(34,225,255,.7); }
.sl #nav-icon .line { background: #fff; }
/* texto de las guías sobre fondo oscuro */
.sl .the-content p, .sl .the-content li, .sl .the-content td, .sl .the-content dd, .sl .the-content span, .sl .the-content em, .sl .the-content blockquote { color: #d6d9f5; }
.sl .the-content strong, .sl .the-content b { color: #fff; }
.sl .the-content p a, .sl .the-content li a { color: var(--cian); }
.sl .the-content blockquote { border-left: 4px solid var(--ambar); background: rgba(255,176,32,.08); padding: 12px 18px; border-radius: 0 12px 12px 0; }
.sl .the-content .ctaButton, .sl .the-content .centered-text-area, .sl .the-content div[class*="related"], .sl .the-content div[class*="Relacionada"] { border-radius: 14px; }
.sl .the-content .centered-text-area * { color: #fff !important; }
.sl .post-index a { color: var(--cian); } .sl .post-index .toc-title, .sl .post-index span { color: #e9ebff; }
/* el vídeo de YouTube de cada guía: sin su contenedor original quedaba a pantalla completa; ahora va en 16:9 dentro del texto */
.sl .the-content iframe, .sl .the-content iframe[src*="youtube"] { position: static !important; top: auto !important; left: auto !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; display: block; margin: 1.2em 0; border: 1px solid var(--linea); border-radius: 14px; }
.sl .the-content p:has(> iframe) { margin: 0; }

/* ---------- móvil: ajustes tras la revisión ---------- */
html:has(body.sl) { overflow-x: clip; }
@media (max-width: 800px) {
	.sl .site-header { position: sticky; top: 0; }
	.sl .site-header-content { position: relative; padding-right: 64px; min-height: 66px; }
	.sl #nav-icon { position: absolute !important; top: 11px !important; right: 12px !important; left: auto !important; bottom: auto !important; margin: 0 !important; z-index: 70; }
	.sl #nav-icon .circle { width: 44px; height: 44px; }
	.sl #menu { top: 66px; }
	.sl-banda { height: 104px; } .sl-banda-in { padding-top: 22px; }
	.sl.sl-single main.content-single { margin-top: -22px; }
	.sl .post-index ol, .sl .post-index ul { padding-left: 16px; margin-left: 0; } .sl .post-index li { margin-left: 0; }
	.sl .the-content h2 { padding-left: 14px; }
	.sl-cinta { margin-left: 0; margin-right: 0; }
}
@media (max-width: 800px) {
	.sl .circle.nav-icon, .sl #nav-icon .circle { background: #0b0d1a !important; border: 2px solid var(--cian) !important; box-shadow: 0 0 16px rgba(34,225,255,.65) !important; width: 46px !important; height: 46px !important; }
	.sl #nav-icon .line, .sl .nav-icon .line { background: #fff !important; }
	.sl #menu { background: #0e1130 !important; border-top: 1px solid var(--linea); }
	.sl #menu ul li a, .sl #menu ul li { color: #fff !important; background: transparent !important; font-size: 21px; }
	.sl #menu ul li a:hover { color: var(--cian) !important; }
	.sl .search-responsive input { background: #121536 !important; color: #fff !important; border: 1px solid var(--linea) !important; }
	.sl .search-responsive { background: #0e1130 !important; }
}
@media (max-width: 800px) {
	.sl #nav-icon { width: 46px; height: 46px; border-radius: 50%; background: #0b0d1a; border: 2px solid var(--cian); box-shadow: 0 0 16px rgba(34,225,255,.65); display: block; }
	.sl .circle.nav-icon, .sl #nav-icon .circle { background: transparent !important; border: 0 !important; box-shadow: none !important; width: 100% !important; height: 100% !important; }
}

@media (min-width: 961px) { .sl-tiles { grid-template-columns: repeat(3, 1fr); } }

/* ---------- categorías y búsqueda ---------- */
.sl.sl-arch .content-thin, .sl.sl-home .content-thin { background: none; border: 0; padding: 0; box-shadow: none; border-radius: 0; }
.sl.sl-arch main.content-loop { max-width: 1180px; padding: 0 20px; }
.sl.sl-arch main.content-loop > h1 { font-family: var(--fh); font-weight: 700; font-size: clamp(34px, 5vw, 54px); text-transform: uppercase; color: #fff; text-align: left; margin: 26px 0 8px; }
.sl.sl-arch .des-category p { color: #cdd1f2; font-size: 18px; line-height: 1.65; max-width: 880px; margin: 0 0 22px; }
.sl.sl-arch .content-all { display: block; }
.sl.sl-arch .content-area { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; width: 100% !important; float: none; }
.sl.sl-arch .content-area > article { width: auto !important; max-width: none; margin: 0 !important; padding: 0 !important; }
.sl.sl-arch .article-image-featured, .sl.sl-arch .article-image { aspect-ratio: 16 / 10; height: auto; min-height: 0; background-color: #151a4a; background-size: cover; background-position: center; }
.sl.sl-arch .article-loop .article-content { display: block; }
.sl.sl-arch .last-post-sidebar, .sl.sl-arch aside, .sl.sl-arch .search-home { display: none !important; }
@media (max-width: 960px) { .sl.sl-arch .content-area { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sl.sl-arch .content-area { grid-template-columns: 1fr; } }
.sl.sl-arch section.content-all, .sl.sl-arch section.content-thin, .sl.sl-arch section.content-area { width: 100% !important; max-width: none !important; margin: 0 !important; float: none !important; }
.sl.sl-arch .content-area { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sl.sl-arch .content-area > article a { display: block; }
.sl.sl-arch .article-loop .entry-title { padding: 10px 4px 0; }

/* ================= tarjeta unificada ================= */
.sl main:has(> .sl-card), .sl .content-area:has(> .sl-card), .sl section:has(> .sl-card) { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; width: 100% !important; max-width: none !important; float: none !important; }
.sl main:has(> .sl-card) > :not(.sl-card), .sl .content-area:has(> .sl-card) > :not(.sl-card), .sl section:has(> .sl-card) > :not(.sl-card) { grid-column: 1 / -1; }
.sl .sl-card { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 !important; background: var(--panel) !important; border: 1px solid var(--linea); border-radius: 18px; overflow: hidden; transition: transform .18s, box-shadow .2s, border-color .2s; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.sl .sl-card:hover { border-color: var(--c); box-shadow: 0 0 26px color-mix(in srgb, var(--c) 45%, transparent); }
.sl .sl-card > a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.sl .sl-card .im { position: relative; display: block; aspect-ratio: 16 / 10; background-size: cover; background-position: center; background-color: #151a4a; overflow: hidden; transition: transform .4s; }
.sl .sl-card:hover .im { transform: scale(1.04); }
.sl .sl-card .im.vacio { background: radial-gradient(ellipse at 50% 40%, color-mix(in srgb, var(--c) 45%, #11143a), #0e1130 75%); display: flex; align-items: center; justify-content: center; }
.sl .sl-card .fb { color: var(--c); filter: drop-shadow(0 0 14px var(--c)); } .sl .sl-card .fb .sl-ico { width: 64px; height: 64px; stroke-width: 1.3; }
.sl .sl-card .ch { position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px 4px 9px; border-radius: 999px; background: rgba(8,10,28,.85); border: 1px solid var(--c); color: #fff; font-family: var(--fh); font-weight: 700; font-size: 14px; text-transform: uppercase; z-index: 2; }
.sl .sl-card .ch .sl-ico { width: 15px; height: 15px; color: var(--c); }
.sl .sl-card .tx { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 18px; flex: 1; }
.sl .sl-card strong { font-family: var(--fh); font-weight: 700; font-size: 23px; line-height: 1.1; color: #fff; }
.sl .sl-card .ex { font-size: 14.5px; line-height: 1.5; color: var(--suave); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) { .sl main:has(> .sl-card), .sl .content-area:has(> .sl-card), .sl section:has(> .sl-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .sl main:has(> .sl-card), .sl .content-area:has(> .sl-card), .sl section:has(> .sl-card) { grid-template-columns: 1fr; } .sl .sl-card strong { font-size: 22px; } }

/* ================= páginas, búsqueda y 404 ================= */
.sl.sl-page main.content-page { max-width: 980px; margin: -22px auto 0; padding: 0 20px; position: relative; z-index: 3; }
.sl.sl-page .content-page article, .sl.sl-page .content-thin { background: var(--panel); border: 1px solid var(--linea); border-radius: 22px; padding: 34px 40px; box-shadow: 0 0 40px rgba(34,225,255,.08); }
.sl.sl-page h1 { font-family: var(--fh); font-weight: 700; font-size: clamp(34px, 5vw, 52px); text-transform: uppercase; color: #fff; margin: 0 0 18px; }
.sl.sl-page .the-content, .sl.sl-page .entry-content, .sl.sl-page .content-page p, .sl.sl-page .content-page li { color: #d6d9f5; font-size: 18px; line-height: 1.75; }
.sl.sl-page h2, .sl.sl-page h3 { font-family: var(--fh); color: #fff; text-transform: uppercase; }
.sl.sl-page a { color: var(--cian); }
.sl.sl-page input[type=text], .sl.sl-page input[type=email], .sl.sl-page textarea { background: #0c0e24; color: #fff; border: 1px solid var(--linea); border-radius: 10px; padding: 11px 14px; width: 100%; box-sizing: border-box; font-size: 17px; }
.sl.sl-page input[type=submit], .sl.sl-page button[type=submit] { background: var(--rojo); color: #fff; border: 0; border-radius: 999px; padding: 12px 28px; font-family: var(--fh); font-weight: 700; font-size: 19px; cursor: pointer; box-shadow: 0 0 18px rgba(255,59,78,.55); }
.sl.sl-arch main > .no-results, .sl .content-404 { color: #d6d9f5; }
.sl .pagination { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0; }
@media (max-width: 640px) { .sl.sl-page .content-page article, .sl.sl-page .content-thin { padding: 22px 16px; border-radius: 16px; } }
.sl.sl-arch main.content-loop > h1, .sl.sl-arch main.content-loop > h2, .sl.sl-arch main.content-loop > p, .sl.sl-arch main.content-loop > div:not(.des-category) { color: #fff !important; }
.sl.sl-arch main.content-loop > h2 em, .sl.sl-arch main.content-loop > p em { color: var(--cian); }
