.inline-related {
  background: #f5f5f5;
  border-left: 3px solid #179cde;
  padding: 12px 16px;
  margin: 24px 0;
}

.inline-related__label {
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.inline-related ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.inline-related__item {
  margin-bottom: 8px;
}

.inline-related__item:last-child {
  margin-bottom: 0;
}

.inline-related__link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
  text-decoration: none;
}

.inline-related__link:hover .inline-related__title {
  text-decoration: underline;
}

.inline-related__thumb {
  flex-shrink: 0;
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
  min-width: 40px;
  object-fit: cover;
  border-radius: 2px;
}

/* .article-content img { width: 100% } nel tema sovrascrive le thumb senza questa regola */
.article-content .inline-related .inline-related__thumb {
  width: 40px !important;
  height: 40px !important;
  max-width: 40px !important;
}

.inline-related__title {
  line-height: 1.35;
  font-size: 0.95rem;
}

#lastNews .aks-roll-skeleton {
  min-height: 0;
  line-height: 1.25;
}

#lastNews .aks-most-read-wrap {
  flex: 1;
  min-width: 0;
  min-height: 0;
}

#lastNews .aks-most-read-row {
  min-width: 0;
}

#lastNews .last-news-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

#lastNews .last-news-label-text {
  font-size: 0.875rem;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.25;
}

#lastNews .last-news-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #dc3545;
  border-radius: 50%;
  flex-shrink: 0;
  animation: aks-pulse 1.5s infinite;
}

@keyframes aks-pulse {
  0% { opacity: 0; }
  50% { opacity: 1; }
  100% { opacity: 0; }
}

#lastNews .carousel-item {
  line-height: 1.25;
}

#lastNews .aks-most-read-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  line-height: 1.25;
}

#lastNews .compact-article-date {
  position: relative;
  flex-shrink: 0;
  font-size: 0.8125rem;
  white-space: nowrap;
  padding-bottom: 2px;
}

#lastNews .compact-article-date::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #179cde;
}

#lastNews .compact-article-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.25;
}

@media (min-width: 992px) {
  #lastNews .compact-article-date {
    display: none;
  }

  #lastNews .aks-most-read-link {
    gap: 0;
  }
}

@media (max-width: 991.98px) {
  #lastNews {
    position: sticky;
    top: 0;
    z-index: 9998;
  }

  #lastNews.scroll-to-fixed-fixed {
    left: 0;
    right: 0;
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  #lastNews .last-news-label-text {
    font-size: 0.75rem;
  }

  #lastNews .compact-article-date {
    display: none;
  }

  #lastNews .compact-article-title {
    font-size: 0.8125rem;
  }

  #lastNews .aks-most-read-link {
    gap: 0;
  }

  #lastNews .aks-most-read-row {
    flex-wrap: nowrap;
  }
}

.google-preferred-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #1a1a1a;
  border-radius: 10px;
  color: #1a1a1a;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.3;
  transition: box-shadow 0.15s ease;
}

.google-preferred-cta:hover {
  color: #1a1a1a;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.google-preferred-cta--mobile {
  display: flex;
  width: 100%;
  font-size: 144%;
}

.google-preferred-cta--desktop {
  max-width: 440px;
}

.google-preferred-cta__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.google-preferred-cta__label {
  flex: 1;
  min-width: 0;
}
