/* Base editorial compartida: plantillas integradas y paginas independientes. */
.historia-editorial{
  --bg:#f1f2f1;--ink:#000;--copy:#000;--muted:#292e2c;--line:#343935;--accent:#e98171;
  margin:0;padding:0;background:var(--bg);color:var(--ink);
  font:400 16px/1.65 'DM Sans',Arial,sans-serif;
}
.historia-editorial :is(.pista-reading-inner,.editorial-layout){
  box-sizing:border-box;max-width:1280px;min-width:0;margin:0 auto;padding:12px 40px 88px;
}
.historia-editorial :is(.story-copy,.pista-reading-body){
  max-width:690px;min-width:0;border:0;padding:0;color:var(--copy);font:400 17px/1.86 'DM Sans',Arial,sans-serif;
}
.historia-editorial :is(.story-copy,.pista-reading-body)>p{margin:0 0 17px;color:var(--copy);font:inherit}
.historia-editorial :is(.story-copy,.pista-reading-body) h2{
  font:400 36px/1.15 'Libre Caslon Display',Georgia,serif;color:var(--ink);margin:22px 0 10px;text-wrap:balance;
}
.historia-editorial :is(.story-copy,.pista-reading-body) a{color:#292e2c;text-decoration:underline;text-underline-offset:5px}
.historia-editorial :is(.story-copy,.pista-reading-body) a:hover{color:var(--accent)}
.historia-editorial :is(.story-copy,.pista-reading-body) a:focus-visible{outline:2px solid var(--accent);outline-offset:5px}
/* La cabecera es independiente de la anchura y los componentes del articulo. */
.historia-editorial .pista-story-header{
  display:block;position:relative;box-sizing:border-box;width:100%;height:auto;min-height:0;max-width:none;
  margin:0;padding:20px 7% 36px;background:#41484b;color:#fff;border:0;
}
.historia-editorial .pista-story-date{position:absolute;right:12px;bottom:8px;color:#c9cece;font:400 11px/1.2 'DM Sans',Arial,sans-serif}
.historia-editorial .pista-story-header>div{display:flex;justify-content:center;align-items:center;gap:24px;max-width:1050px;min-width:0;margin:0 auto}
.historia-editorial .pista-story-brand{display:block;flex:0 0 150px;width:150px;min-width:0;padding:0;background:none;text-decoration:none;border:0}
.historia-editorial .pista-story-brand img{display:block;width:100%;height:auto;object-fit:contain}
.historia-editorial .pista-story-header h1{
  flex:0 1 auto;min-width:0;margin:0;color:#fff;font:400 clamp(34px,4vw,55px)/1.12 'Libre Caslon Display',Georgia,serif;
  letter-spacing:0;overflow-wrap:anywhere;text-wrap:balance;text-decoration:none;border:0;
}
.historia-editorial .story>.kicker{display:none}
/* Fotografias y pies de foto del texto; no afecta a tarjetas de albumes. */
.historia-editorial :is(.story-photo,.pista-story-image){margin:35px 0 39px;background:transparent}
.historia-editorial :is(.story-photo,.pista-story-image)>a{display:block}
.historia-editorial :is(.story-photo,.pista-story-image) img{display:block;width:100%;height:auto;object-fit:contain;filter:none;transform:none;background:transparent}
.historia-editorial :is(.story-photo,.pista-story-image) figcaption{
  display:flex;align-items:baseline;justify-content:space-between;gap:18px;font:400 10px/1.6 'DM Sans',Arial,sans-serif;
  color:var(--muted);margin-top:10px;background:transparent;
}
.historia-editorial :is(.story-photo,.pista-story-image) figcaption a{flex-shrink:0;padding:5px 0;color:var(--muted);text-decoration:underline}
.historia-editorial .quiet-link,.historia-editorial .story-back,.historia-editorial .pista-reading-bottom a{display:inline-block;font:400 12px/1.65 'DM Sans',Arial,sans-serif;color:var(--muted);text-decoration:underline;text-underline-offset:5px;padding:7px 0}
.historia-editorial .pista-reading-bottom a:hover{color:#c7352b}
.historia-editorial .story-back{margin-top:12px}
.historia-editorial .pista-reading-bottom{max-width:690px;margin-top:38px;padding-top:20px}
/* Continuacion y atribucion de la cita, disponibles en las historias que las usan. */
.historia-editorial .pista-reading-subtitle{max-width:690px;font:400 28px/1.3 'Libre Caslon Display',Georgia,serif;margin:0 0 13px;color:var(--ink)}
.historia-editorial .pista-attribution{max-width:690px;font:400 11px/1.5 'DM Sans',Arial,sans-serif;margin:0 0 14px;color:var(--muted)}
.historia-editorial .pista-entry-meta{font:400 10px/1.5 'DM Sans',Arial,sans-serif;color:var(--muted);margin:0 0 17px}
.historia-editorial .pista-entry-meta:empty{display:none}
/* Listado: se conserva su presentacion aprobada. */
#app .pista-index .pista-read-link{color:#a32320;text-decoration:none;border-bottom:0}
#app .pista-index .pista-entry-copy>p{margin-bottom:11px}
@media(max-width:1100px){
  .historia-editorial :is(.pista-reading-inner,.editorial-layout){padding-inline:30px}
  .historia-editorial :is(.story-copy,.pista-reading-body){font-size:16px}
}
@media(max-width:850px){.historia-editorial :is(.pista-reading-inner,.editorial-layout){max-width:750px;padding-bottom:60px}.historia-editorial :is(.story-copy,.pista-reading-body){max-width:none}}
@media(max-width:700px){
  .historia-editorial .pista-story-header>div{gap:14px}
  .historia-editorial .pista-story-brand{flex-basis:95px;width:95px}
  .historia-editorial .pista-story-header h1{font-size:clamp(24px,6vw,34px)}
  .historia-editorial .pista-reading-subtitle{font-size:25px}
}
@media(max-width:560px){
  .historia-editorial :is(.pista-reading-inner,.editorial-layout){padding-inline:20px;padding-bottom:45px}
  .historia-editorial :is(.story-copy,.pista-reading-body){line-height:1.8}
  .historia-editorial :is(.story-copy,.pista-reading-body) h2{font-size:30px}
  .historia-editorial :is(.story-photo,.pista-story-image){margin:28px 0 32px}
  .historia-editorial :is(.story-photo,.pista-story-image) figcaption{display:block}
  .historia-editorial :is(.story-photo,.pista-story-image) figcaption a{display:block;width:fit-content;margin-top:4px;min-height:34px}
  .historia-editorial .quiet-link,.historia-editorial .story-back,.historia-editorial .pista-reading-bottom a{min-height:44px;display:inline-flex;align-items:center}
}
