/* Sidebar sticky: sotto la testata fissa */
.elementor-192 .elementor-element.elementor-element-758ad61.elementor-sticky--active,
.elementor-192 .elementor-element.elementor-element-9e619ae.elementor-sticky--active {
  top: 110px !important;
}

@media (max-width: 1024px) {
  .elementor-192 .elementor-element.elementor-element-758ad61.elementor-sticky--active,
  .elementor-192 .elementor-element.elementor-element-9e619ae.elementor-sticky--active {
    top: 80px !important;
  }
}

/* Fallback sticky CSS se Elementor JS non applica offset */
@media (min-width: 1025px) {
  .elementor-192 .elementor-element.elementor-element-9e619ae {
    position: sticky;
    top: 110px;
    align-self: flex-start;
  }
}

/* Related news: anteprima + separatori */
.rogi-related-heading {
  margin: 0 0 0.75rem;
  padding: 0 0 0.65rem;
  font-family: "Poppins", Sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #004494;
  border-bottom: 2px solid #004494;
}

.rogi-related-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 0 !important;
  grid-template-columns: none !important;
}

.rogi-related-list .rogi-related-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  width: 100% !important;
  margin: 0 !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid #d7dee7;
}

.rogi-related-list .rogi-related-item:last-child {
  border-bottom: 0;
  padding-bottom: 0 !important;
}

.rogi-related-list .rogi-related-item:first-child {
  padding-top: 0 !important;
}

.rogi-related-list .elementor-post__thumbnail__link,
.rogi-related-list .elementor-post__thumbnail {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0 0 10px !important;
  border-radius: 8px;
  overflow: hidden;
  background: #eef2f6;
}

.rogi-related-list .elementor-post__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rogi-related-list .rogi-related-thumb-empty {
  background:
    linear-gradient(135deg, #eef2f6 25%, #e5e7eb 25%, #e5e7eb 50%, #eef2f6 50%, #eef2f6 75%, #e5e7eb 75%);
  background-size: 10px 10px;
}

.rogi-related-list .elementor-post__text {
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
}

.rogi-related-list .elementor-post__title {
  margin: 0 !important;
  width: 100% !important;
  font-size: 0.95rem !important;
  line-height: 1.35 !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: unset !important;
}

.rogi-related-list .elementor-post__title a {
  display: block;
  width: 100%;
  text-decoration: none;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.rogi-related-list .elementor-post__title a:hover {
  text-decoration: underline;
}

.rogi-related-all {
  margin: 1.25rem 0 0;
  text-align: center;
}

.rogi-btn-vedi-tutte {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.7rem 1.25rem;
  background: #004494;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  border-radius: 6px;
  transition: background .2s ease, filter .2s ease;
}

.rogi-btn-vedi-tutte:hover {
  background: #003675;
  filter: brightness(1.05);
}
