/* ===================== RESPONSIVE DESIGN - ACTUALITES ===================== */

/* Tablettes */
@media (max-width: 1024px) {
  .news-header h1 {
    font-size: 1.8rem;
  }

  .news-description {
    font-size: 0.95rem;
  }

  .search-wrapper {
    left: 10rem;
  }

  .news-container {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
  }

  .news-card.featured {
    grid-column: span 1;
  }

  .news-card.featured .news-card-image {
    height: 300px;
  }

  .news-card.featured .news-card-title {
    font-size: 1.6rem;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header {
    padding: 1rem;
    height: 120px;
    min-height: 120px;
  }

  .header-user {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex !important;
  }

  .search-wrapper {
    position: absolute;
    bottom: -30px;
    left: 0.5rem;
    right: 0.5rem;
    height: auto;
    z-index: 15;
  }

  .news-header h1 {
    font-size: 1.6rem;
  }

  .news-description {
    font-size: 0.9rem;
  }

  .news-main {
    padding: 1.5rem 1rem;
    margin-top: 30px;
  }

  .news-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
  }

  .news-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .news-card-image {
    height: 220px;
  }

  .news-card.featured .news-card-image {
    height: 250px;
  }

  .news-card-title {
    font-size: 1.3rem;
  }

  .news-card.featured .news-card-title {
    font-size: 1.5rem;
  }

  .news-card-content {
    padding: 1.5rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-newsletter {
    flex-direction: column;
  }

  .footer-newsletter button {
    width: 100%;
  }
}

/* Petits mobiles */
@media (max-width: 480px) {
  .news-header h1 {
    font-size: 1.4rem;
  }

  .news-description {
    font-size: 0.85rem;
  }

  .news-header {
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
  }

  .news-card-meta {
    gap: 1rem;
  }

  .news-badge {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }
}
