/* IL FONDO — 1.2.43 PROVA — finestroni editoriali avorio.
   Tre schede maggiori alternate nelle file 2, 4 e 6, nessuna modifica agli articoli.
   Le immagini restano integre: nessuna altezza forzata e nessun taglio. */
.if-home-finite > .gh-card:nth-of-type(5),
.if-home-finite > .gh-card:nth-of-type(11),
.if-home-finite > .gh-card:nth-of-type(15) {
  box-sizing: border-box;
  min-width: 0;
  background-color: #FAF7F0;
  border: 1px solid #E7DED0;
  border-radius: 10px;
  padding: 16px;
}
.if-home-finite > .gh-card:nth-of-type(5) .gh-card-image:first-of-type,
.if-home-finite > .gh-card:nth-of-type(11) .gh-card-image:first-of-type,
.if-home-finite > .gh-card:nth-of-type(15) .gh-card-image:first-of-type {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center;
}
@media (min-width: 1024px) {
  .if-home-finite > .gh-card:nth-of-type(n + 2) .gh-card-content > p:last-child {
    margin-top: 6px;
    margin-bottom: 0;
  }
  .if-home-finite > .gh-card:nth-of-type(5),
  .if-home-finite > .gh-card:nth-of-type(11),
  .if-home-finite > .gh-card:nth-of-type(15) {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    column-gap: 20px;
    align-items: start;
    align-content: start;
    align-self: start;
  }
  .if-home-finite > .gh-card:nth-of-type(5) > a,
  .if-home-finite > .gh-card:nth-of-type(11) > a,
  .if-home-finite > .gh-card:nth-of-type(15) > a {
    grid-column: 1;
    min-width: 0;
    width: 100%;
    align-self: start;
  }
  .if-home-finite > .gh-card:nth-of-type(5) > .gh-card-content,
  .if-home-finite > .gh-card:nth-of-type(11) > .gh-card-content,
  .if-home-finite > .gh-card:nth-of-type(15) > .gh-card-content {
    grid-column: 2;
    min-width: 0;
    align-self: start;
    margin-top: 0 !important;
  }
}
@media (max-width: 1023px) {
  .if-home-finite > .gh-card:nth-of-type(5),
  .if-home-finite > .gh-card:nth-of-type(11),
  .if-home-finite > .gh-card:nth-of-type(15) {
    grid-column: auto;
    display: flex;
    flex-direction: column;
  }
  .if-home-finite > .gh-card:nth-of-type(5) > a + .gh-card-content,
  .if-home-finite > .gh-card:nth-of-type(11) > a + .gh-card-content,
  .if-home-finite > .gh-card:nth-of-type(15) > a + .gh-card-content {
    margin-top: 14px;
  }
}
@media (max-width: 600px) {
  .if-home-finite > .gh-card:nth-of-type(5),
  .if-home-finite > .gh-card:nth-of-type(11),
  .if-home-finite > .gh-card:nth-of-type(15) {
    padding: 14px;
    border-radius: 9px;
  }
}

/* Etichetta editoriale minima, identica in tutte le 15 schede. */
.if-home-finite > .gh-card .gh-card-content > .if-home-category,
.if-home-finite .notizie-card .gh-card-content > .if-home-category {
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 0 0 8px 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #75644F;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .085em;
  line-height: 1.45;
  text-transform: uppercase;
  text-decoration: none;
}
.if-home-finite > .gh-card .gh-card-content > .if-home-category:hover,
.if-home-finite > .gh-card .gh-card-content > .if-home-category:focus-visible,
.if-home-finite .notizie-card .gh-card-content > .if-home-category:hover,
.if-home-finite .notizie-card .gh-card-content > .if-home-category:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
