#netco-implantations .company {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

#netco-implantations .company img {
  width: 16rem;
  text-align: center;
  margin: 0 auto;
  margin-bottom: 1rem;
  position: sticky;
  top: calc(
    var(--site-header-height) + var(--wp-admin--admin-bar--height, 0px) + 1rem
  );
  left: 0;
  right: 0;
  z-index: 100;
  background-color: white;
  padding: 1rem;
  border-radius: 0.25rem;
  border: solid 2px rgb(0, 0, 0, 0.2);
}

#netco-implantations .sites {
  display: grid;
  --column: 2;
  grid-template-columns: repeat(var(--column), minmax(0px, 1fr));
  gap: 1rem;
}

#netco-implantations .site {
  background-color: white;
  border-radius: 0.25rem;
  border: solid 2px rgb(0, 0, 0, 0.2);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem;
  color: var(--gray);
  position: relative;
  text-decoration: none;
  transition: 0.2s;
}

#netco-implantations .site:hover {
  background-color: var(--blue);
  color: white;
  border-color: var(--yellow);
  outline: solid 2px var(--yellow);
}

#netco-implantations .site > a {
  color: inherit;
  text-decoration: none;
}

#netco-implantations .site > * {
  transition: 0.2s;
}

#netco-implantations .site :is(.adresse, .telephone, .email) {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.5rem;
  align-items: center;
}

#netco-implantations .site .nom {
  font-weight: bold;
  color: var(--black);
}

#netco-implantations .site:hover .nom {
  color: var(--yellow);
}

#netco-implantations .site i {
  color: var(--blue);
}

#netco-implantations .site:hover i {
  color: var(--yellow);
}

@media screen and (max-width: 720px) {
  #netco-implantations .company img {
    width: 12rem;
  }

  #netco-implantations .sites {
    display: flex;
    flex-direction: column;
  }
}

#netco-implantations .site.siege {
  grid-column: span 2;
  order: -1;
}

#netco-implantations .site.siege .nom {
  font-size: 1.25rem;
}
