/* Page « Nos marques » : cartes de taille fixe, logos centrés.
   Feuille indépendante de la compilation Gulp (dist/).
   Le CSS compilé cible .view__row, classe que cette vue n'émet pas (views-row). */
.view--marques--page-1 .view__content .views-row {
  margin-bottom: 30px;
}

.view--marques--page-1 .views-field-view-taxonomy-term a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 250px;
  max-width: 100%;
  height: 250px;
  margin: 0 auto;
  padding: 30px;
  border: 2px solid #e9e9e9;
  background: #fff;
  transition: 0.4s;
}

.view--marques--page-1 .views-field-view-taxonomy-term a:hover {
  border-color: #0c233f;
}

.view--marques--page-1 .views-field-view-taxonomy-term a > div,
.view--marques--page-1 .views-field-view-taxonomy-term .logo,
.view--marques--page-1 .views-field-view-taxonomy-term .logo > div {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.view--marques--page-1 .views-field-view-taxonomy-term .logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  object-fit: contain;
  background: #fff;
}
