/* =========================================================================
   Helios — card-01 anatomy (clone live .card-01_component)
   Restyles promo / news / related / hub / product cards.
   Append-only companion to pages.css + promo.css; does not delete locator,
   appointment, hub or T14 rules.
   Tokens: #25303a / #7f868d / #6489ab / #e1e9f1 — titles weight 400.
   ========================================================================= */

.card-01,
.promo-card,
.news-card,
.related__card,
.svc-card,
.promo-teaser__card {
  background: #fff;
  color: var(--ink, #25303a);
  border-radius: 8px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 15px rgba(0, 0, 0, .10);
  min-width: 0;
}

.card-01--flat,
.related__card,
.svc-card {
  border: 1px solid var(--line, #e1e9f1);
  box-shadow: none;
  height: auto;
}

a.card-01,
a.promo-card,
a.news-card,
a.related__card,
a.svc-card {
  color: inherit;
}

/* Image mask — live .image_mask aspect 3/2 */
.image_mask,
.promo-card__media,
.news-card__media,
.svc-card__media,
.promo-teaser__card > img,
.promo-teaser__card .image_mask {
  aspect-ratio: 3 / 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.image_mask img,
.promo-card__media img,
.news-card__media img,
.svc-card__media img,
.promo-teaser__card > img,
.image-fit-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.promo-card:hover .image_mask img,
.promo-card:hover .promo-card__media img,
.news-card:hover .image_mask img,
.svc-card:hover .image_mask img {
  transform: scale(1.04);
}

/* Body */
.card_text_wrapper,
.promo-card__body,
.news-card__body,
.svc-card__body,
.promo-teaser__copy {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1.5rem;
  text-decoration: none;
}

.card_info {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: flex-start;
  align-items: flex-start;
  gap: .25rem;
  align-self: stretch;
  position: relative;
}

.card_heading,
.news-card h3,
.related__card h3,
.svc-card__title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--ink, #25303a);
}

.promo-card__title,
.promo-teaser__name,
.hero .promo-card__title {
  margin: 0;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -.01em;
  color: #fff;
}

.promo-card__title,
.news-card h3.card_heading {
  margin-top: .35rem;
}

.text-color-light,
.promo-card__excerpt,
.card_paragraph,
.svc-card__text,
.related__card p,
.promo-teaser__text {
  margin: 0;
  color: var(--muted, #7f868d);
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 400;
}

.card_paragraph {
  padding-bottom: .5rem;
  margin-bottom: auto;
}

/* Hover arrow — live .arrow */
.card-01 .arrow,
.news-card .arrow,
.related__card .arrow,
.svc-card__title svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: auto;
  margin-left: auto;
  opacity: 0;
  transition: opacity .2s ease;
  color: var(--ink, #25303a);
  flex: none;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.card-01:hover .arrow,
.news-card:hover .arrow,
.related__card:hover .arrow,
.svc-card:hover .svc-card__title svg {
  opacity: 1;
}

/* =========================================================================
   CTA / BUTTON
   Testo forzato bianco su stato normale, visitato, hover, focus e active.
   ========================================================================= */

.btn,
.promo-card__cta,
.promo-teaser__card .btn,
.card-01 .btn.card-01__cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: .55rem 1.75rem;
  background: #25303a;
  color: #ffffff !important;
  border: 1px solid #ffffff;
  border-radius: 8px;
  font-family: var(--display);
  font-size: 16.8px;
  font-weight: 500;
  letter-spacing: var(--ls);
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: background .2s ease, color .2s ease, border-color .2s ease, gap .2s ease, box-shadow .2s ease;
}

.btn:link,
.btn:visited,
.btn:hover,
.btn:focus,
.btn:focus-visible,
.btn:active,
.promo-card__cta:link,
.promo-card__cta:visited,
.promo-card__cta:hover,
.promo-card__cta:focus,
.promo-card__cta:focus-visible,
.promo-card__cta:active,
.promo-teaser__card .btn:link,
.promo-teaser__card .btn:visited,
.promo-teaser__card .btn:hover,
.promo-teaser__card .btn:focus,
.promo-teaser__card .btn:focus-visible,
.promo-teaser__card .btn:active,
.card-01 .btn.card-01__cta:link,
.card-01 .btn.card-01__cta:visited,
.card-01 .btn.card-01__cta:hover,
.card-01 .btn.card-01__cta:focus,
.card-01 .btn.card-01__cta:focus-visible,
.card-01 .btn.card-01__cta:active {
  color: #ffffff !important;
  text-decoration: none;
}

.btn:hover,
.btn:focus,
.btn:focus-visible,
.btn:active,
.promo-card__cta:hover,
.promo-card__cta:focus,
.promo-card__cta:focus-visible,
.promo-card__cta:active,
.promo-teaser__card .btn:hover,
.promo-teaser__card .btn:focus,
.promo-teaser__card .btn:focus-visible,
.promo-teaser__card .btn:active,
.card-01 .btn.card-01__cta:hover,
.card-01 .btn.card-01__cta:focus,
.card-01 .btn.card-01__cta:focus-visible,
.card-01 .btn.card-01__cta:active,
.card-01:hover .btn.card-01__cta,
.promo-card:hover .promo-card__cta {
  background: #383e44;
  border-color: #383e44;
  color: #ffffff !important;
}

/* CTA della pagina Whistleblowing: priorità massima */
.page-testo .testo__article a.btn,
.page-testo .testo__article a.btn:link,
.page-testo .testo__article a.btn:visited,
.page-testo .testo__article a.btn:hover,
.page-testo .testo__article a.btn:focus,
.page-testo .testo__article a.btn:focus-visible,
.page-testo .testo__article a.btn:active {
  background: #25303a;
  color: #ffffff !important;
  border: 1px solid #ffffff;
  text-decoration: none;
}

.page-testo .testo__article a.btn:hover,
.page-testo .testo__article a.btn:focus,
.page-testo .testo__article a.btn:focus-visible,
.page-testo .testo__article a.btn:active {
  background: #383e44;
  border-color: #383e44;
  color: #ffffff !important;
}

/* Hero homepage: i CTA restano outline trasparenti sulla foto. */
.hero .promo-card__cta {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff !important;
}

.hero .promo-card__cta:hover,
.hero .promo-card__cta:focus,
.hero .promo-card__cta:active,
.hero .promo-card:hover .promo-card__cta {
  background: #25303a;
  border-color: #25303a;
  color: #ffffff !important;
}

/* Promo ribbon = live .card_date */
.card_date,
.promo-card__ribbon,
.promo-card__date {
  position: absolute;
  top: .75rem;
  right: .75rem;
  margin: 0;
  padding: .25rem .5rem;
  border-radius: 4px;
  background-image: linear-gradient(225deg, #3b454e, #515961);
  color: #fff;
  font-size: .75rem;
  line-height: 1.2;
  letter-spacing: .02em;
  text-transform: none;
  display: flex;
  align-items: center;
  z-index: 2;
}

/* Promo tags — live outline pills */
.card_tags,
.promo-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
  margin: 0;
  justify-content: flex-start;
  align-self: flex-start;
}

.promo-card__tags span,
.card_tags span,
.promo_tag {
  height: 1.4rem;
  padding: .12rem .5rem;
  border: 0;
  border-radius: 20px;
  color: rgb(255, 255, 255);
  font-size: .75rem;
  line-height: 1;
  font-weight: 300;
  letter-spacing: .04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

/* -------- Promo slider / archive -------- */
.promo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: stretch;
}

.promo-card,
.card-01--slider {
  width: 20vw;
  min-width: 16rem;
  max-width: 24rem;
  min-height: 450px;
  flex: 1 1 16rem;
}

.promo-card .promo-card__media {
  aspect-ratio: 3 / 2;
}

.promo-card__body {
  gap: 1.5rem;
}

.promo-card__excerpt {
  flex: 1;
}

/* Promo teaser (dark band) — same anatomy */
.promo-teaser__card {
  display: flex;
  flex-direction: column;
  max-width: 24rem;
  min-width: 16rem;
  min-height: 450px;
  margin-top: 1.5rem;
}

.promo-teaser__card > img {
  aspect-ratio: 3 / 2;
  width: 100%;
  object-fit: cover;
}

.promo-teaser__copy {
  gap: .5rem;
}

.promo-teaser__name {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
}

.promo-teaser__card .btn {
  margin-top: auto;
}

/* -------- News cards (archive + strip) -------- */
.news-grid,
.news-grid--archive,
.newsstrip__list--cards,
.card-list--news {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.news-card,
.newsstrip__list--cards .newsstrip__item,
.newsstrip__list--cards .news-card {
  width: 100%;
  min-width: 0;
  max-width: none;
  min-height: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
}

.news-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.news-card .image_mask,
.newsstrip__list--cards .image_mask {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.news-card .card_text_wrapper,
.news-card__body {
  padding: 1rem 0 0;
  gap: .5rem;
  background: transparent;
}

.news-card.is-featured {
  grid-column: auto;
}

.news-card.is-featured .card_heading {
  font-size: 1.5rem;
}

.news-card.is-featured p {
  display: none;
}

.card_header {
  z-index: 2;
  margin-bottom: .5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .25rem 1.5rem;
  align-self: stretch;
}

.news_tag,
.news-tag {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .75rem;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink, #25303a);
}

.news_tag_square,
.news-tag__dot {
  aspect-ratio: 1;
  width: 1em;
  height: 1em;
  border-radius: 2px;
  background: #25303a;
  flex: none;
  display: inline-block;
}

.news-tag--gas .news-tag__dot,
.news-tag--gas .news_tag_square,
[data-brand="gas"] .news-tag__dot {
  background: #158aff;
}

.news-tag--luce .news-tag__dot,
.news-tag--elettricita .news-tag__dot,
.news-tag--elettricità .news-tag__dot,
[data-brand="luce"] .news-tag__dot {
  background: #ffd62c;
}

.news-tag--green .news-tag__dot,
.news-tag--sostenibilita .news-tag__dot,
.news-tag--sostenibilità .news-tag__dot,
.news-tag--efficienza .news-tag__dot,
[data-brand="green"] .news-tag__dot {
  background: #2ae845;
}

.news-tag--energia .news-tag__dot,
.news-tag--helios-energia .news-tag__dot,
[data-brand="energia"] .news-tag__dot {
  background: #ffd62c;
}

.news_date,
.news-date,
.newsstrip__date {
  color: #7c8389;
  font-size: .875rem;
  display: inline-flex;
  margin-left: auto;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.news-card .card_heading,
.newsstrip__title {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 400;
}

.newsstrip__list--cards .newsstrip__item {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.newsstrip__list--cards .newsstrip__item a,
.newsstrip__list--cards .news-card__link {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  grid-template-columns: none;
}

.newsstrip__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line, #e1e9f1);
  margin-bottom: 1.5rem;
}

/* -------- Related / plant / product -------- */
.related__cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  align-items: stretch;
}

.related__card {
  padding: 0;
  min-height: 0;
}

.related__card .card_text_wrapper {
  padding: 1.5rem;
}

.related__card h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin: 0 0 .35rem;
}

.related__card p {
  font-size: 1.05rem;
  color: var(--muted, #7f868d);
}

.svc-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  align-items: stretch;
}

.svc-grid--plain {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.svc-card {
  min-height: 0;
  padding: 0;
  justify-content: flex-start;
}

.svc-card__media {
  margin: 0;
  aspect-ratio: 3 / 2;
  width: 100%;
}

.svc-card__media img {
  height: 100%;
  border-radius: 0;
  object-fit: cover;
}

.svc-grid--logos .svc-card__media,
.svc-grid--plain .svc-card__media {
  aspect-ratio: auto;
  padding: 1.5rem 1.5rem 0;
}

.svc-grid--logos .svc-card__media img,
.svc-grid--plain .svc-card__media img {
  height: 4.5rem;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  background: transparent;
}

.svc-card__body {
  padding: 1.5rem;
  gap: .5rem;
}

.svc-card__title {
  font-size: 1.5rem;
  font-weight: 400;
  align-items: flex-start;
}

.svc-card__title svg {
  opacity: 0;
}

.svc-card:hover .svc-card__title svg {
  opacity: 1;
  transform: none;
}

/* Hub split pills — white cards + arrow */
.hub-split__pill {
  background: #fff;
  color: var(--ink, #25303a);
  border-radius: 8px;
  padding: .85rem 1.15rem;
  box-shadow: 0 8px 15px rgba(0, 0, 0, .06);
  font-weight: 400;
}

.hub-split__pill:hover {
  background: #fff;
  color: #6489ab;
}

.hub-split {
  border-radius: 14px;
}

.band {
  border-radius: 14px;
}

/* =========================================================================
   T8 — Archivio Notizie
   ========================================================================= */

.news-archive .news-hero {
  padding: calc(var(--header, 137px) + clamp(1.5rem, 1rem + 2vw, 3rem)) var(--pad, 64px) 1.5rem;
}

.news-hero__kicker {
  margin: 0 0 .5rem;
  font-size: .95rem;
  line-height: 1.2;
  font-weight: 400;
  color: var(--muted, #7f868d);
}

.news-hero__title {
  margin: 0;
  font-family: var(--display, Inter, sans-serif);
  font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.025em;
  color: var(--ink, #25303a);
  max-width: 18ch;
  text-wrap: balance;
}

.news-filters {
  padding: 0 var(--pad, 64px) clamp(2rem, 1.5rem + 3vw, 4rem);
}

.news-filters__search {
  position: relative;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line, #e1e9f1);
  margin-bottom: 1.25rem;
}

.news-filters__search input {
  width: 100%;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 1.05rem;
  padding: 1rem 2.75rem 1rem 0;
  color: var(--ink, #25303a);
  outline: none;
}

.news-filters__search input::placeholder {
  color: var(--muted, #7f868d);
}

.news-filters__search input:focus {
  border-color: var(--ink, #25303a);
}

.news-filters__icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  color: var(--ink, #25303a);
  pointer-events: none;
}

.news-filters__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem 1rem;
}

.news-filters__label {
  margin: 0;
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted, #7f868d);
}

.news-chip {
  border: 1px solid var(--line, #e1e9f1);
  background: #fff;
  color: var(--ink, #25303a);
  border-radius: 999px;
  padding: .45rem .9rem;
  font: 500 .82rem / 1 var(--body, Ubuntu, sans-serif);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.news-chip.is-on,
.news-chip:hover {
  background: var(--ink, #25303a);
  color: #fff;
  border-color: var(--ink, #25303a);
}

.news-archive__grid {
  padding: 0 var(--pad, 64px) clamp(2.5rem, 1.5rem + 4vw, 5rem);
}

.news-archive .news-grid {
  gap: 2.5rem 1.5rem;
}

.news-archive .navigation.pagination {
  padding: 0 var(--pad, 64px) clamp(2rem, 1.5rem + 3vw, 4rem);
}

.news-archive .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  font-size: 1rem;
  color: var(--muted, #7f868d);
}

.news-archive .nav-links .page-numbers {
  color: var(--muted, #7f868d);
  text-decoration: none;
  min-width: 1.25rem;
  text-align: center;
}

.news-archive .nav-links .page-numbers.current {
  color: var(--ink, #25303a);
}

.news-archive .nav-links .next,
.news-archive .nav-links .prev {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--ink, #25303a);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink, #25303a);
}

.news-archive .nav-links .next:hover,
.news-archive .nav-links .prev:hover {
  background: #6489ab;
  border-color: #6489ab;
  color: #fff;
}

.news-card.is-hidden,
.promo-card.is-hidden {
  display: none;
}

.news-grid .news-card {
  box-shadow: none;
  background: transparent;
}

/* =========================================================================
   T3 — Plant / related
   ========================================================================= */

.related {
  display: grid;
  gap: clamp(1.5rem, 1rem + 3vw, 3rem);
  grid-template-columns: minmax(16rem, .42fr) minmax(0, 1.15fr);
  align-items: start;
  border-top: 1px solid var(--line, #e1e9f1);
}

.related__copy .kicker,
.related__copy .heading-xsmall {
  font-size: .75rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted, #7f868d);
  margin: 0 0 .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--line, #e1e9f1);
}

.related__copy .band__title,
.related .band__title--sm {
  font-family: var(--display, Inter, sans-serif);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.01em;
  margin: 0;
}

.related__cards {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .35rem;
  scrollbar-width: none;
  align-items: stretch;
}

.related__cards::-webkit-scrollbar {
  display: none;
}

.related__card.card-01--flat,
.related__card {
  flex: 0 0 auto;
  width: 20vw;
  min-width: 16rem;
  max-width: 24rem;
  min-height: 14rem;
  height: auto;
  scroll-snap-align: start;
  border: 1px solid var(--line, #e1e9f1);
  box-shadow: none;
  background: #fff;
  border-radius: 8px;
  padding: 0;
}

.related__card .card_text_wrapper {
  padding: 1.5rem;
  gap: .5rem;
  min-height: 14rem;
}

.related__card .card_heading,
.related__card h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 400;
  margin: 0;
}

.related__card .card_paragraph,
.related__card p {
  color: var(--muted, #7f868d);
  font-size: 1.05rem;
  line-height: 1.4;
  margin: 0;
  padding-bottom: .5rem;
}

.related__card .arrow {
  opacity: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: auto;
  margin-left: auto;
}

.related__card:hover .arrow {
  opacity: 1;
}

.related__card .image_mask {
  aspect-ratio: 3 / 2;
  width: 100%;
  border-radius: 8px 8px 0 0;
}

.related--plain {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.related--plain .related__copy .band__title {
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2rem);
  max-width: 22ch;
}

.related--plain .related__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  overflow: visible;
}

.related--plain .related__card,
.related--plain .related__card.card-01--flat {
  width: 100%;
  max-width: none;
  min-width: 0;
}

/* =========================================================================
   Homepage Service Cards ("Di cosa hai bisogno?") - Live Webflow Match
   ========================================================================= */

.card_list.is-home {
  grid-column-gap: var(--_token-values---slider--gap, 1.5rem);
  grid-row-gap: var(--_token-values---slider--gap, 1.5rem);
  flex-flow: wrap;
  justify-content: center;
  align-items: stretch;
  max-width: 100%;
  display: flex;
  margin-left: auto;
}

.card_row {
  grid-column-gap: var(--_token-values---slider--gap, 1.5rem);
  grid-row-gap: var(--_token-values---slider--gap, 1.5rem);
  flex-flow: wrap;
  flex: 1;
  display: flex;
  width: 100%;
  margin-top: 5px;
}

.card-01_component.is-flat {
  border: 1px solid var(--_token-colors---border--border, #e1e9f1);
  border-radius: 12px;
  height: auto;
  box-shadow: none;
  flex: 1;
  min-width: 16rem;
  background-color: #fff;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), box-shadow .3s ease, border-color .3s ease;
}

.card-01_component.is-flat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
}

.card_text_wrapper {
  width: 100%;
  padding: var(--space--medium, 1.5rem);
  grid-column-gap: var(--space--medium, 1.5rem);
  grid-row-gap: var(--space--medium, 1.5rem);
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  display: flex;
}

.card_info {
  grid-row-gap: var(--space--xxsmall, .5rem);
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
  align-self: stretch;
  align-items: flex-start;
  text-decoration: none;
  display: flex;
  position: relative;
  width: 100%;
  min-height: 11.5rem;
}

.card_text {
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
}

.card_heading {
  font-size: var(--_typography---heading--medium, 1.5rem);
  line-height: 1.2;
  font-weight: 400;
  color: var(--ink, #25303a);
}

.arrow.is-flat {
  opacity: .8;
  justify-content: flex-start;
  align-items: flex-end;
  margin-top: auto;
  position: absolute;
  inset: auto auto 0 0;
  width: 1.35rem;
  height: 1.35rem;
  color: var(--ink, #25303a);
  transition: opacity .25s ease, transform .25s ease;
}

.card-01_component.is-flat:hover .arrow.is-flat {
  opacity: 1;
  transform: translate(3px, -3px);
}

.card_image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  align-self: flex-end;
  margin-top: auto;
  margin-left: auto;
  position: relative;
}

.image-fit-contain {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity .3s ease, transform .3s ease;
}

.image-fit-contain.is-hover {
  z-index: 30;
  opacity: 0;
  position: absolute;
  inset: 0;
}

.card-01_component:hover .image-fit-contain.is-hover {
  opacity: 1;
}

.card-01_component:hover .card_image > .image-fit-contain:not(.is-hover) {
  opacity: 0;
}

/* Screen-reader helper used by T8 pagination */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =========================================================================
   Responsive
   ========================================================================= */

@media (max-width: 1550px) {
  .news-grid,
  .news-grid--archive,
  .newsstrip__list--cards,
  .card-list--news {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .news-grid,
  .news-grid--archive,
  .newsstrip__list--cards,
  .card-list--news,
  .svc-grid--plain {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promo-card,
  .card-01--slider {
    width: auto;
    max-width: none;
  }

  .news-hero,
  .news-filters,
  .news-archive__grid,
  .news-archive .navigation.pagination {
    padding-inline: var(--pad, 20px);
  }
}

@media (max-width: 900px) {
  .related {
    grid-template-columns: 1fr;
  }

  .related__card,
  .related__card.card-01--flat {
    width: min(20rem, 80vw);
  }
}

@media screen and (max-width: 767px) {
  .card-01_component.is-flat {
    min-width: 100%;
  }

  .card_info {
    min-height: 9rem;
  }
}

@media (max-width: 640px) {
  .news-grid,
  .news-grid--archive,
  .newsstrip__list--cards,
  .card-list--news,
  .svc-grid--plain,
  .related__cards {
    grid-template-columns: 1fr;
  }

  .promo-grid {
    flex-direction: column;
  }

  .promo-card,
  .card-01--slider {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .news-hero__title {
    font-size: 2.2rem;
  }

  .card_heading,
  .promo-card__title,
  .news-card h3,
  .related__card h3,
  .svc-card__title {
    font-size: 1.35rem;
  }
}

@media screen and (max-width: 479px) {
  .card_image {
    width: 88px;
    height: 88px;
  }
}
/* Hero offers are content-sized, independent of archive card heights. */
.hero .promo-card { height: auto; min-height: 0; width: auto; min-width: 0; max-width: none; flex: 0 0 calc((100% - 24px) / 2); padding: 24px; }
.hero .promo-card__cta { margin-top: auto; }
@media (min-width: 1400px) { .hero .promo-card { flex-basis: calc((100% - 48px) / 3); } }

/* Homepage: service heading size and spacing. */
.home #scopri-di-piu .heading-large {
  font-size: 1.25em;
  line-height: 1.3;
  margin-bottom: 12px;
}

