/* Diário Palmeirense v1.5.112 — ajustes de legibilidade e alinhamento visual. */

/* Rodapé: publicidade é secundária ao conteúdo editorial. Mantém a arte inteira.
   920×307 em desktops grandes; escala proporcionalmente em telas menores. */
.dp-v107 .dp-promo-banner.dp109-publicidade-final {
  box-sizing: border-box;
  width: min(100%, 920px) !important;
  max-width: 920px !important;
  margin: 20px auto 22px !important;
  padding: 0 12px;
}
.dp-v107 .dp-promo-banner.dp109-publicidade-final > a,
.dp-v107 .dp-promo-banner.dp109-publicidade-final > a:not([hidden]) {
  display: block;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}
.dp-v107 .dp-promo-banner.dp109-publicidade-final > a[hidden] { display:none!important; }
.dp-v107 .dp-promo-banner.dp109-publicidade-final img {
  display:block;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  aspect-ratio: 3 / 1;
  object-fit:contain !important;
  border-radius:12px !important;
  box-shadow: 0 5px 18px rgba(0,25,16,.13);
}

/* Notícia: centraliza a coluna e mantém título/foto/texto rigorosamente alinhados. */
.dp-v107 .colunas:has(> .noticia.principal) {
  display:flex;
  justify-content:center;
  gap:0;
  width:100%;
}
.dp-v107 .colunas > article.noticia.principal {
  flex:0 1 900px;
  width:min(100%,900px);
  max-width:900px;
  min-width:0;
  margin:14px auto 0;
  padding:clamp(20px,3vw,42px);
  box-sizing:border-box;
  text-align:left;
}
.dp-v107 .noticia.principal .dp112-artigo-miolo {
  width:100%;
  max-width:760px;
  margin:0 auto;
  min-width:0;
}
.dp-v107 .noticia.principal .dp112-artigo-miolo > :where(.texto,.foto,.linha-fina,h1,.meta,.ferramentas,.dp-trilha-artigo) {
  max-width:100%;
  box-sizing:border-box;
}
.dp-v107 .noticia.principal .dp112-artigo-miolo > h1 {
  margin:14px 0 18px;
  color:var(--tinta);
  font:800 clamp(28px,3.2vw,43px)/1.19 'Archivo',Arial,sans-serif;
  text-transform:none;
  letter-spacing:-.025em;
  overflow-wrap:break-word;
  hyphens:auto;
  text-wrap:balance;
}
.dp-v107 .noticia.principal .dp112-artigo-miolo > .linha-fina {
  font-size:clamp(16px,1.35vw,20px);
  line-height:1.5;
  color:var(--texto-forte);
}
.dp-v107 .noticia.principal .dp112-artigo-miolo > .foto { width:100%;margin:0 0 22px; }
.dp-v107 .noticia.principal .dp112-artigo-miolo > .foto img {
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  object-fit:contain;
  border-radius:8px;
}
.dp-v107 .noticia.principal .dp112-artigo-miolo > .texto {
  width:100%;
  margin:0 auto;
  font-size:clamp(17px,1.25vw,19px);
  line-height:1.75;
  color:var(--tinta);
  text-align:left;
  overflow-wrap:break-word;
}
.dp-v107 .noticia.principal .dp112-artigo-miolo > .texto p { margin-bottom:1.15em; }
.dp-v107 .noticia.principal .dp112-artigo-miolo > .texto h2 {
  font:800 clamp(23px,2.1vw,30px)/1.25 'Archivo',Arial,sans-serif;
  text-transform:none;
  color:var(--tinta);
  margin-top:1.5em;
}

/* Cartões e listas: manchetes com fonte editorial legível, sem caixa-alta comprimida. */
.dp-v107 .dp-card-noticia .cartao h3,
.dp-v107 .dp-card-lista .item-lista h3,
.dp-v107 .grade .cartao h3,
.dp-v107 .lista .item-lista h3 {
  font-family:'Archivo',Arial,sans-serif !important;
  font-size:clamp(16px,1.2vw,19px) !important;
  line-height:1.34 !important;
  font-weight:800 !important;
  color:var(--tinta) !important;
  text-transform:none !important;
  letter-spacing:-.015em;
  overflow-wrap:break-word;
  text-wrap:pretty;
  text-align:left;
}
.dp-v107 .dp-card-noticia .cartao .txt,
.dp-v107 .dp-card-lista .item-lista > div,
.dp-v107 .grade .cartao .txt {
  text-align:left;
}
.dp-v107 .dp-card-noticia .cartao .meta,
.dp-v107 .lista .item-lista .meta {
  line-height:1.5;
}
@media(max-width:860px){
  .dp-v107 .dp-promo-banner.dp109-publicidade-final { max-width:730px !important; padding:0 12px; }
  .dp-v107 .dp-home-apoios .grade,
  .dp-v107 .dp-home-ultimas .grade { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:540px){
  .dp-v107 .dp-promo-banner.dp109-publicidade-final { margin:16px auto 20px !important; padding:0 8px; }
  .dp-v107 .dp-home-apoios .grade,
  .dp-v107 .dp-home-ultimas .grade { grid-template-columns:minmax(0,1fr); gap:14px; }
  .dp-v107 .dp-card-noticia .cartao h3,
  .dp-v107 .dp-card-lista .item-lista h3,
  .dp-v107 .grade .cartao h3,
  .dp-v107 .lista .item-lista h3 { font-size:18px !important; }
  .dp-v107 .colunas > article.noticia.principal { padding:20px 16px; }
  .dp-v107 .noticia.principal .dp112-artigo-miolo > h1 { font-size:clamp(26px,7vw,34px);line-height:1.22; }
  .dp-v107 .noticia.principal .dp112-artigo-miolo > .texto { font-size:18px;line-height:1.68; }
}

/* v1.5.112 — faixa publicitária EXATAMENTE 9:1 (nunca 3:1), sem margens brancas.
   Altura em desktop: 1160 / 9 = 129 px. Em 900px: 100px.
   O site carrega 1 peça por vez; imagens finais têm 2160x240. */
body.dp-v107 .dp-promo-banner.dp109-publicidade-final.dp112-publicidade-faixa {
  width:min(100%,1160px) !important;
  max-width:1160px !important;
  height:auto !important;
  aspect-ratio:9 / 1 !important;
  padding:0 !important;
  margin:34px auto 22px !important;
  border:0 !important;
  box-shadow:none !important;
  overflow:visible !important;
  position:relative;
}
body.dp-v107 .dp-promo-banner.dp109-publicidade-final.dp112-publicidade-faixa > a {
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  overflow:visible !important;
  border-radius:8px;
  text-decoration:none;
}
body.dp-v107 .dp-promo-banner.dp109-publicidade-final.dp112-publicidade-faixa > a[hidden] { display:none !important; }
body.dp-v107 .dp-promo-banner.dp109-publicidade-final.dp112-publicidade-faixa > a > img {
  display:block !important;
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  max-width:none !important;
  min-height:0 !important;
  aspect-ratio:9/1 !important;
  object-fit:fill !important;
  border-radius:8px !important;
  box-shadow:0 7px 20px rgba(0,35,21,.18) !important;
}
/* Contraste do bloco Próximo jogo em fundos escuros: sem texto verde-escuro ilegível. */
body.dp-v107 .jogo:not(.jogo-hoje) {color:#fff !important;}
body.dp-v107 .jogo:not(.jogo-hoje) :is(h1,h2,h3,strong,p,span,small,a):not(.tag):not(.btn) {color:#fff !important; text-shadow:0 1px 3px rgba(0,0,0,.6)}
body.dp-v107 .jogo:not(.jogo-hoje) :is(a,button):focus-visible {outline:3px solid #ffe07d; outline-offset:2px;}
/* Justificado apenas no texto corrido, mantendo título, resumo e cards à esquerda. */
body.dp-v107 .noticia.principal .dp112-artigo-miolo > .texto,
body.dp-v107 .noticia.principal .dp112-artigo-miolo > .texto p {
  text-align:justify !important;
  text-justify:inter-word;
  hyphens:auto;
}
body.dp-v107 .noticia.principal .dp112-artigo-miolo > .texto :is(h1,h2,h3,h4,li,blockquote,figcaption) {text-align:left !important;}
@media(max-width:620px){
 body.dp-v107 .dp-promo-banner.dp109-publicidade-final.dp112-publicidade-faixa {margin:20px auto 16px !important;}
 body.dp-v107 .noticia.principal .dp112-artigo-miolo > .texto,
 body.dp-v107 .noticia.principal .dp112-artigo-miolo > .texto p {text-align:left !important;hyphens:none;}
}

/* Chapéu 3D atravessa a borda superior SEM acrescentar altura à faixa 9:1. */
body.dp-v107 .dp-promo-banner.dp109-publicidade-final.dp112-publicidade-faixa > a::before {
  content:"";
  display:block;
  position:absolute;
  left:clamp(24px,11%,130px);
  top:clamp(-56px,-4.5vw,-19px);
  width:clamp(62px,13.8%,160px);
  aspect-ratio:370/136;
  background:url('/static/anuncios/diario-112-chapeu-flutuante.webp') center / contain no-repeat;
  pointer-events:none;
  z-index:2;
  filter:drop-shadow(0 3px 3px rgba(0,30,15,.17));
}
