/* Identidade e componentes vêm da prévia Legacy Doc. Ajustes do acervo Poranga. */
.language-switcher {
  gap: 8px;
}

.language-switcher a,
.language-switcher [aria-current="page"] {
  display: grid;
  place-items: center;
  width: 28px;
  height: 27px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
}

.language-switcher [aria-current="page"] {
  border-color: var(--orange);
}

.language-switcher img {
  width: 20px;
  height: auto;
  border-radius: 1px;
}

.media-language {
  margin-top: 5px;
  color: var(--muted);
}

@media (max-width: 420px) {
  .language-switcher {
    gap: 3px;
    margin-right: 7px;
  }

  .language-switcher a,
  .language-switcher [aria-current="page"] {
    width: 25px;
  }
}

.opening-screen video {
  aspect-ratio: 16 / 9;
  max-height: 77svh;
}

.hero-portrait > img {
  object-position: 12% center;
}

.hero-portrait figcaption span:first-child {
  max-width: 24ch;
}

.evidence-item .story-cover,
.poranga-slide > img,
.gallery-thumbs img,
.scope-phase-image img,
.case-figures img {
  aspect-ratio: 3840 / 1534;
}

.poranga-slide > img {
  display: block;
  width: 100%;
  height: auto;
}

.poranga-slide figcaption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}

#poranga-slide-count {
  white-space: nowrap;
}

.case-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-portrait img {
  object-position: center;
}

@media (max-width: 800px) {
  .hero-portrait > img {
    object-position: left center;
  }
}

@media (max-width: 560px) {
  .opening-screen video {
    max-height: none;
  }

  .poranga-slide figcaption {
    font-size: 12px;
  }

  .case-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.hero h1,
.section-heading h2 {
  text-wrap: balance;
}

.main-cta-button-final {
  color: #201407;
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(34px, 10vw, 43px);
  }
}
