/* ===== GRID PRINCIPALE ===== */
.orl-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 16px;         /* spazio verticale reale */
  width: 100%;
  position: relative;
}

/* ===== CARD BASE ===== */
.orl-card {
  width: 300px;
  height: 400px;
  flex: 0 0 300px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* ===== IMMAGINE ===== */
.orl-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* ===== OVERLAY SICURO ===== */
.orl-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.6) 40%,
    rgba(0,0,0,0) 75%
  );
  pointer-events: none;
}

/* ===== TESTO ===== */
.orl-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  color: #fff;
  z-index: 2;
}


/* ===== BANNER SENZA OVERLAY ===== */
.orl-banner .orl-overlay,
.orl-banner .orl-content {
  display: none;
  width: 300px;
  height: 400px;
  overflow: hidden;        /* evita che l'immagine esca */
}

/* ===== BANNER STATICO ===== */
.orl-banner {
  width: 300px;
  height: 400px;
  flex: 0 0 auto;      /* evita scaling automatico da flex */
  overflow: hidden;    /* taglia eventuale eccesso, anche se non necessario */
}


.orl-banner img {
  width: auto;          /* dimensione reale immagine */
  height: auto;         /* dimensione reale immagine */
  max-width: none;      /* disattiva restrizioni bootstrap */
  display: block;
  object-fit: initial; /* nessun riempimento o taglio */
}

.orl-banner-col {
  flex: 0 0 300px;  /* fissa la larghezza a 300px */
  max-width: 300px; /* impedisce scaling */
}

.orl-banner-wrapper {
  width: 300px;
  height: 400px;
  overflow: hidden;      /* taglia eventuale fuoriuscita */
}
.orl-banner-wrapper img {
  width: 300px;          /* dimensione reale */
  height: 400px;         /* dimensione reale */
  display: block;
  object-fit: initial;    /* nessun scaling */
  max-width: none;
}


/* ===== MOBILE ===== */
@media (max-width: 1199px) {
  .orl-grid {
    justify-content: center;
    column-gap: 16px;
  }
}


