/* ================================================================
   DIARIO DE ESPAÑA — Página de noticia (maqueta tipo El País)
   Rejilla: [firma 96px] [texto] [hueco] [lateral 300px]
   Titular y entradilla alineados con el texto; foto a todo el ancho;
   firma con foto del autor a la izquierda; lateral con lo último.
   ================================================================ */
html body .article-shell{background:#fff!important;padding:0!important;margin:0!important}
html body .article-shell .article-layout{
  max-width:1140px!important;margin:0 auto!important;padding:30px 20px 0!important;
  display:grid!important;grid-template-columns:96px minmax(0,1fr) 48px 300px!important;
  align-items:start!important;column-gap:0!important}
html body .article-layout > *{min-width:0;box-sizing:border-box}

/* ---------- Antetítulo, titular, entradilla ---------- */
html body .article-layout > .article-hero{grid-column:2 / 5!important;grid-row:1;max-width:none!important;margin:0!important;padding:0 6% 0 0!important;border:0!important;text-align:left!important}
html body .article-hero.dde-article-hero-clean .article-kicker,html body .article-hero.dde-article-hero-clean .article-kicker a{display:inline-flex!important;align-items:center;gap:6px;margin:0 0 12px!important;padding:0!important;border:0!important;font:500 14px/1.2 var(--dde-sans)!important;letter-spacing:.02em!important;text-transform:uppercase!important;color:#111!important;text-decoration:none!important}
html body .article-hero.dde-article-hero-clean .article-kicker::after{content:"›";font:600 16px/1 var(--dde-sans)}
html body .article-hero.dde-article-hero-clean .article-kicker::before{display:none!important}
html body .article-hero.dde-article-hero-clean .article-kicker a:hover{color:#AD1519!important}
html body .article-hero.dde-article-hero-clean h1{font:800 50px/1.06 var(--dde-serif)!important;letter-spacing:-.018em!important;color:#111!important;margin:0 0 20px!important;max-width:none!important;text-wrap:pretty}
html body .article-hero.dde-article-hero-clean .article-standfirst{font:400 25px/1.32 var(--dde-serif)!important;color:#111!important;margin:0 0 30px!important;max-width:none!important}

/* ---------- Foto principal a todo el ancho ---------- */
html body .article-layout > .article-main-figure{grid-column:1 / -1!important;grid-row:2;max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
html body .article-layout > .article-main-figure img{width:100%!important;max-width:none!important;height:auto!important;aspect-ratio:16/9;max-height:none!important;object-fit:cover!important;display:block!important;border:0!important}
html body .article-layout > .article-main-figure figcaption{font:400 13px/1.45 var(--dde-serif)!important;color:#111!important;text-align:right!important;padding:9px 0 16px!important;border:0!important;border-bottom:1px solid #111!important}

/* ---------- Firma ---------- */
html body .article-layout > .dde-meta-wrap-after-image{grid-column:1 / 3!important;grid-row:3;display:block!important;max-width:none!important;width:100%!important;margin:36px 0 34px!important;padding:0!important}
html body .article-layout > .dde-meta-wrap-after-image.no-image{margin-top:0!important;border-top:1px solid #111;padding-top:30px!important}
html body .dde-byline{display:grid;grid-template-columns:96px minmax(0,1fr);align-items:start;font-family:var(--dde-sans);margin:0;padding:0;border:0}
html body .dde-byline.no-author .dde-byline__main{grid-column:2}
html body .dde-byline p{margin:0}
html body .dde-byline__ph .dde-author-avatar,html body .dde-byline__img{width:72px!important;height:72px!important;border-radius:50%!important;object-fit:cover!important;border:0!important;display:flex!important;align-items:center;justify-content:center;background:#111!important;color:#FABD00!important;font:800 26px/1 var(--dde-serif)!important}
html body .dde-byline__main{padding-top:6px}
html body .dde-byline__name{font:800 16px/1.2 var(--dde-serif);letter-spacing:.02em;text-transform:uppercase;color:#111}
html body .dde-byline__a{color:#111!important;text-decoration:none!important}
html body .dde-byline__a:hover{text-decoration:underline!important}
html body .dde-byline__when{margin-top:6px!important;padding-bottom:16px;border-bottom:1px solid #111;font:400 13px/1.4 var(--dde-sans);color:#111;text-transform:none}
html body .dde-byline__sep{color:#999;margin:0 4px}
html body .dde-byline__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:16px}
html body .dde-byline__share{display:flex;align-items:center;gap:10px}
html body .dde-byline__share a,html body .dde-byline__share button{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:#f1f1f1;color:#111!important;cursor:pointer;padding:0;text-decoration:none!important;transition:background .15s,color .15s}
html body .dde-byline__share a:hover,html body .dde-byline__share button:hover{background:#111;color:#fff!important}
html body .dde-byline__share svg{width:18px;height:18px}
html body .dde-byline__share button.copied{background:#0a7a3d;color:#fff!important}
html body .dde-byline__com{width:auto!important;padding:0 12px!important;gap:6px;border-radius:19px!important;font:500 15px var(--dde-sans)}
html body .dde-byline__read{font:400 13px var(--dde-sans);color:#666;border:1px solid #e2e2e2;border-radius:19px;padding:9px 14px;white-space:nowrap}

/* ---------- Texto y lateral ---------- */
html body .article-layout > .article-content-grid{display:contents!important}
html body .article-layout .article-left-rail{display:none!important}
html body .article-layout .article-body-wrap{grid-column:2!important;grid-row:4;max-width:none!important;width:100%!important;margin:0!important;padding:0!important}
html body .article-layout .article-right-rail{grid-column:4!important;grid-row:3 / span 4;align-self:stretch!important;position:static!important;width:300px!important;max-width:none!important;margin:36px 0 0!important;padding:0!important;border:0!important}
html body .article-layout .article-right-rail > *{position:sticky;top:120px}
html body .article-layout .article-body{max-width:none!important;margin:0!important;padding:0!important}
html body .article-layout .article-body p,html body .article-layout .article-body li{font:400 20px/1.6 var(--dde-serif)!important;color:#111!important;margin:0 0 1.25em!important}
html body .article-layout .article-body h2{font:800 25px/1.2 var(--dde-serif)!important;margin:1.6em 0 .6em!important;color:#111!important;padding:0!important;border:0!important}
html body .article-layout .article-body h3{font:700 21px/1.25 var(--dde-serif)!important;margin:1.4em 0 .5em!important}
html body .article-layout .article-body blockquote{margin:1.6em 0!important;padding:0 0 0 22px!important;border:0!important;border-left:3px solid #111!important;background:none!important;text-align:left}
html body .article-layout .article-body blockquote::before{display:none!important}
html body .article-layout .article-body blockquote,html body .article-layout .article-body blockquote p{font:italic 400 22px/1.45 var(--dde-serif)!important;color:#111!important}
html body .article-layout .article-body a{color:#111!important;text-decoration:underline!important;text-decoration-color:#AD1519!important;text-underline-offset:3px!important}
/* Fotos dentro del texto: más anchas, hasta la columna de la firma */
html body .article-layout .article-body figure{margin:2em 0 2em -96px!important;width:calc(100% + 96px)!important;max-width:none!important}
html body .article-layout .article-body figure img{width:100%!important;height:auto!important}
html body .article-layout .article-body figcaption{font:400 13px/1.45 var(--dde-serif)!important;color:#111!important;text-align:right;padding:8px 0 14px!important;border-bottom:1px solid #111}

/* Claves */
html body .article-layout .article-summary-box{background:#f7f5f0!important;border:0!important;border-top:3px solid #111!important;padding:16px 20px 6px!important;margin:0 0 30px!important;box-shadow:none!important}
html body .article-layout .article-summary-box h2{font:800 15px/1 var(--dde-serif)!important;letter-spacing:.02em!important;text-transform:uppercase!important;color:#111!important;margin:0 0 12px!important;border:0!important;padding:0!important}
html body .article-layout .article-summary-box ol,html body .article-layout .article-summary-box ul{margin:0;padding:0 0 0 18px}
html body .article-layout .article-summary-box li{font:400 16px/1.45 var(--dde-sans)!important;margin:0 0 10px!important;padding:0!important;border:0!important;color:#111!important}
html body .article-layout .article-summary-box li::before{display:none!important}

/* Títulos de bloque: texto con raya gruesa debajo y línea fina hasta el final */
html body .dde-author-signature-title,html body .article-right-rail h3,html body .er-more__head h2{
  font:800 15px/1 var(--dde-serif)!important;letter-spacing:.02em!important;text-transform:uppercase!important;color:#111!important;
  display:block!important;margin:0 0 16px!important;padding:0 0 10px!important;border:0!important;
  background:linear-gradient(#111,#111) left bottom / 180px 3px no-repeat, linear-gradient(#111,#111) left bottom / 100% 1px no-repeat!important}
html body .er-more__head h2 *{font:inherit!important;color:inherit!important;text-transform:inherit!important}

/* Lateral: Últimas noticias */
html body .article-right-rail .side-news-list,html body .article-right-rail .er-op-rail{display:block!important;border:0!important;padding:0!important;margin:0 0 30px!important;background:none!important}
html body .article-right-rail .side-news-list a{display:block!important;padding:14px 0!important;border:0!important;border-bottom:1px solid #111!important;font:700 17px/1.3 var(--dde-serif)!important;color:#111!important;text-decoration:none!important}
html body .article-right-rail .side-news-list a:hover{text-decoration:underline!important}
html body .article-right-rail .side-news-list a span{display:inline!important;margin:0 4px 0 0!important;font:400 16px/1.3 var(--dde-sans)!important;letter-spacing:0!important;text-transform:none!important;color:#AD1519!important}
html body .article-right-rail .side-news-list a span::after{content:" |";color:#111}

/* Sobre la firma */
html body .dde-author-signature-box{margin:46px 0 0!important;padding:0!important;border:0!important;background:none!important}
html body .dde-author-signature-title::after{display:none!important}
html body .dde-author-signature-main{display:flex!important;align-items:center!important;gap:22px!important;padding:6px 0 22px!important}
html body .dde-author-signature-box .dde-author-avatar{width:92px!important;height:92px!important;border-radius:50%!important;background:#111!important;color:#FABD00!important;border:0!important;font:800 34px var(--dde-serif)!important;flex:0 0 auto;display:flex!important;align-items:center;justify-content:center}
html body .dde-author-signature-box h3,html body .dde-author-signature-box h3 a{font:800 28px/1.15 var(--dde-serif)!important;color:#111!important;margin:0 0 6px!important}
html body .dde-author-signature-box p{font:400 15px/1.5 var(--dde-sans)!important;color:#444!important;margin:0!important}
html body .dde-author-signature-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;border:0!important;border-top:1px solid #111!important;padding:14px 0!important;margin:0!important;background:linear-gradient(#111,#111) left top / 180px 3px no-repeat!important}
html body .dde-author-newsletter{display:flex!important;align-items:center;gap:10px;color:#111!important;font:400 16px var(--dde-sans)!important;text-decoration:none!important}
html body .dde-author-socials{display:flex;gap:18px;padding-left:22px;border-left:1px solid #111}
html body .dde-author-socials a{color:#111!important}

/* Más información: lista con foto a la izquierda */
html body .article-layout > .er-more{grid-column:2!important;max-width:none!important;margin:40px 0 0!important;padding:0!important;border:0!important}
html body .article-layout > .ex-pr-wrap{grid-column:2!important;margin-top:30px}
html body .er-more__head{display:block!important;border:0!important;margin:0 0 6px!important;padding:0!important}
html body .er-more__all{display:none!important}
html body .er-more__grid{display:block!important}
html body .er-more__card{border:0!important;border-bottom:1px solid #e2e2e2!important;margin:0!important;padding:22px 0!important;background:none!important;box-shadow:none!important}
html body .er-more__card:nth-child(n+5){display:none!important}
html body .er-more__link{display:grid!important;grid-template-columns:180px minmax(0,1fr)!important;gap:24px!important;align-items:start!important;text-decoration:none!important}
html body .er-more__media{aspect-ratio:4/3!important;height:auto!important;background:#f3efe6!important;border-radius:0!important;overflow:hidden}
html body .er-more__media img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important;transform:none!important}
html body .er-more__noimg{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;background:#f3efe6!important;color:transparent!important}
html body .er-more__noimg img{width:70%!important;height:auto!important;object-fit:contain!important;opacity:.85}
html body .er-more__kicker{display:none!important}
html body .er-more__title{font:800 23px/1.2 var(--dde-serif)!important;color:#111!important;margin:0 0 12px!important}
html body .er-more__dek{display:none!important}
html body .er-more__meta{font:400 13px var(--dde-sans)!important;text-transform:uppercase;color:#555!important;display:flex;gap:6px}
html body .er-more__meta time{display:none}

/* ---------- Tableta y móvil ---------- */
@media(max-width:1000px){
  html body .article-shell .article-layout{display:block!important;padding:20px 16px 0!important}
  html body .article-shell .article-layout > .article-content-grid{display:block!important}
  html body .article-layout > *,html body .article-layout .article-body-wrap,html body .article-layout .article-right-rail,html body .article-layout > .er-more,html body .article-layout > .ex-pr-wrap{grid-column:1!important;grid-row:auto!important}
  html body .article-layout > .article-hero{padding:0!important}
  html body .article-hero.dde-article-hero-clean h1{font-size:31px!important;line-height:1.1!important}
  html body .article-hero.dde-article-hero-clean .article-standfirst{font-size:20px!important;margin-bottom:20px!important}
  html body .article-layout > .article-main-figure{margin:0 -16px!important;width:calc(100% + 32px)!important}
  html body .article-layout > .article-main-figure figcaption{padding:8px 16px 12px!important}
  html body .article-layout > .dde-meta-wrap-after-image{margin:20px 0 26px!important}
  html body .dde-byline{grid-template-columns:58px minmax(0,1fr)}
  html body .dde-byline__ph .dde-author-avatar,html body .dde-byline__img{width:46px!important;height:46px!important;font-size:18px!important}
  html body .dde-byline__main{padding-top:2px}
  html body .dde-byline__bar{flex-wrap:wrap}
  html body .dde-byline__read{display:none}
  html body .article-layout .article-body p,html body .article-layout .article-body li{font-size:18px!important;line-height:1.6!important}
  html body .article-layout .article-body figure{margin-left:-16px!important;width:calc(100% + 32px)!important}
  html body .article-layout .article-body figcaption{padding:8px 16px 12px!important}
  html body .article-layout .article-right-rail{width:auto!important;margin:36px 0 0!important}
  html body .article-layout .article-right-rail > *{position:static}
  html body .er-more__link{grid-template-columns:110px minmax(0,1fr)!important;gap:14px!important}
  html body .er-more__title{font-size:17px!important}
  html body .dde-author-signature-box h3,html body .dde-author-signature-box h3 a{font-size:22px!important}
  html body .dde-author-signature-footer{flex-wrap:wrap;gap:12px}
}
html body .er-more__media{display:flex!important;align-items:center!important;justify-content:center!important}
html body .er-more__media > img{flex:1 1 auto}

/* Texto de la noticia: negro puro y más grande */
html body .article-layout .article-body,html body .article-layout .article-body p,html body .article-layout .article-body li,html body .article-layout .article-body span{color:#000!important}
html body .article-layout .article-body p,html body .article-layout .article-body li{font-size:21px!important;line-height:1.62!important;font-weight:400!important}
html body .article-hero.dde-article-hero-clean h1{font-weight:700!important;color:#000!important}
html body .article-hero.dde-article-hero-clean .article-standfirst{color:#000!important}
@media(max-width:1000px){
  html body .article-layout .article-body p,html body .article-layout .article-body li{font-size:20px!important;line-height:1.6!important}
  html body .article-hero.dde-article-hero-clean h1{font-size:32px!important}
  html body .article-hero.dde-article-hero-clean .article-standfirst{font-size:21px!important;line-height:1.35!important}
  html body .dde-byline__when{font-size:14px!important}
}
html body .article-layout > .ex-pr-wrap{grid-row:5!important}
html body .article-layout > .er-more{grid-row:6!important}
html body .article-layout .article-right-rail{grid-row:3 / span 3!important}
@media(max-width:1000px){html body .article-layout > .ex-pr-wrap,html body .article-layout > .er-more,html body .article-layout .article-right-rail{grid-row:auto!important}}

/* Pantallas medianas (portátil con zoom, tableta): todo centrado en una columna */
@media(max-width:1000px) and (min-width:701px){
  html body .article-shell .article-layout{max-width:780px!important;margin:0 auto!important;padding:26px 24px 0!important}
  html body .article-layout > .article-main-figure,html body .article-layout > figure.article-main-figure.dde-main-figure-wide{margin:0!important;width:100%!important}
  html body .article-layout > .article-main-figure figcaption{padding:8px 0 12px!important}
  html body .article-layout .article-body figure{margin-left:0!important;width:100%!important}
}
/* Escritorio: la cabecera de la noticia centrada sobre la página */
@media(min-width:1001px){
  html body .article-layout > .article-hero{grid-column:1 / -1!important;padding:0!important;max-width:940px!important;justify-self:center;text-align:center!important}
  html body .article-hero.dde-article-hero-clean .article-kicker{justify-content:center}
}
