/* Bandeau de tête d'un talent — PARTAGÉ par le drawer de la recherche talents et
   le panneau d'aperçu des candidatures (retour Loïc 10/08 : « ce serait pas la
   même bannière ? »). Ces règles vivaient dans recruiter_talent_search.css ;
   elles ont été DÉPLACÉES ici, pas dupliquées, pour qu'il n'existe qu'une seule
   définition du bandeau. */
.ts-qp-photo { position: relative; width: 100%; height: 300px; background: #E6E0D4; overflow: visible; flex-shrink: 0; }
.ts-qp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; display: block; }
.ts-qp-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,0.62));
  pointer-events: none;
}
.ts-qp-hero-initials { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #0D0D0D; color: var(--gold-primary); font-family: 'Geist', system-ui, sans-serif; font-weight: 700; letter-spacing: 1px; font-size: 64px; }
.ts-qp-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: #1E1C18;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.15s;
  font-size: 14px;
  line-height: 1;
  padding: 0;
}
.ts-qp-close:hover { background: #1E1C18; color: var(--gold-200); }
.ts-qp-close svg { width: 16px; height: 16px; }
.ts-qp-close.is-floating { position: absolute; top: 16px; right: 16px; }
.ts-qp-id { position: absolute; left: 24px; right: 66px; bottom: 18px; z-index: 2; }
/* #3263 — le badge Verified est entré dans cette ligne : elle peut passer sur
   deux rangs quand le nom est long ou le panneau étroit (mesuré à 390 px), au
   lieu d'écraser le badge ou de déborder de la bannière. */
.ts-qp-name { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; row-gap: 6px; font-size: 22px; font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.ts-qp-role { font-size: 13.5px; font-weight: 600; color: var(--gold-200); margin-top: 2px; }
/* B2 (AC14.6) — badge Grille de Match repris de la card dans le drawer.
   #2620 : il occupe désormais la même place que sur la card, à cheval sur la
   couture photo / fiche, à droite. */
.ts-qp-photo .ts-qp-mtab {
  position: absolute; right: 0; bottom: 0; transform: translateY(50%); z-index: 4;
  display: inline-flex; border-radius: 999px 0 0 999px; overflow: hidden;
  box-shadow: 0 3px 12px rgba(30,28,24,.20);
}
.ts-qp-photo .ts-qp-mtab .tsm-badge { border-radius: 999px 0 0 999px; border-right: none; padding-right: 11px; }
/* #2620 avait posé le badge en haut à droite de la photo, comme sur la card.
   #3263 (Tatianna, 21/08, projection à l'appui) le ramène sur la ligne
   d'identité, après le nom et le drapeau : c'est là qu'elle lit « qui est cette
   personne », et le coin de la bannière l'en éloignait. Il n'est donc plus
   positionné, il suit le flux de `.ts-qp-name` ; `flex-shrink: 0` pour qu'un nom
   long le fasse passer à la ligne plutôt que de le comprimer. */
.ts-qp-photo .ts-qp-vbadge {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 5px;
  height: 20px; padding: 0 8px; border-radius: 5px;
  /* #2619 — écriture noire sur le doré, seule exception validée par la cliente. */
  background: var(--ts-round); color: #242424;
  font-size: 9.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.28);
}
.ts-qp-photo .ts-qp-vbadge::before {
  content: ""; width: 9px; height: 11px; flex-shrink: 0;
  background: url("/images/verified-t.svg") no-repeat center/contain;
}
