/* Tutoriales de los laboratorios · mismos colores de marca que la portada (.oelh). Todas las clases empiezan por .oelt */
.oelt {
  --oelt-brand: #005b57; --oelt-brand-d: #00403d; --oelt-accent: #f4775c; --oelt-ink: #14343a; --oelt-muted: #46636a; --oelt-line: #d6e6e3; --oelt-soft: #eef7f5; --oelt-warn: #fff6e5; --oelt-warn-ink: #8a5a00;
  box-sizing: border-box; color: var(--oelt-ink); line-height: 1.55; font-family: inherit;
}
.oelt *, .oelt *::before, .oelt *::after { box-sizing: border-box; }
.oelt [hidden] { display: none !important; }
.oelt a { color: var(--oelt-brand); }

/* ---------- índice ---------- */
.oelt-hero { padding: 6px 0 18px; }
.oelt-kicker { display: inline-block; margin: 0 0 10px; padding: 5px 14px; border-radius: 999px; background: var(--oelt-soft); color: var(--oelt-brand); font-weight: 700; font-size: 14px; }
.oelt-title { margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); line-height: 1.1; }
.oelt-lead { margin: 0; max-width: 760px; font-size: 17px; color: var(--oelt-muted); }
.oelt-bar { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; margin: 18px 0 6px; padding: 12px 0; border-top: 1px solid var(--oelt-line); border-bottom: 1px solid var(--oelt-line); }
.oelt-search { flex: 1 1 240px; max-width: 380px; padding: 10px 16px; border: 2px solid var(--oelt-line); border-radius: 999px; font: inherit; font-size: 15px; background: #fff; color: var(--oelt-ink); }
.oelt-search:focus { outline: none; border-color: var(--oelt-brand); box-shadow: 0 0 0 3px rgba(0, 91, 87, .15); }
.oelt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.oelt-chip { padding: 8px 14px; border-radius: 999px; border: 2px solid var(--oelt-line); background: #fff; color: var(--oelt-ink); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.oelt-chip:hover { border-color: var(--oelt-brand); }
.oelt-chip.is-on { background: var(--oelt-brand); border-color: var(--oelt-brand); color: #fff; }

.oelt-ruta { margin: 26px 0 10px; }
.oelt-rutahead { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.oelt-rutaico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--oelt-soft); font-size: 26px; flex: 0 0 auto; }
.oelt-rutahead h2 { margin: 0; font-size: 24px; line-height: 1.15; }
.oelt-rutahead p { margin: 2px 0 0; color: var(--oelt-muted); font-size: 14.5px; }
.oelt-check-reset { margin-left: auto; border: 0; background: none; color: var(--oelt-muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }

.oelt-pasos { list-style: none; margin: 0; padding: 0; position: relative; }
.oelt-pasos::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; width: 2px; background: var(--oelt-line); }
.oelt-pasos--sueltos::before { display: none; }
.oelt-card { position: relative; display: flex; align-items: stretch; gap: 10px; margin: 0 0 12px; }
.oelt-cardlink { flex: 1 1 auto; display: flex; align-items: center; gap: 16px; padding: 14px 16px 14px 10px; border: 2px solid var(--oelt-line); border-radius: 16px; background: #fff; text-decoration: none !important; color: inherit; box-shadow: 0 4px 16px rgba(0, 60, 57, .05); transition: transform .15s, box-shadow .15s, border-color .15s; }
.oelt-cardlink:hover { transform: translateY(-2px); border-color: var(--oelt-brand); box-shadow: 0 10px 26px rgba(0, 60, 57, .1); }
.oelt-num { position: relative; z-index: 1; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 999px; background: var(--oelt-brand); color: #fff; font-weight: 800; font-size: 14px; flex: 0 0 auto; }
.oelt-card.is-done .oelt-num { background: #1a7f37; } .oelt-card.is-done .oelt-num::after { content: "✓"; position: absolute; }
.oelt-card.is-done .oelt-num { font-size: 0; }
.oelt-thumb { flex: 0 0 120px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--oelt-soft); border: 1px solid var(--oelt-line); }
.oelt-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.oelt-cardbody { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.oelt-cardbody b { font-size: 18px; line-height: 1.25; }
.oelt-cardbody small { color: var(--oelt-muted); font-size: 14.5px; }
.oelt-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; font-size: 12.5px; color: var(--oelt-muted); margin-top: 3px; }
.oelt-meta > span { padding: 2px 9px; border-radius: 99px; background: var(--oelt-soft); }
.oelt-v.is-ok { color: #1a7f37; background: #e8f5ec; } .oelt-v.is-mayor { color: #9a6700; background: var(--oelt-warn); } .oelt-v.is-menor { color: #1a7f37; background: #e8f5ec; }
.oelt-done { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0 6px; font-size: 11px; color: var(--oelt-muted); cursor: pointer; user-select: none; }
.oelt-done input { width: 20px; height: 20px; accent-color: #1a7f37; margin: 0; cursor: pointer; }
.oelt-empty, .oelt-none { padding: 18px; border: 2px dashed var(--oelt-line); border-radius: 16px; color: var(--oelt-muted); text-align: center; }
.oelt-link { border: 0; background: none; color: var(--oelt-brand); font: inherit; text-decoration: underline; cursor: pointer; }
.oelt-foot { margin-top: 30px; padding-top: 16px; border-top: 1px solid var(--oelt-line); color: var(--oelt-muted); font-size: 15px; }
@media (max-width: 640px) { .oelt-thumb { display: none; } .oelt-pasos::before { left: 21px; } }

/* ---------- página de un tutorial ---------- */
.oelt-single { max-width: 860px; margin: 0 auto; }
.oelt-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14.5px; color: var(--oelt-muted); }
.oelt-crumbs a { text-decoration: none; font-weight: 700; }
.oelt-pos { padding: 2px 10px; border-radius: 99px; background: var(--oelt-soft); color: var(--oelt-brand); font-weight: 700; font-size: 12.5px; }
.oelt-meta--top { margin: 0 0 16px; font-size: 13.5px; }
.oelt-aviso { margin: 10px 0; padding: 10px 14px; border-radius: 12px; background: var(--oelt-warn); color: var(--oelt-warn-ink); font-size: 15px; }
.oelt-aviso--old { background: #fff1ec; color: #8a3b24; border: 1px solid #f7cfc3; }
.oelt-video { margin: 0 0 22px; }
.oelt-video video, .oelt-yt { width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #000; display: block; }
.oelt-yt { position: relative; overflow: hidden; cursor: pointer; }
.oelt-yt img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: .9; }
.oelt-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.oelt-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 76px; height: 76px; border: 0; border-radius: 999px; background: var(--oelt-accent); color: #fff; font-size: 30px; cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.oelt-video figcaption, .oelt-media figcaption { margin-top: 6px; font-size: 13.5px; color: var(--oelt-muted); text-align: center; }
.oelt-intro { font-size: 17px; }
.oelt-intro > p:first-child { font-size: 18px; }

.oelt-steps { list-style: none; margin: 10px 0 0; padding: 0; counter-reset: paso; }
.oelt-step { position: relative; margin: 0 0 28px; padding: 0 0 0 0; }
.oelt-stephead { display: flex; align-items: center; gap: 12px; margin: 0 0 8px; }
.oelt-stepnum { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--oelt-brand); color: #fff; font-weight: 800; font-size: 18px; flex: 0 0 auto; }
.oelt-stephead h2 { margin: 0; font-size: 22px; line-height: 1.2; }
.oelt-steptext { font-size: 16.5px; } .oelt-steptext p { margin: 0 0 8px; }
.oelt-steptext kbd, .oelt-steptext code { padding: 1px 7px; border-radius: 6px; background: var(--oelt-soft); color: var(--oelt-brand-d); font-size: 90%; }
.oelt-media { margin: 10px 0 0; }
.oelt-media img, .oelt-media video { display: block; width: 100%; border: 1px solid var(--oelt-line); border-radius: 14px; box-shadow: 0 8px 26px rgba(0, 60, 57, .1); background: #fff; }
.oelt-zoom { cursor: zoom-in; display: block; }
.oelt-lightbox { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 20px; background: rgba(20, 52, 58, .85); cursor: zoom-out; }
.oelt-lightbox img { max-width: 96vw; max-height: 92vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }

.oelt-fb { margin: 30px 0 0; padding: 18px 20px; border: 2px solid var(--oelt-line); border-radius: 16px; background: var(--oelt-soft); }
.oelt-fb b { display: block; margin-bottom: 8px; font-size: 17px; }
.oelt-fbbtns { display: flex; gap: 10px; }
.oelt-fbbtns button { padding: 9px 18px; border: 2px solid var(--oelt-line); border-radius: 999px; background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.oelt-fbbtns button:hover, .oelt-fbbtns button.is-on { border-color: var(--oelt-brand); background: var(--oelt-brand); color: #fff; }
.oelt-fbform { margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.oelt-fbform textarea { width: 100%; padding: 10px 12px; border: 2px solid var(--oelt-line); border-radius: 12px; font: inherit; }
.oelt-btn { align-self: flex-start; padding: 10px 20px; border: 0; border-radius: 12px; background: var(--oelt-accent); color: #fff; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 0 3px 0 #dc5f44; }
.oelt-fbout { margin: 8px 0 0; font-size: 15px; color: var(--oelt-muted); }

.oelt-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0 0; }
.oelt-pn { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 2px solid var(--oelt-line); border-radius: 14px; text-decoration: none !important; color: inherit; background: #fff; }
.oelt-pn:hover { border-color: var(--oelt-brand); }
.oelt-pn small { color: var(--oelt-muted); font-size: 13px; } .oelt-pn b { font-size: 16px; }
.oelt-pn--next { text-align: right; align-items: flex-end; border-color: var(--oelt-brand); background: var(--oelt-soft); }
.oelt-ruta-mini { margin: 26px 0 0; padding: 14px 18px; border-left: 4px solid var(--oelt-brand); background: #fafcfb; border-radius: 0 12px 12px 0; }
.oelt-ruta-mini h3 { margin: 0 0 6px; font-size: 15px; color: var(--oelt-muted); text-transform: uppercase; letter-spacing: .04em; }
.oelt-ruta-mini ol { margin: 0; padding-left: 22px; } .oelt-ruta-mini li { margin: 3px 0; } .oelt-ruta-mini li.is-here { font-weight: 800; } .oelt-ruta-mini li.is-here a { color: var(--oelt-ink); text-decoration: none; }
@media (max-width: 560px) { .oelt-prevnext { grid-template-columns: 1fr; } .oelt-pn--next { order: -1; } }
@media print { .oelt-fb, .oelt-prevnext, .oelt-done, .oelt-bar { display: none !important; } }

.oelt-blog { margin: 26px 0 0; padding: 18px 20px 20px; border: 2px solid var(--oelt-line); border-radius: 16px; }
.oelt-blog h3 { margin: 0 0 2px; font-size: 20px; } .oelt-blog-sub { margin: 0 0 12px; color: var(--oelt-muted); font-size: 14.5px; }
.oelt-bloggrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.oelt-blogcard { display: flex; flex-direction: column; gap: 6px; text-decoration: none !important; color: inherit; border-radius: 12px; overflow: hidden; border: 1px solid var(--oelt-line); background: #fff; transition: transform .15s, box-shadow .15s; }
.oelt-blogcard:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 60, 57, .1); }
.oelt-blogcard img { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; display: block; }
.oelt-blogcard b { padding: 6px 12px 0; font-size: 15px; line-height: 1.25; } .oelt-blogcard small { padding: 0 12px 12px; color: var(--oelt-muted); font-size: 13px; }

/* el tema pone números a las listas: los tutoriales llevan los suyos */
.oelt ol.oelt-steps, .oelt ol.oelt-pasos { list-style: none !important; margin-left: 0 !important; padding-left: 0 !important; }
.oelt ol.oelt-steps > li, .oelt ol.oelt-pasos > li { list-style: none !important; display: block; }
.oelt ol.oelt-pasos > li.oelt-card { display: flex; }
.oelt ol.oelt-steps > li::marker, .oelt ol.oelt-pasos > li::marker { content: none; }
