/* AFTABIN V4 / P31: GLASS ONLY ON THE SMALL LABEL ABOVE HERO H1.
 * No changes to h1, subtitle, hero background, buttons, cards, or section labels.
 * The adjacent H1 selector prevents touching arbitrary .av4-eyebrow tags.
 */

/* Existing public V4 hero family: only an eyebrow immediately preceding H1. */
body.av4-public-root .av4-hero-host .av4-eyebrow:has(+ h1),
/* Home hero: distinct class, directly preceding its own H1. */
body.av4-public-root .av4-home-hero.av4-hero-host .av4-home-hero__eyebrow:has(+ h1),
/* Company profile hero: H1 is wrapped in the adjacent identity/title row. */
body.av4-public-root .av4-profile-hero.av4-hero-host .av4-profile-hero__heading > .av4-profile-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  vertical-align: middle;
  gap: .5rem;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
  min-height: 2.3rem;
  padding: .43rem .88rem;
  margin-inline: 0;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .095);
  -webkit-backdrop-filter: blur(10px) saturate(130%);
  backdrop-filter: blur(10px) saturate(130%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10);
  color: #fff !important; /* Requested: only the small label text is pure white. */
  font-family: var(--av4-font);
  font-size: var(--av4-small-size);
  font-weight: var(--av4-w-semibold);
  line-height: 1.7;
  text-align: start;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* The small gold dot appears at the RTL start (right) like the reference. */
body.av4-public-root .av4-hero-host .av4-eyebrow:has(+ h1)::before,
body.av4-public-root .av4-home-hero.av4-hero-host .av4-home-hero__eyebrow:has(+ h1)::before,
body.av4-public-root .av4-profile-hero.av4-hero-host .av4-profile-hero__heading > .av4-profile-hero__eyebrow::before {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: .48rem;
  height: .48rem;
  border-radius: 50%;
  background: var(--av4-accent, #e4b748);
  box-shadow: 0 0 0 3px rgba(228, 183, 72, .14);
}

/* Light hero surfaces get a softly tinted glass instead of low-contrast white. */
body.av4-public-root .av4-page-hero.av4-hero-host:not(:has(> .av4-hero-backdrop--dark)) .av4-eyebrow:has(+ h1) {
  background: rgba(26, 91, 77, .075);
  border-color: rgba(26, 91, 77, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* Reduced transparency preference: readable label without backdrop blur. */
@media (prefers-reduced-transparency: reduce) {
  body.av4-public-root .av4-hero-host .av4-eyebrow:has(+ h1),
  body.av4-public-root .av4-home-hero.av4-hero-host .av4-home-hero__eyebrow:has(+ h1),
  body.av4-public-root .av4-profile-hero.av4-hero-host .av4-profile-hero__heading > .av4-profile-hero__eyebrow {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
