/* In evidenza — archivio, box Home e singolo articolo. */
.ni-home-evidence-card {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 30px;
  box-sizing: border-box;
  width: min(30vw, 410px);
  min-height: 278px;
  padding: 18px 28px 24px;
  border: 2px solid var(--ni-red, #7f3040);
  border-radius: 20px;
  background: rgba(247,247,247,.95);
  box-shadow: 0 14px 28px rgba(0,0,0,.07);
  backdrop-filter: blur(2px);
}

.ni-home-evidence-card__badge {
  display: inline-block;
  margin: -2px 0 10px;
  padding: 2px 8px 4px;
  background: var(--ni-red, #7f3040);
  color: #fff;
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(23px, 2vw, 34px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.ni-home-evidence-card h2 {
  margin: 0 0 14px;
  font-size: clamp(21px, 1.6vw, 29px);
  line-height: 1.18;
  font-weight: 600;
}

.ni-home-evidence-card h2 a {
  color: var(--ni-red, #7f3040);
  text-decoration: none;
}

.ni-home-evidence-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 18px;
  color: var(--ni-grey, #575756);
  font-size: 1rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ni-home-evidence-card__more,
.ni-evidence-item__more {
  color: var(--ni-red, #7f3040);
  font-family: Oswald, Impact, sans-serif;
  font-weight: 600;
  letter-spacing: .02em;
  text-decoration: none;
  text-transform: uppercase;
}

.ni-home-evidence-card__more:hover,
.ni-evidence-item__more:hover {
  color: var(--ni-grey, #575756);
  text-decoration: underline;
}

.ni-evidence-archive {
  box-sizing: border-box;
  width: min(100%, calc(var(--ni-max, 1320px) + 60px));
  margin: 0 auto;
  padding: 66px 30px 96px;
}

.ni-evidence-item {
  padding: 0 0 38px;
  margin: 0 0 38px;
  border-bottom: 1px solid #dedede;
}

.ni-evidence-item:last-child {
  margin-bottom: 0;
}

.ni-evidence-item__date,
.ni-single-article__date {
  display: block;
  margin-bottom: 8px;
  color: var(--ni-grey, #575756);
  font-size: .95rem;
  font-weight: 600;
}

.ni-evidence-item__title {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 2.2vw, 2.55rem);
  font-weight: 600;
  line-height: 1.12;
}

.ni-evidence-item__title a {
  color: var(--ni-red, #7f3040);
  text-decoration: none;
}

.ni-evidence-item__excerpt {
  max-width: none;
  margin: 0 0 14px;
  color: #292929;
  font-size: clamp(1rem, .97rem + .16vw, 1.12rem);
  line-height: 1.65;
}

.ni-evidence-empty {
  margin: 0;
  font-size: 1.1rem;
}

.ni-single-hero h1 {
  width: auto;
  max-width: none;
  margin: 0 0 0 auto;
  color: #fff;
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(2rem, 3.2vw, 3.35rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .02em;
  text-align: right;
  text-transform: uppercase;
}

.ni-single-article {
  box-sizing: border-box;
  width: min(100%, calc(var(--ni-max, 1320px) + 60px));
  margin: 0 auto;
  padding: 62px 30px 96px;
}

.ni-single-article__title {
  margin: 0 0 28px;
  color: var(--ni-red, #7f3040);
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: 600;
  line-height: 1.08;
}

.ni-single-article__content {
  color: #292929;
  font-size: clamp(1rem, .97rem + .16vw, 1.12rem);
  line-height: 1.72;
}

.ni-single-article__content > * {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.ni-back-button {
  display: inline-block;
  margin-top: 38px;
  padding: 11px 18px;
  border: 2px solid var(--ni-red, #7f3040);
  border-radius: 5px;
  color: var(--ni-red, #7f3040);
  font-family: Oswald, Impact, sans-serif;
  font-weight: 600;
  letter-spacing: .025em;
  text-decoration: none;
  text-transform: uppercase;
}

.ni-back-button:hover,
.ni-back-button:focus {
  background: var(--ni-red, #7f3040);
  color: #fff;
}

@media (max-width: 900px) {
  .ni-home-evidence-card {
    top: 18px;
    left: 22px;
    width: min(48vw, 390px);
    min-height: 210px;
    padding: 16px 20px 20px;
  }

  .ni-home-evidence-card p {
    -webkit-line-clamp: 2;
  }

  .ni-evidence-archive,
  .ni-single-article {
    padding: 48px 24px 72px;
  }
}

@media (max-width: 680px) {
  .ni-home-evidence-card {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100% - 44px);
    min-height: auto;
    margin: 20px 22px 0;
  }

  .ni-home-logo {
    top: 250px;
  }

  .ni-home-hero,
  .ni-home-hero__inner {
    min-height: 850px;
  }
}


/* Download PDF dentro le news. */
.ni-single-article__downloads {
  margin-top: 34px;
}

.ni-pdf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 20px;
  border: 2px solid var(--ni-red, #7f3040);
  border-radius: 5px;
  background: var(--ni-red, #7f3040);
  color: #fff;
  font-family: Oswald, Impact, sans-serif;
  font-weight: 600;
  letter-spacing: .025em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}

.ni-pdf-button:hover,
.ni-pdf-button:focus {
  background: #fff;
  color: var(--ni-red, #7f3040);
  transform: translateY(-2px);
}

.ni-single-article__downloads + .ni-back-button {
  margin-left: 12px;
}

@media (max-width: 560px) {
  .ni-pdf-button,
  .ni-back-button {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .ni-single-article__downloads + .ni-back-button {
    margin-left: 0;
    margin-top: 14px;
  }
}
