/*-------

   Galerie 2026 - lucrari recente (portrait 3:4 tiles)

   Scoped to .cid-galerie-2026 only. The grid widths (25% / 50% / 100%)
   are inherited unchanged from gallery.css.

-------*/
.cid-galerie-2026 {
  padding-top: 0px;
  padding-bottom: 90px;
  background-color: #ffffff;
}

/* same olive -> orange hover tint as the existing .cid-qQq0q3aWll gallery */
.cid-galerie-2026 .mbr-gallery-item > div::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #787324;
  background: linear-gradient(to left, #787324, #d15a21) !important;
  opacity: 0;
  -webkit-transition: 0.2s opacity ease-in-out;
  transition: 0.2s opacity ease-in-out;
}

.cid-galerie-2026 .mbr-gallery-item > div:hover::before {
  opacity: 0.7 !important;
}

/* reserve the 3:4 box before a lazy thumbnail decodes, so the grid
   does not jump while scrolling (ignored by browsers without support) */
.cid-galerie-2026 .mbr-gallery-item > div {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
