/* _entre negócios: a quiet, accessible news link in the header and contact. */
.news-link {
  display: inline-flex;
  align-items: center;
  column-gap: 10px;
  color: inherit;
  text-decoration: none;
}

.news-link .news-mark {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.news-link .news-label { white-space: nowrap; }

.news-link:focus-visible {
  outline: 2px solid var(--fg, #f4f2ec);
  outline-offset: 5px;
}

.stage .chrome .language-controls {
  align-items: center;
  column-gap: 14px;
}

.stage .chrome .news-link.header-news {
  box-sizing: border-box;
  flex: none;
  min-width: 44px;
  min-height: 44px;
  column-gap: 8px;
  font-family: var(--sans, "Instrument Sans", sans-serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--fg, #f4f2ec);
}

.stage .chrome .news-link.header-news:hover { color: #fff; }

body.is-mobile .mobile-controls .news-link.header-news {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 50%;
  color: var(--mobile-fg, #f4f2ec);
}

body.is-mobile .mobile-controls .header-news .news-label { display: none; }
body.is-mobile .mobile-controls .header-news:hover { background: rgba(244, 242, 236, .04); }

body.is-mobile .mobile-nav a.news-link.news-menu-link {
  grid-column: 1 / -1;
  column-gap: 10px;
  min-height: 44px;
}

/* Keep both destinations on one line when they fit; otherwise wrap whole links. */
:is(.stage, #contato) .contact-social-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 24px;
  min-width: 0;
}

:is(.stage, #contato) .contact-social-links > .contact-link {
  display: inline-flex;
  align-items: center;
  column-gap: 10px;
  flex: 0 1 auto;
  width: max-content;
  max-width: 100%;
  min-height: 44px;
  white-space: nowrap;
  overflow-wrap: normal;
}

body.is-mobile #contato .contact-social-links {
  column-gap: 20px;
  margin-top: 20px;
}

body.is-mobile #contato .contact-social-links > .contact-link { margin-top: 0; }

/* Preserve the entire language name and the existing brand at narrow widths. */
@media (max-width: 399px) {
  body.is-mobile .mobile-header-bar { gap: 8px; }
  body.is-mobile .mobile-header-bar .mobile-controls [data-language-switch] {
    min-width: 70px;
    min-height: 44px;
    padding: 9px 8px;
    font-size: 12px;
  }
}

@media (max-width: 359px) {
  body.is-mobile .mobile-header-bar { gap: 4px; }
  body.is-mobile .mobile-header-bar .mobile-controls { gap: 2px; }
  body.is-mobile .mobile-header-bar .mobile-controls [data-language-switch] {
    min-width: 64px;
    padding-inline: 6px;
  }
}

/* About is visible in desktop chrome and inside the mobile menu. */
.about-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fg, #f4f2ec);
  font-family: var(--sans, "Instrument Sans", sans-serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.about-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.about-link:focus-visible { outline: 2px solid #f4f2ec; outline-offset: 5px; }
.stage .chrome .header-about { justify-content: center; min-width: 44px; }
body.is-mobile .mobile-nav a.about-menu-link { grid-column: 1 / -1; min-height: 44px; }
