/*
 * Brand-only adaptations for the downloaded source frontend.
 * The graphic mark is the exact downloaded /favicon.png source asset.
 * No source layout, illustration, component, or animation is recreated here.
 */

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.proseora-brand-lockup {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  min-width: max-content;
}

img[src*="logo-long.webp"] {
  visibility: hidden;
}

.proseora-brand-icon {
  display: block !important;
  width: 2.1rem !important;
  height: 2.1rem !important;
  min-width: 2.1rem !important;
  object-fit: contain !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

.proseora-brand-word {
  display: inline-block;
  color: #102c3e;
  font-family: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  white-space: nowrap;
}

.dark .proseora-brand-word {
  color: #f8fafc;
}

[data-proseora-hidden="true"] {
  display: none !important;
}

/* Former company affiliations have no approved Proseora destinations. */
a[aria-label="X"],
a[aria-label="Instagram"],
a[aria-label="YouTube"],
a[aria-label="TikTok"],
a[href^="/assets/empty.html"],
iframe[title*="Climate"],
img[src*="disabled-affiliation"] {
  display: none !important;
}

a:has(img[alt*="TAAFT"]) {
  display: none !important;
}

/* English-only delivery: source locale controls stay out of first paint. */
button:has(.lucide-languages),
button[aria-label*="language" i],
button:has(.lucide-globe),
footer button:has(.lucide-globe),
.tool-card button:has(.lucide-globe) {
  display: none !important;
}

@media (max-width: 640px) {
  .proseora-brand-icon {
    width: 1.9rem !important;
    height: 1.9rem !important;
    min-width: 1.9rem !important;
  }

  .proseora-brand-word {
    font-size: 1.2rem;
  }
}
