.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: sticky;
  top: 90px;
  align-self: start;
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  border-left: 4px solid var(--accent);
  padding-left: 12px;
}

.sidebar-article-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 16px;
}

.sidebar-article-item img {
  width: 65px;
  height: 65px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.sidebar-article-item p {
  font-size: 0.9rem;
  line-height: 1.35;
  margin: 0 0 4px 0;
  font-weight: 500;
}

.sidebar-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* =====================================================
   ESPACE PARTENAIRE — ÉTIRÉ VERTICALEMENT
===================================================== */
.sidebar-pub {
  background: var(--bg-card);
  border: 1px dashed rgba(229, 9, 20, 0.35);
  border-radius: 14px;
  padding: 28px 20px;

  /* ← C'EST ICI QUE ÇA SE PASSE */
  min-height: 400px;          /* Hauteur minimale généreuse */
  flex: 1;                    /* S'étire pour remplir l'espace disponible */

  max-width: 250px;  /* ← réduire ici largeur */
  margin: 0 auto;    /* ← centrer dans la sidebar */
   width: 100%;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;

  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.sidebar-pub:hover {
  border-color: rgba(229, 9, 20, 0.6);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.08);
}

/* Motif de fond subtil */
.sidebar-pub::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(229, 9, 20, 0.015) 10px,
    rgba(229, 9, 20, 0.015) 20px
  );
  pointer-events: none;
}

.sidebar-pub strong {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
}

.sidebar-pub p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* Icône placeholder */
.sidebar-pub::after {
  content: "📢";
  font-size: 2rem;
  opacity: 0.25;
  display: block;
  margin-top: 8px;
}

.sidebar-article-item {
  display: flex;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 18px;
  transition: transform 0.2s;
}

.sidebar-article-item:hover {
  transform: translateX(4px);
}

.sidebar-article-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.sidebar-article-item p {
  font-size: 0.92rem;
  line-height: 1.35;
  margin: 0 0 5px 0;
  font-weight: 500;
}

.sidebar-date {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.sidebar-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 18px;
  padding-left: 12px;
  border-left: 4px solid var(--accent);
}

/* Version mobile */
@media (max-width: 900px) {
  .article-sidebar {
    position: static;
    order: 3;
  }
}
