/* Blog index cream, approved 8 Nov 2026. Scoped to body.blog-index.
   Loaded after theme-dark.css and visual.css. Does not restyle home or posts.
   Palette: paper #F6F3EC, card #FFFCF6, ink #2E2C29, muted #68615A,
   line #DCD4C8, brand blue #015e8c, cyan #01AEFD / hover #3CC2FF,
   lilac #E2D6FF / #C9B3FF, violet #54249A. */

html body.blog-index{
  --paper:#F6F3EC;--card:#FFFCF6;--ink:#2E2C29;--muted:#68615A;--line:#DCD4C8;--soft:#EBE5DA;
  --c1:#01AEFD;--bg:#F6F3EC;--bg2:#EBE5DA;--tx:#2E2C29;--tx2:#68615A;--tx3:#68615A;
  background:#F6F3EC;color:#2E2C29;color-scheme:light;
  font-family:Inter,system-ui,sans-serif;
}
html body.blog-index h1,
html body.blog-index h2,
html body.blog-index h3,
html body.blog-index h4{color:#2E2C29;font-family:"Plus Jakarta Sans",Inter,sans-serif}
html body.blog-index a{color:inherit}
html body.blog-index a:hover{text-decoration:underline;text-underline-offset:4px}
html body.blog-index :focus-visible{outline:3px solid #015e8c;outline-offset:4px}

html body.blog-index .promo{
  background:#EBE5DA;color:#68615A;border-bottom:1px solid #DCD4C8;
  white-space:normal;overflow:visible;text-overflow:clip;
}
html body.blog-index .top{
  position:sticky;top:0;z-index:40;background:rgba(246,243,236,.98);
  border-bottom:1px solid #DCD4C8;backdrop-filter:none;-webkit-backdrop-filter:none;
}
html body.blog-index .top .wrap{height:auto;min-height:88px}
html body.blog-index .brand{
  background:#2E2C29;height:auto;padding:12px 16px;border-radius:6px;flex-shrink:0;
}
html body.blog-index .brand picture,
html body.blog-index .brand .logo-on-dark{height:auto;display:block}
html body.blog-index .brand img{width:110px;height:auto;filter:none}
html body.blog-index .top nav a{color:#2E2C29;font-weight:500;font-size:13px}
html body.blog-index .top nav a:hover{color:#015e8c}
html body.blog-index .top nav a[aria-current="page"]{
  color:#015e8c;text-decoration:underline;text-underline-offset:8px;
}
html body.blog-index .top nav .btn,
html body.blog-index .btn,
html body.blog-index a.btn,
html body.blog-index button.btn{
  background:#01AEFD;color:#0E1020;border:1px solid #01AEFD;border-radius:6px;
}
html body.blog-index .btn:hover,
html body.blog-index a.btn:hover,
html body.blog-index button.btn:hover,
html body.blog-index .top nav .btn:hover{background:#3CC2FF;border-color:#3CC2FF;color:#0E1020;filter:none;transform:none}
html body.blog-index .burger{border:1px solid #DCD4C8;border-radius:4px;background:transparent;width:auto;height:auto;padding:12px}
html body.blog-index .burger span{background:#2E2C29;width:20px;height:2px}

html body.blog-index .blog-hero{
  background:#F6F3EC;color:#2E2C29;border:0;padding:36px 0 8px;
}
html body.blog-index .blog-hero h1{
  color:#2E2C29;max-width:940px;font-size:clamp(36px,5vw,64px);line-height:1.12;margin:22px 0;
}
html body.blog-index .eyebrow{color:#015e8c;margin:28px 0 0;letter-spacing:.14em}
html body.blog-index .eyebrow::before{display:none}
html body.blog-index .lead{max-width:790px;color:#68615A;font-size:18px}
html body.blog-index .crumbs,
html body.blog-index .crumbs ol,
html body.blog-index .crumbs a,
html body.blog-index .blog-hero .crumbs ol,
html body.blog-index .blog-hero .crumbs a{color:#68615A}
html body.blog-index .crumbs [aria-current],
html body.blog-index .blog-hero .crumbs [aria-current]{color:#2E2C29}
html body.blog-index .author-line,
html body.blog-index .blog-hero .author-line,
html body.blog-index .byline{color:#68615A}
html body.blog-index .author-line a,
html body.blog-index .byline b{color:#2E2C29}

html body.blog-index .bsearch{
  display:flex;gap:12px;max-width:710px;align-items:center;
  background:#FFFCF6;border:1px solid #DCD4C8;border-radius:8px;
  padding:8px 8px 8px 18px;margin:28px 0 22px;box-shadow:none;
}
html body.blog-index .bsearch input{
  background:transparent;color:#2E2C29;border:0;min-height:0;border-radius:0;box-shadow:none;flex:1;
}
html body.blog-index .bsearch input::placeholder{color:#68615A}
html body.blog-index .filters{border-top:1px solid #DCD4C8;padding:24px 0 30px;margin:0}
html body.blog-index .fchip{
  background:transparent;color:#68615A;border:1px solid #DCD4C8;box-shadow:none;
  font-size:12px;font-weight:500;padding:8px 13px;
}
html body.blog-index .fchip:hover{border-color:#015e8c;color:#015e8c}
html body.blog-index .fchip.on,
html body.blog-index .fchip.on:hover{background:#E2D6FF;border-color:#C9B3FF;color:#54249A}

html body.blog-index .featured,
html body.blog-index .bcard{
  background:#FFFCF6;border:1px solid #DCD4C8;box-shadow:none;color:#2E2C29;
}
html body.blog-index .featured{grid-template-columns:1.08fr 1fr;border-radius:12px;min-height:0}
html body.blog-index .bcard{border-radius:10px}
html body.blog-index .bcard:hover{transform:translateY(-3px);border-color:#015e8c}
html body.blog-index .f-img,
html body.blog-index .bthumb,
html body.blog-index .bthumb.has-img{background:#fff;min-height:0}
html body.blog-index .f-img img,
html body.blog-index .bthumb img,
html body.blog-index .bthumb.has-img img{
  width:100%;height:100%;aspect-ratio:16/9;object-fit:contain;object-position:center center;
  background:#fff;border:0;border-radius:0;box-shadow:none;min-height:0;
}
html body.blog-index .f-body{padding:32px}
html body.blog-index .f-body h2,
html body.blog-index .f-body h2 a{color:#2E2C29}
html body.blog-index .f-body p,
html body.blog-index .bbody p,
html body.blog-index .grid-head p{color:#68615A}
html body.blog-index .bbody h3,
html body.blog-index .bbody h3 a{color:#2E2C29}
html body.blog-index .bcat{color:#015e8c}
html body.blog-index .f-top .bcat{color:#54249A}
html body.blog-index .new-tag{background:#E2D6FF;color:#54249A;border-radius:4px}
html body.blog-index .bmeta{color:#68615A}
html body.blog-index .bgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
html body.blog-index .grid-head h2{color:#2E2C29}

html body.blog-index .blog-cta{
  background:#EBE5DA;color:#2E2C29;border:1px solid #DCD4C8;border-top:1px solid #DCD4C8;
  border-radius:12px;box-shadow:none;
}
html body.blog-index .blog-cta h2{color:#2E2C29;font-size:clamp(29px,3vw,36px)}
html body.blog-index .blog-cta .eyebrow{color:#015e8c!important}
html body.blog-index .bc-copy p,
html body.blog-index .badge-urg{color:#68615A}
html body.blog-index .badge-urg{border-color:#DCD4C8;background:transparent}
html body.blog-index .badge-urg i{background:#01AEFD}
html body.blog-index .bc-main,
html body.blog-index .bc-min{
  background:#FFFCF6;color:#2E2C29;border:1px solid #DCD4C8;border-top:1px solid #DCD4C8;box-shadow:none;
}
html body.blog-index .bc-min span,
html body.blog-index .kick{color:#015e8c}
html body.blog-index .bc-min:hover{background:#FFFCF6}

html body.blog-index .newsletter{
  display:flex;flex-wrap:wrap;gap:20px;align-items:center;
  background:transparent;border:0;border-radius:0;box-shadow:none;
  border-block:1px solid #DCD4C8;padding:28px 0;margin-top:36px;color:#2E2C29;
}
html body.blog-index .newsletter>div:first-child{margin-right:auto;display:block}
html body.blog-index .newsletter b{display:block;color:#2E2C29}
html body.blog-index .newsletter span,
html body.blog-index .newsletter div span{color:#68615A;font-weight:400}
html body.blog-index .newsletter input[type="email"]{
  background:#FFFCF6;color:#2E2C29;border:1px solid #DCD4C8;border-radius:6px;min-height:48px;
  width:min(320px,100%);flex:0 1 320px;
}
html body.blog-index .newsletter .form-ok,
html body.blog-index .newsletter .form-err{flex-basis:100%}
html body.blog-index .form-err{color:#7A1F16}
html body.blog-index .form-ok{color:#0E1020}

html body.blog-index footer{
  background:#EAE4D9;color:#68615A;border-top:1px solid #DCD4C8;
}
html body.blog-index footer img{width:130px;height:auto;filter:brightness(0)}
html body.blog-index footer .ft,
html body.blog-index footer a{color:#2E2C29}
html body.blog-index footer a:hover{color:#015e8c}
html body.blog-index footer .legal{border-top:1px solid #CEC5B7;color:#68615A}
html body.blog-index footer .legal a{display:inline;color:#2E2C29}

@media (max-width:1080px){
  html body.blog-index .top nav,
  html body.blog-index.nav-open .top nav{
    background:#F6F3EC;border-bottom:1px solid #DCD4C8;
  }
  html body.blog-index .top nav a:not(.btn){color:#2E2C29}
  html body.blog-index .top nav a.nav-taller{color:#68615A}
}
@media (max-width:1000px){
  html body.blog-index .bgrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  html body.blog-index .featured{grid-template-columns:1fr 1fr}
  html body.blog-index footer .wrap{grid-template-columns:1fr 1fr}
}
@media (min-width:701px) and (max-width:900px){
  html body.blog-index .featured{grid-template-columns:1fr 1fr}
}
@media (max-width:700px){
  html body.blog-index .wrap{padding:0 20px}
  html body.blog-index .blog-hero{padding-top:20px}
  html body.blog-index .lead{font-size:16px}
  html body.blog-index .featured,
  html body.blog-index .bgrid,
  html body.blog-index .blog-cta{grid-template-columns:1fr}
  html body.blog-index .f-body{padding:24px}
  html body.blog-index .grid-head{display:block}
  html body.blog-index .bsearch{flex-wrap:wrap;align-items:center}
  html body.blog-index .bsearch input{flex:1 1 calc(100% - 42px);min-width:0;font-size:16px}
  html body.blog-index .bsearch .btn{display:inline-flex;flex:1 1 100%}
  html body.blog-index .newsletter{align-items:stretch}
  html body.blog-index .newsletter>div:first-child,
  html body.blog-index .newsletter input[type="email"]{width:100%;flex:1 1 100%;max-width:none}
  html body.blog-index footer .wrap{grid-template-columns:1fr 1fr}
  html body.blog-index footer .wrap>div:first-child{grid-column:1/-1}
  html body.blog-index footer .legal{flex-direction:column;align-items:flex-start}
}
@media (max-width:620px){
  html body.blog-index .bsearch .btn{display:inline-flex;padding:12px}
  html body.blog-index footer .wrap{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  html body.blog-index .bcard{transition:none}
  html body.blog-index .bcard:hover{transform:none}
}

/* Miniaturas del blog: slot 16:9 consistente. Añadir AL FINAL de /assets/site/blog-crema.css
   (o después de theme-dark/visual) para que gane la cascada. */
html body.blog-index .bthumb,
html body.blog-index .bthumb.has-img{aspect-ratio:16/9;overflow:hidden;background:#F6F3EC}
html body.blog-index .bthumb img,
html body.blog-index .bthumb.has-img img{width:100%;height:100%;aspect-ratio:16/9;object-fit:cover;object-position:center center;background:#F6F3EC}
/* Destacado: la tarjeta es más alta que 16:9; contain evita recortar títulos arriba */
html body.blog-index .f-img{display:flex;align-items:center;aspect-ratio:auto;background:#F6F3EC}
html body.blog-index .f-img img{width:100%;height:auto;min-height:0;aspect-ratio:16/9;object-fit:contain;background:#F6F3EC}
/* Portada del post */
html body .post-hero{background:#F6F3EC}
html body .post-hero img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#F6F3EC}
