.yt-brand-logo {
  display: block;
  height: 40px;
  width: auto;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
}

.yt-brand-logo.lg { height: 56px; }
.yt-brand-logo.sm { height: 32px; }
.yt-brand-logo.xs { height: 26px; }

/* ── Lien accueil (logo cliquable) ── */
a.yt-brand-home {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  line-height: 0;
  cursor: pointer;
  border-radius: 6px;
}

a.yt-brand-home:focus-visible {
  outline: 2px solid #AD0041;
  outline-offset: 2px;
}

.hdr .logo a.yt-brand-home {
  line-height: 0;
}

.sb-logo a.yt-brand-home {
  margin-bottom: 4px;
}

.ft-brand a.yt-brand-home {
  justify-content: center;
}

.hdr .logo {
  background: transparent;
  border-radius: 0;
  padding: 0;
  line-height: 0;
  box-shadow: none;
  flex-shrink: 0;
}

.hdr .logo .yt-brand-logo {
  height: 38px;
  width: auto;
  min-height: 38px;
}

/* ── Admin sidebar ── */
.sb-logo .yt-brand-logo {
  height: 36px;
  width: auto;
  background: #fff;
  border-radius: 6px;
  padding: 5px 10px;
}

/* ── Recruteur hero / landing ── */
.hero .yt-brand-logo.lg {
  margin: 0 auto 12px;
  background: #fff;
  border-radius: 10px;
  padding: 8px 18px;
  height: 52px;
  width: auto;
}

/* ── Recruteur topbar ── */
.topbar .yt-brand-logo.xs {
  height: 28px;
  width: auto;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
}

/* ── Footer candidat ── */
.ft-brand {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

.ft-brand .yt-brand-logo {
  height: 36px;
  width: auto;
  background: #fff;
  border-radius: 8px;
  padding: 6px 14px;
}

/* ── Admin login ── */
#login-overlay .yt-brand-logo.lg {
  height: 48px;
  width: auto;
  margin: 0 auto 12px;
  display: block;
}
