.a-nativey {
  position: relative;
  overflow: hidden;
  text-align: left;
}

.a-nativey__details {
  display: none;
}

.a-nativey__media {
  position: relative;
  grid-area: media;
  padding-top: 56.25%;
}

.a-nativey__media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
}

.a-nativey__text {
  grid-area: text;
  background-color: var(--background-color);
  padding: 0.75rem 0;
}

.a-nativey__details {
  display: none;
}

.a-nativey__cta {
  align-self: flex-start;
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  border-radius: 40px;
  background-color: #148be6;
  box-shadow: 0 0 0 1px var(--btn-color);
  color: #fff;
  font-family: var(--font-sans-grotesk);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: calc(1em + 4px);
  cursor: pointer;
}

.a-nativey__label {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #e91f63;
  font-family: var(--font-sans-grotesk);
  font-weight: 700;
  font-size: 0.75rem;
  line-height: calc(1em + 4px);
  text-transform: uppercase;
}

.a-nativey__title {
  display: block;
  display: -webkit-box;
  margin-bottom: 0.5rem;
  overflow: hidden;
  color: var(--link-color-dark);
  text-decoration: none;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  font-family: var(--font-serif-display);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: calc(1em + 4px);
}

.a-nativey__title:hover {
  color: #808080;
}

@media screen and (min-width: 400px) {
  .a-nativey__title {
    line-clamp: 4;
    -webkit-line-clamp: 4;
  }
}
.a-nativey__info {
  align-self: flex-end;
  color: var(--body-secondary-color);
  font-family: var(--font-sans-grotesk);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: calc(1em + 4px);
}

.a-nativey__abstract {
  padding: 0;
  display: none;
}

body.content.single #striscia-item-2 .a-nativey__abstract {
  display: block;
}

.a-nativey__event {
  display: none;
}

.a-nativey[data-position=event] {
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 450px;
  max-height: 100vh;
  gap: 0;
}

.a-nativey[data-position=event] .a-nativey__title {
  font-size: clamp(1.25rem, 6vh, 2rem);
  font-family: var(--font-serif-display);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: calc(1em + 4px);
}

[data-homepage] .a-nativey {
  display: flex;
  flex-direction: column;
  min-height: 50vh;
  height: 100%;
}

[data-homepage] .a-nativey .a-nativey__media {
  min-height: 50%;
  padding-top: inherit;
}

[data-homepage] .a-nativey .a-nativey__text {
  position: relative;
}

[data-model*=articolo][data-homepage] .a-nativey .a-nativey__media, [data-model*=articolo] [data-position=event] .a-nativey .a-nativey__media {
  margin-bottom: 2rem;
}

[data-position=article] .a-nativey .a-nativey__text {
  height: 100vh;
}

[data-zone*="item/evento"] [data-position=event] .a-nativey .a-nativey__text {
  position: relative;
  flex: 1;
  max-height: 100%;
  background-color: #f3f3f3;
}

[data-zone*="item/evento"] [data-position=event] .a-nativey .a-nativey__title {
  font-family: var(--font-sans-grotesk);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: calc(1em + 4px);
}

[data-zone*="item/evento"] [data-position=event] .a-nativey .a-nativey__event {
  display: block;
}

[data-zone*="item/evento"] [data-position=event] .a-nativey .a-nativey__label {
  position: absolute;
  top: -2.3rem;
  left: 0.75rem;
  padding: 0.25rem 0.5rem;
  background-color: #e91f63;
  color: #fff;
}

[data--amp-ad] .a-nativey {
  position: relative;
  height: 100%;
  margin: 0;
}

[data--amp-ad] .a-nativey .a-nativey__text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
}

[data--amp-ad] .a-nativey .a-nativey__title {
  font-size: 1rem;
  line-height: calc(1rem + 2px);
}

[data--amp-ad] .a-nativey .a-nativey__cta {
  margin-bottom: 0;
  font-size: 0.8rem;
}

[data--amp-ad] .a-nativey .a-nativey__info {
  font-size: 0.6rem;
}

.a-nativey .o-faux-link {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 992px) {
  .l-grid--native:has(> .l-grid__item:not(:empty) ~ .l-grid__item:not(:empty) ~ .l-grid__item:not(:empty)) .a-nativey {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    min-height: auto;
  }
  .l-grid--native:has(> .l-grid__item:not(:empty) ~ .l-grid__item:not(:empty) ~ .l-grid__item:not(:empty)) .a-nativey__media {
    width: 50%;
    height: 100%;
    aspect-ratio: 1;
    padding: 0;
  }
  .l-grid--native:has(> .l-grid__item:not(:empty) ~ .l-grid__item:not(:empty) ~ .l-grid__item:not(:empty)) .a-nativey__text {
    display: block;
    position: relative;
  }
  .l-grid--native:has(> .l-grid__item:not(:empty) ~ .l-grid__item:not(:empty) ~ .l-grid__item:not(:empty)) .a-nativey__title {
    display: -webkit-box;
  }
  .l-grid--native:has(> .l-grid__item:not(:empty)):not(:has(> .l-grid__item:not(:empty) ~ .l-grid__item:not(:empty))) .a-nativey__media {
    flex: 1;
  }
  .l-grid--native:has(> .l-grid__item:not(:empty)):not(:has(> .l-grid__item:not(:empty) ~ .l-grid__item:not(:empty))) .a-nativey__title {
    font-family: var(--font-serif-display);
    font-weight: 500;
  }
  .l-grid--native:has(> .l-grid__item:not(:empty)):not(:has(> .l-grid__item:not(:empty) ~ .l-grid__item:not(:empty))) .a-nativey__title {
    font-size: 1.5rem;
    line-height: calc(1em + 4px);
  }
}
[data-model*=articolo] .a-nativey__text:not(.c-entry *),
[data-model*=articolo] [data-position=event] .a-nativey__text {
  position: relative;
  bottom: 1rem;
  width: 100%;
}

[data-homepage] [data-position=event] .a-nativey__text,
[data-homepage] .a-nativey__text {
  position: absolute;
  bottom: 0;
  background-color: var(--background-color);
}

.c-entry .a-nativey {
  padding: 0.5rem;
  border: 1px solid var(--divider-color);
  background-color: var(--background-color);
}

.c-entry .a-nativey__label {
  display: none;
}

.c-entry .a-nativey__details {
  display: flex;
  flex-direction: column;
  margin-top: 0.5rem;
}

@media screen and (min-width: 740px) {
  .c-entry .a-nativey {
    display: flex;
    flex-direction: row;
    margin: 0.75rem auto;
    padding: 0.5rem;
    border: 1px solid var(--divider-color);
    background-color: var(--background-color);
    gap: 1rem;
  }
  .c-entry .a-nativey__media {
    flex: 0 0 auto;
    width: 32%;
    height: 100%;
    aspect-ratio: 16/9;
    padding: 0;
  }
  .c-entry .a-nativey__media img {
    position: static;
  }
}
@media (prefers-color-scheme: dark) {
  [data-zone*="item/evento"] [data-position=event] .a-nativey__text {
    background-color: rgba(255, 255, 255, 0.1);
  }
}
@media only screen and (max-width: 739px) {
  [data-homepage] .a-nativey {
    height: 100%;
    min-height: calc(50vh - 50px);
    background-color: var(--background-color);
  }
}
.c-card .a-nativey__text {
  flex-grow: 1;
}