/**
 * GATARD Pro Pages 1.11.30
 * CMS 9 uniquement — finition ciblée Projet + galerie Événement.
 * Aucun sélecteur du header, du menu, du footer ou des autres pages.
 */

/* Le contenu du bloc Projet est réellement centré dans sa zone, sur tous supports. */
html body.cms-id-9 #gatard-events.gatard-events .gatard-events__project-copy {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  justify-items: center !important;
  align-content: center !important;
  justify-self: stretch !important;
  align-self: center !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-inline: auto !important;
  text-align: center !important;
}

html body.cms-id-9 #gatard-events.gatard-events .gatard-events__project-copy > h2 {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding: 0 !important;
  float: none !important;
  text-align: center !important;
  text-indent: 0 !important;
  transform: none !important;
}

html body.cms-id-9 #gatard-events.gatard-events .gatard-events__project-copy > h2 * {
  display: inline !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

html body.cms-id-9 #gatard-events.gatard-events .gatard-events__project-copy > p,
html body.cms-id-9 #gatard-events.gatard-events .gatard-events__project-copy > .gatard-events__small-btn {
  justify-self: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

/* Les visuels remplissent désormais intégralement chaque carte, comme sur la Galerie Photos. */
html body.cms-id-9 #gatard-events.gatard-events .gatard-events__gallery-item,
html body.cms-id-9 #gatard-events.gatard-events .gatard-events__gallery-track > .gatard-events__gallery-item {
  background: transparent !important;
}

html body.cms-id-9 #gatard-events.gatard-events .gatard-events__gallery-open {
  border: 0 !important;
  border-radius: inherit !important;
  background: transparent !important;
}

html body.cms-id-9 #gatard-events.gatard-events .gatard-events__gallery-open > img,
html body.cms-id-9 #gatard-events.gatard-events .gatard-events__gallery-item > img,
html body.cms-id-9 #gatard-events.gatard-events .gatard-events__gallery-item img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: inherit !important;
  object-fit: cover !important;
  object-position: center center !important;
  transform: none !important;
}
