/* Blog Rigatti: somente a home e o conteúdo dos posts no celular.
 * Desktop, textos, cabeçalho, popups e rastreamento permanecem intactos.
 */
@media (max-width: 767px) {
  body.home #hero {
    padding-top: 100px !important;
    padding-bottom: 36px !important;
  }

  body.home #hero h1 {
    font-size: 32px !important;
    line-height: 1.2 !important;
    margin-bottom: 18px !important;
  }

  body.home #hero h2 {
    font-size: 21px !important;
    line-height: 1.4 !important;
    margin-bottom: 18px !important;
  }

  body.home #hero h3 {
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
  }

  body.single-post .entry-content h1 {
    font-size: 32px !important;
    line-height: 1.25 !important;
    overflow-wrap: break-word;
  }

  body.single-post .wp-block-post-title {
    font-size: 26px !important;
    line-height: 1.25 !important;
    overflow-wrap: break-word;
  }

  body.single-post .entry-content h2 {
    font-size: 26px !important;
    line-height: 1.3 !important;
    overflow-wrap: break-word;
  }
}

/* Complemento ao CSS existente. Apenas celular e blog principal. */
@media (max-width: 767px) {
  body.single-post .entry-content {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    overflow-wrap: break-word;
    padding-inline: 3px;
  }
  body.single-post .entry-content p,
  body.single-post .entry-content li {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    font-weight: 400;
  }
  body.single-post .entry-content strong,
  body.single-post .entry-content b { font-weight: 700; }
  body.single-post .entry-content h2 {
    font-size: 1.375rem !important;
    line-height: 1.35 !important;
    margin-top: 2rem !important;
    margin-bottom: .75rem !important;
  }
  body.single-post .entry-content h3 {
    font-size: 1.1875rem !important;
    line-height: 1.4 !important;
    margin-top: 1.75rem !important;
    margin-bottom: .625rem !important;
  }
  body.single-post .entry-content :is(h2,h3) + :is(p,ul,ol) {
    margin-top: 0 !important;
  }
  body.single-post .entry-content :is(h2,h3) { scroll-margin-top: 100px; }
  body.single-post .entry-content figure.wp-block-table {
    max-width: 100%;
    overflow-x: auto;
  }
  body.single-post .entry-content > table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
  }
  body.single-post .entry-content img { max-width: 100%; height: auto; }
}
