/* Blog de CiberModa (14-oct). Lectura cómoda en celular: 17 px, párrafos cortos. */
.bl { background: #fff; color: #0f172a; }
.bl a { color: inherit; }
.bl-wrap { max-width: 720px; margin: 0 auto; padding: 20px 16px 40px; }
.bl-wide { max-width: 1040px; margin: 0 auto; padding: 24px 16px 48px; }
.bl-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, #6d28d9, #db2777); z-index: 70; }
.bl-crumbs { font-size: 13px; color: #64748b; margin-bottom: 12px; }
.bl-crumbs a { color: #4338ca; }
.bl-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .05em; color: #6d28d9; background: #f3e8ff; border-radius: 999px; padding: 3px 10px; }
.bl h1 { font-size: 30px; line-height: 1.15; font-weight: 800; letter-spacing: -.02em; margin: 10px 0 10px; }
.bl-meta { font-size: 13px; color: #64748b; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; }
.bl-meta a { color: #4338ca; font-weight: 600; }
.bl-30 { background: #f5f3ff; border: 1px solid #ddd6fe; border-radius: 14px; padding: 14px 16px; margin: 18px 0; }
.bl-30 b { display: block; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: #5b21b6; margin-bottom: 6px; }
.bl-30 ul { margin: 0; padding-left: 18px; list-style: disc; }
.bl-30 li { margin: 4px 0; font-size: 16px; line-height: 1.45; }
.bl-prod { display: flex; gap: 14px; align-items: center; border: 1px solid #e5e7eb; border-radius: 16px; padding: 12px; margin: 18px 0; text-decoration: none; background: #fff; box-shadow: 0 6px 20px rgba(15, 23, 42, .06); }
.bl-prod img { width: 96px; height: 96px; object-fit: contain; border-radius: 12px; background: #f8fafc; flex: 0 0 auto; }
.bl-prod .t { font-weight: 700; font-size: 15px; line-height: 1.3; }
.bl-prod .p { font-weight: 800; font-size: 18px; margin-top: 4px; }
.bl-prod .p s { color: #94a3b8; font-weight: 500; font-size: 13px; margin-left: 4px; }
.bl-prod .e { font-size: 12px; color: #7c3aed; font-weight: 700; margin-top: 2px; }
.bl-prod .b { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 800; color: #fff; background: linear-gradient(90deg, #7c3aed, #db2777); padding: 7px 14px; border-radius: 999px; }
.bl-toc { border-left: 3px solid #e0e7ff; padding: 4px 0 4px 14px; margin: 18px 0 8px; }
.bl-toc b { font-size: 13px; color: #64748b; text-transform: uppercase; letter-spacing: .04em; }
.bl-toc ol { margin: 6px 0 0; padding-left: 18px; list-style: decimal; }
.bl-toc li { margin: 4px 0; font-size: 15px; }
.bl-toc a { color: #4338ca; text-decoration: none; }
.bl-body { font-size: 17px; line-height: 1.65; }
.bl-body h2 { font-size: 23px; line-height: 1.25; font-weight: 800; margin: 32px 0 10px; scroll-margin-top: 16px; letter-spacing: -.01em; }
.bl-body h3 { font-size: 19px; font-weight: 700; margin: 22px 0 6px; }
.bl-body p { margin: 0 0 14px; }
.bl-body ul, .bl-body ol { margin: 0 0 14px; padding-left: 22px; }
.bl-body ul { list-style: disc; } .bl-body ol { list-style: decimal; }
.bl-body li { margin: 5px 0; }
.bl-body a { color: #4338ca; text-decoration: underline; text-underline-offset: 2px; }
.bl-body strong { font-weight: 700; }
.bl-body table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 6px 0 16px; }
.bl-body th, .bl-body td { border: 1px solid #e5e7eb; padding: 8px 9px; text-align: left; vertical-align: top; }
.bl-body th { background: #f8fafc; font-weight: 700; }
.bl-table { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.bl-note { background: #fffbeb; border: 1px solid #fde68a; border-radius: 12px; padding: 12px 14px; font-size: 15px; line-height: 1.5; margin: 0 0 16px; }
.bl-pros { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 16px; }
.bl-pros div { border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.bl-pros div:first-child { background: #f0fdf4; border: 1px solid #bbf7d0; }
.bl-pros div:last-child { background: #fef2f2; border: 1px solid #fecaca; }
.bl-pros b { display: block; margin-bottom: 4px; }
.bl-pros ul { margin: 0; padding-left: 18px; }
.bl-src { font-size: 14px; color: #475569; }
.bl-share { display: inline-flex; gap: 8px; align-items: center; margin: 22px 0 6px; background: #25d366; color: #fff !important; font-weight: 800; font-size: 14px; padding: 9px 16px; border-radius: 999px; text-decoration: none; }
.bl-more h2 { font-size: 20px; font-weight: 800; margin: 30px 0 12px; }
.bl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.bl-card { display: block; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; text-decoration: none; background: #fff; }
.bl-card .ph { height: 140px; background: #f1f5f9; display: flex; align-items: center; justify-content: center; position: relative; }
.bl-card .ph img { max-height: 128px; max-width: 90%; object-fit: contain; }
.bl-card .ph em { position: absolute; left: 8px; top: 8px; font-style: normal; font-size: 10px; font-weight: 800; color: #fff; background: #0f172a; border-radius: 6px; padding: 2px 7px; }
.bl-card .bd { padding: 10px 12px 14px; }
.bl-card .ti { font-size: 15px; font-weight: 800; line-height: 1.3; }
.bl-card .me { font-size: 12px; color: #64748b; margin-top: 6px; }
.bl-pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 22px; }
.bl-pills a { border: 1px solid #c7d2fe; color: #3730a3; border-radius: 999px; padding: 6px 12px; font-size: 14px; font-weight: 600; text-decoration: none; }
.bl-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; background: #fff; border-top: 1px solid #e5e7eb; box-shadow: 0 -8px 24px rgba(15, 23, 42, .08); padding: 8px 88px 8px 12px; display: flex; gap: 10px; align-items: center; transform: translateY(110%); transition: transform .25s; }
.bl-sticky.on { transform: none; }
.bl-sticky img { width: 44px; height: 44px; object-fit: contain; border-radius: 8px; background: #f8fafc; }
.bl-sticky .t { font-size: 13px; font-weight: 700; line-height: 1.2; flex: 1; min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bl-sticky .b { font-size: 13px; font-weight: 800; color: #fff; background: #4338ca; border-radius: 999px; padding: 8px 12px; white-space: nowrap; text-decoration: none; }
.bl-draft { background: #fef3c7; border-bottom: 2px solid #f59e0b; padding: 12px 16px; font-size: 15px; }
.bl-draft div { max-width: 720px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.bl-draft button { background: #16a34a; color: #fff; font-weight: 800; border: 0; border-radius: 999px; padding: 10px 18px; font-size: 15px; cursor: pointer; }
.bl-ok { background: #dcfce7; border-bottom: 2px solid #16a34a; padding: 12px 16px; text-align: center; font-weight: 700; }
@media (min-width: 768px) {
  .bl h1 { font-size: 40px; }
  .bl-body { font-size: 18px; }
  .bl-sticky { padding-right: 100px; }
}
/* Fotos y gráficas (14-oct) */
.bl-fig { margin: 18px 0 20px; }
.bl-fig img { width: 100%; height: auto; border-radius: 14px; display: block; background: #f1f5f9; }
.bl-fig figcaption { font-size: 13px; color: #64748b; margin-top: 6px; line-height: 1.4; }
.bl-fig.bl-hero { overflow: hidden; border-radius: 16px; }
.bl-fig.bl-hero img { aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 15%; transform: scale(1.08); will-change: transform; border-radius: 0; }
.bl-fig.bl-producto img { background: #fff; border: 1px solid #e5e7eb; max-height: 380px; object-fit: contain; padding: 10px; }
.bl-par { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bl-par .bl-fig { margin: 0; }
.bl-par .bl-fig img { aspect-ratio: 1 / 1; object-fit: cover; }
.bl-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.bl-diag { margin: 18px 0 20px; border: 1px solid #e5e7eb; border-radius: 14px; padding: 14px; background: #fafaff; }
.bl-diag svg { width: 100%; height: auto; display: block; }
.bl-diag figcaption { font-size: 13px; color: #64748b; margin-top: 8px; }
.anim { opacity: 0; transform: translateY(18px) scale(.985); transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.anim.vis { opacity: 1; transform: none; }
.bl-toc { background: #f8fafc; border-radius: 0 12px 12px 0; }
.bl-toc ol li::marker { color: #94a3b8; }
