/* Fil d'actualité */

.ld-news-feed {
  background-color: var(--ld-white);
  border: 1px solid var(--ld-border);
  border-radius: 16px;
  overflow: hidden;
}

.ld-news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 25px;
  border-bottom: 1px solid var(--ld-border);
  transition: background-color 0.2s ease;
}

.ld-news-item:last-child {
  border-bottom: none;
}

.ld-news-item:hover {
  background-color: #F1F5F2;
}

/* Numérotation */

.ld-news-number {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -1px;
  color: #748B80;
  min-width: 40px;
}

/* Article */

.ld-article {
  flex: 1;
  min-width: 0;
  height: 100%;
}

.ld-article-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  color: var(--ld-text);
}

.ld-article-content {
  flex: 1;
  min-width: 0;
}

.ld-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  font-size: 12px;
  color: var(--ld-muted);
  margin-bottom: 7px;
}

.ld-article-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.ld-article-row:hover .ld-article-title {
  color: var(--ld-primary);
  text-decoration: underline;
}

/* Flèche */

.ld-article-arrow {
  color: var(--ld-primary);
  font-size: 23px;
  flex-shrink: 0;
}

/* Source */

.ld-news-source {
  color: var(--ld-muted);
  font-size: 12px;
  margin-top: 12px;
}

/* Articles en dehors du fil d'actualité */

.ld-article:not(.ld-news-item .ld-article) {
  background-color: var(--ld-white);
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius);
  padding: 0 20px;
}

/* Responsive */

@media (max-width: 768px) {

  .ld-news-item {
    gap: 12px;
    padding: 0 15px;
  }

  .ld-news-number {
    font-size: 22px;
    min-width: 28px;
  }

  .ld-article-row {
    gap: 10px;
    padding: 18px 0;
  }

  .ld-article-title {
    font-size: 15px;
  }

  .ld-article-meta {
    font-size: 11px;
  }

  .ld-article-arrow {
    font-size: 19px;
  }
}
/* Actualités institutionnelles */

.ld-institutional-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #EDF3EE;
  color: var(--ld-primary);
  border-radius: 10px;
}

@media (max-width: 768px) {

  .ld-institutional-icon {
    width: 36px;
    height: 36px;
  }

  .ld-institutional-icon svg {
    width: 20px;
    height: 20px;
  }
}
