/**
 * Compatibilidade WordPress — não altera o visual aprovado.
 * Isola o layout do portal das classes que o WP coloca no body
 * (body.page, body.home, etc.) e de estilos globais de blocos.
 */

html body.page,
html body.home,
html body.blog,
html body.single,
html body.archive,
html body.search,
html body.error404,
html body.logged-in {
  display: block;
  width: 100%;
  max-width: none;
  grid-template-columns: none;
  grid-template-rows: none;
  gap: unset;
  align-items: stretch;
  justify-content: initial;
}

html body > header,
html body > .ad-leader,
html body > div.page,
html body > footer.site-footer {
  width: 100%;
  min-width: 0;
}

.lead-story h1,
.side-story h3,
.latest-item h3,
.story-card h3,
.local-list h3,
.editor-lead p,
.editor-secondary p,
.trending h3 {
  overflow-wrap: break-word;
  word-break: normal;
}

.lead-story > .card-media {
  display: block;
  width: 100%;
  height: 440px;
}

.side-story > .card-media {
  display: block;
  width: 148px;
  height: 108px;
}

.latest-item > a > .card-media {
  display: block;
  width: 100%;
  height: 176px;
}

.story-card > .card-media {
  display: block;
  width: 100%;
  height: 280px;
}

.editor-lead > .card-media {
  display: block;
  width: 100%;
  height: 198px;
}

.editor-secondary > .card-media {
  display: block;
  width: 132px;
  height: 100px;
}

@media (max-width: 760px) {
  .lead-story > .card-media {
    min-height: 300px;
    height: 300px;
  }

  .latest-item > a > .card-media {
    height: 88px;
  }
}

@media (max-width: 430px) {
  .side-story > .card-media {
    width: 92px;
    height: 70px;
  }

  .latest-item > a > .card-media {
    width: 96px;
    height: 74px;
  }

  .editor-lead > .card-media {
    height: 188px;
  }

  .editor-secondary > .card-media {
    width: 108px;
    height: 100px;
  }
}
