/* Header plus grand + centrage vertical */
.customHeaderBar {
  height: 5rem;
}
.customHeaderBar .sapMBarContainer {
  height: 100%;
  align-items: center;
}

/* Titre plus lisible */
.bigTitle {
  font-size: 1.4rem;
  font-weight: 700;
}

/* Landing */
.landingBox {
  gap: 1rem;
  min-height: 10vh;
}
.landingTile {
  width: 220px;
  height: 220px;
}

/* Grille de briques */
.tileGrid {
  gap: 0.5rem;
}

/* Carte projet */
.projectTile {
  align-items: left;
}
.projectTile .sapMGTHdrContent {
  text-align: left;
}
.projectTile .sapMGTHdrTxt,
.projectTile .sapMGTSubHdrTxt {
  text-align: left;
}
.projectLink {
  margin-top: 0.25rem;
}

/* Détroncage du subheader sur les tuiles marquées tileWrap */
/* Autoriser les retours à la ligne dans le subheader */
.tileWrap .sapMGTSubHdrTxt,
.tileWrap .sapMGTSubHdrTxt > .sapMText {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  display: block;              /* au cas où line-clamp serait appliqué */
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  margin-top: 10px;
}

/* Laisser la zone header s’ajuster à la hauteur du texte */
.tileWrap.sapMGenericTile .sapMGTHdrContent {
  height: auto !important;
}

/* (optionnel) donner un peu plus de hauteur si besoin */
.tileWrap.sapMGenericTile {
  min-height: 1rem;
}

/* Masque le texte/footer et supprime l'espace en bas pour les tuiles marquées */
.noFooter .sapMTileCntFtrTxt {
  display: none !important;
}

.noFooter .sapMTileCntContent {
  padding-bottom: 0 !important;
}

/* (au cas où) certains thèmes utilisent un wrapper footer */
.noFooter .sapMTileCntFtr {
  display: none !important;
}

.sapMGT.OneByOne {
    width: 14rem !important;
    height: 11rem;
}