.lfr-layout-structure-item-container {padding: 0;} .lfr-layout-structure-item-row {overflow: hidden;} .portlet-borderless .portlet-content {padding: 0;}/* =========================================================
   Card archivio notizie - Consob
   Classe wrapper da applicare alla collection:
   card-notizie-passate-nitide
   ========================================================= */


/* ---------------------------------------------------------
   Struttura Liferay: non rompere la griglia originale
   --------------------------------------------------------- */

.card-notizie-passate-nitide .container-fluid {
  overflow: visible !important;
}

.card-notizie-passate-nitide .row {
  align-items: stretch !important;
}

/* Mantiene il distanziatore verticale di Liferay */
.card-notizie-passate-nitide .lfr-layout-structure-item-card-news {
  width: 100%;
  height: auto !important;
  margin-bottom: 48px !important;
}

.card-notizie-passate-nitide .lfr-layout-structure-item-card-news > div {
  height: auto !important;
}

.card-notizie-passate-nitide .card-news {
  width: 100%;
  height: auto !important;
}


/* ---------------------------------------------------------
   Card: altezza uniforme su desktop
   --------------------------------------------------------- */

.card-notizie-passate-nitide .card-news .card {
  width: 100%;

  height: 376px !important;
  min-height: 376px !important;
  max-height: 376px !important;

  display: flex;
  flex-direction: column;
  gap: 0;

  background: #ffffff;

  border: 1px solid #cfd9e8;
  border-radius: 14px;

  overflow: hidden;

  box-shadow: 0 8px 22px rgba(15, 42, 89, 0.10);

  padding: 0 !important;
  margin: 0 !important;

  transform: none !important;

  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}


/* Hover stabile: la card non si muove */
.card-notizie-passate-nitide .card-news .card:hover {
  transform: none !important;
  border-color: #8faad2;
  box-shadow: 0 10px 26px rgba(15, 42, 89, 0.14);
  background-color: #ffffff;
}


/* ---------------------------------------------------------
   Immagine
   --------------------------------------------------------- */

.card-notizie-passate-nitide .card-news .image {
  position: relative;

  width: 100%;
  height: 180px;
  flex: 0 0 180px;

  overflow: hidden;

  background: #eef3f9;

  border-radius: 14px 14px 0 0;
  border-bottom: 1px solid #cfd9e8;
}

.card-notizie-passate-nitide .card-news .image > div {
  width: 100%;
  height: 100%;
}

.card-notizie-passate-nitide .card-news .image picture {
  display: block;
  width: 100%;
  height: 100%;
}

.card-notizie-passate-nitide .card-news .image img {
  display: block;

  width: 100% !important;
  height: 100% !important;
  max-width: 100%;

  object-fit: cover;
  object-position: center;

  position: absolute !important;
  top: 0 !important;
  left: 0 !important;

  image-rendering: auto !important;

  transform: translate3d(0, 0, 0) !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  filter: none;
}


/* Nessuno zoom immagine */
.card-notizie-passate-nitide .card-news .card:hover .image img {
  transform: translate3d(0, 0, 0) !important;
}


/* ---------------------------------------------------------
   Data
   --------------------------------------------------------- */

.card-notizie-passate-nitide .card-news .date {
  width: auto;

  display: flex;
  align-items: center;
  gap: 6px;

  margin: 16px 18px 10px 18px;
  padding-bottom: 10px;

  border-bottom: 1px solid #d6dfeb;

  color: #5d6b7a;

  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px;
  letter-spacing: 0.02em;

  flex: 0 0 auto;
}

.card-notizie-passate-nitide .card-news .date svg,
.card-notizie-passate-nitide .card-news .date path {
  color: #134dce;
  fill: #134dce;
}


/* ---------------------------------------------------------
   Titolo: massimo 4 righe
   --------------------------------------------------------- */

.card-notizie-passate-nitide .card-news .title {
  margin: 0 !important;
  padding: 0 18px 18px 18px !important;

  color: #1f2937;

  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.01em;

  overflow: hidden;
  text-overflow: ellipsis;

  flex: 0 0 auto;

  max-height: calc(20px * 1.32 * 4 + 18px);
  min-height: 0 !important;
}

.card-notizie-passate-nitide .card-news .title a {
  color: inherit;
  text-decoration: none;

  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;

  overflow: hidden;
  text-overflow: ellipsis;

  max-height: calc(20px * 1.32 * 4);

  transition:
    color 0.18s ease,
    text-decoration-color 0.18s ease;
}

.card-notizie-passate-nitide .card-news .title a:hover,
.card-notizie-passate-nitide .card-news .title a:focus {
  color: #134dce;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.card-notizie-passate-nitide .card-news .title a:focus-visible {
  outline: 3px solid rgba(19, 77, 206, 0.25);
  outline-offset: 4px;
  border-radius: 4px;
}


/* ---------------------------------------------------------
   Responsive tablet
   --------------------------------------------------------- */

@media (max-width: 991px) {
  .card-notizie-passate-nitide .card-news .card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  .card-notizie-passate-nitide .card-news .image {
    height: 200px;
    flex: 0 0 200px;
  }

  .card-notizie-passate-nitide .card-news .title {
    font-size: 19px;
    line-height: 1.34;

    max-height: calc(19px * 1.34 * 4 + 18px);
  }

  .card-notizie-passate-nitide .card-news .title a {
    max-height: calc(19px * 1.34 * 4);
  }
}


/* ---------------------------------------------------------
   Responsive mobile
   --------------------------------------------------------- */

@media (max-width: 767px) {
  .card-notizie-passate-nitide .lfr-layout-structure-item-card-news {
    margin-bottom: 32px !important;
  }

  .card-notizie-passate-nitide .card-news .card {
    border-radius: 12px;
  }

  .card-notizie-passate-nitide .card-news .image {
    height: 190px;
    flex: 0 0 190px;

    border-radius: 12px 12px 0 0;
  }

  .card-notizie-passate-nitide .card-news .date {
    margin: 14px 16px 10px 16px;

    font-size: 13px;
    line-height: 21px;
  }

  .card-notizie-passate-nitide .card-news .title {
    padding: 0 16px 16px 16px !important;

    font-size: 18px;
    line-height: 1.34;

    max-height: calc(18px * 1.34 * 4 + 16px);
  }

  .card-notizie-passate-nitide .card-news .title a {
    -webkit-line-clamp: 4;
    max-height: calc(18px * 1.34 * 4);
  }
}