/* Styles pour le système de flux RSS avec hauteur réduite */
.articles-grid {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: hidden;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

.articles-container {
  position: relative;
  padding: 0 3rem;
}

.article-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 320px;
  display: flex;
  flex-direction: column;
  min-width: 300px;
  width: 300px;
  flex-shrink: 0;
}

.article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Badge de catégorie */
.category-badge {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  display: inline-block;
  margin-right: 0.5rem;
}

.category-badge.ios {
  background-color: #0ea5e9;
  color: white;
}

.category-badge.hardware {
  background-color: #f97316;
  color: white;
}

.navigation-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  border: none;
  transition: background-color 0.2s ease;
}

.navigation-button:hover {
  background-color: rgba(240, 240, 240, 0.9);
}

.navigation-button.prev {
  left: 0;
}

.navigation-button.next {
  right: 0;
} 