/* ============================
   BASE – icônes (commun)
   ============================ */

.branch-icon{
  display: inline-block;
  vertical-align: middle;
  margin-right: 12px;
}

/* ============================
   HOME – HERO
   ============================ */

/* Layout : texte à gauche / compétences à droite, centrés verticalement */
@media (min-width: 40em) { /* ~640px */
  .page-template-template-home .row.head .home-head-grid{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  /* Neutralise les floats Foundation quand on passe en flex */
  .page-template-template-home .row.head .home-head-grid > .columns{
    float: none;
  }
}

/* Mobile : spacing léger */
@media (max-width: 39.9375em) {
  .page-template-template-home .row.head .utitle.job_list{
    margin-top: 1rem;
  }
}

/* Liste compétences HOME */
.page-template-template-home .row.head .job_list + ul a{
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* HOME uniquement (template-home)
/*.row.head img.branch-icon {
    opacity: .8;
    transition: opacity .2s ease;
    width: 20px!important;
}*/

/* Hover HOME */
.page-template-template-home .row.head a:hover img.branch-icon{
  opacity: 1;
}


/* ============================
   PAGE PROJETS (archive-project)
   ============================ */

/* Icônes catégories – état par défaut */
.post-type-archive-project .branch-icon{
  width: 20px;
  height: auto;
  opacity: 0.35;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* Hover */
.post-type-archive-project a:hover .branch-icon{
  opacity: 1;
}

/* Catégorie active / sélectionnée */
.post-type-archive-project li.active .branch-icon,
.post-type-archive-project li.current .branch-icon{
  opacity: 1;
  transform: scale(1);
}