/* Noticias mobile refinements */

@media (max-width: 560px) {
  html,
  body.noticias-page {
    max-width: 100%;
    overflow-x: clip;
  }

  .noticias-page .lr-page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .noticias-page .lr-frame-clean {
    width: 100%;
    max-width: 100%;
    padding-bottom: 28px !important;
  }

  .noticias-page .news-principles,
  .noticias-page .news-grid,
  .noticias-page .news-card,
  .noticias-page .news-instagram,
  .noticias-page .news-instagram-copy,
  .noticias-page .news-instagram-example,
  .noticias-page .news-instagram-example-link,
  .noticias-page .news-instagram-image-frame {
    min-width: 0;
    max-width: 100%;
  }

  .noticias-page .news-instagram {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 4px;
    padding: 28px 14px;
  }

  .noticias-page .news-instagram-copy {
    width: 100%;
    align-items: center;
    text-align: center;
  }

  .noticias-page .news-instagram-copy > * {
    max-width: 100%;
  }

  .noticias-page .news-instagram p,
  .noticias-page .news-instagram strong,
  .noticias-page .news-instagram figcaption {
    overflow-wrap: anywhere;
  }

  /* The real CTA text remains the only label. The former ::after replacement
     duplicated it once deco-controls.css restored the canonical font size. */
  .noticias-page .news-instagram .lr-btn.lr-deco-button {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 12px 10px;
    font-size: clamp(11px, 3.5vw, 14px);
    line-height: 1.25;
    letter-spacing: .04em;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .noticias-page .news-instagram .lr-btn.lr-deco-button::after {
    content: none !important;
  }

  .noticias-page .news-instagram-example {
    width: 100%;
    margin: 0;
    justify-self: stretch;
  }

  .noticias-page .news-instagram-example-link {
    display: block;
    width: 100%;
  }

  .noticias-page .news-instagram-image-frame {
    width: 100%;
    padding: 6px;
  }

  .noticias-page .news-instagram-example img {
    display: block;
    width: 100%;
    height: auto;
  }

  .noticias-page .news-instagram-example figcaption {
    max-width: 100%;
    padding: 0 4px;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: .08em;
  }

  .noticias-page .news-principles-head > div {
    display: flex;
    flex-direction: column;
  }

  .noticias-page .news-principles-head .lr-product-tag {
    align-self: center;
    text-align: center;
  }

  .noticias-page .news-principles-head h2 {
    margin-top: 22px;
  }
}

@media (max-width: 390px) {
  .noticias-page .lr-page {
    padding-left: 8px;
    padding-right: 8px;
  }

  .noticias-page .news-instagram {
    padding-left: 12px;
    padding-right: 12px;
  }
}
