.selection-proof-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-block-size: 44px;
  margin-block-start: .15rem;
  border-radius: 4px;
  color: #214497;
  font: 650 .875rem/1.35 var(--sans, Arial, sans-serif);
  text-decoration: underline;
  text-underline-offset: .2em;
}

.selection-proof-link:hover { color: #173482; }

.selection-proof-link:focus-visible {
  outline: 2px solid #284fc7;
  outline-offset: 3px;
}

.selection-proof-link svg {
  inline-size: 15px;
  block-size: 15px;
  flex: none;
  fill: none;
  stroke: currentColor;
}

body.sober-home:has(.site-header[data-header-dock="cv"]) #parcours .about-cv-link:not(:focus) {
  display: inline-flex;
}

@media (max-width: 800px) {
  /* Keep both client cards in view and leave a sliver of the next card as a swipe cue. */
  body.sober-home #projets nav.project-directory {
    grid-auto-columns: min(270px, calc((100% - 26px) / 2));
    margin-inline-end: -14px;
  }

  body.sober-home #projets .project-directory .project-directory__study {
    grid-template-columns: 20px minmax(0, 1fr);
    grid-template-areas: 'mark name' 'topic topic' 'study study';
    align-items: start;
    column-gap: .4rem;
    padding: .7rem .65rem;
  }

  body.sober-home #projets .project-directory .project-directory__study > img {
    inline-size: 20px;
    block-size: 20px;
    margin-block-start: 0;
  }

  .project-directory__study-label {
    gap: .3rem;
    margin-block-start: .2rem;
  }
}

@media (max-width: 420px) {
  body.sober-home #projets .project-directory .project-directory__study {
    grid-template-rows: minmax(2.5em, auto) 1fr auto;
  }

  .project-directory__study .project-directory__name {
    align-self: center;
  }
}
