/* =========================================
   HERO INTERNE : ACTUALITÉS
   ========================================= */

.pw-hero-news {
  position: relative;
  /* Plus petit que le 100vh de l'accueil, s'adapte au contenu */
  padding-top: 160px; 
  padding-bottom: 80px;
  overflow: hidden;
  color: var(--white, #FFFFFF);
  /* On garde le même fond que l'accueil */
  background: linear-gradient(135deg,  var(--primary) 0%, #137CB4 100%);
}

.pw-hero-news-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Texte aligné à gauche */
}

/* CONTENU TEXTE */
.pw-hero-news .pw-hero-content-news {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  max-width: 700px; /* Plus large vu qu'il n'y a pas d'image à droite */
}

.pw-hero-news h1 {
  color: var(--white, #FFFFFF);
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.12;
  letter-spacing: -2px;
  font-weight: 800;
  margin: 0;
}

.pw-hero-news p {
  max-width: 650px;
  margin-top: 24px;
  color: var(--white, #FFFFFF);
  font-size: clamp(16px, 1.1vw, 20px);
  line-height: 1.5;
  font-weight: 500;
  opacity: 0.95;
}

/* PARTICULES SPECIFIQUES A CETTE SECTION */
.pw-particles-news {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

/* Particules spécifiques à cette section */
.pw-news-dot {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: #FFFFFF;
  opacity: 0.65;
  animation-name: pwFloat;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes pwFloat {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(var(--move-x), var(--move-y), 0); }
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .pw-hero-news {
    padding-top: 130px;
    padding-bottom: 60px;
  }
  .pw-hero-news h1 {
    font-size: clamp(38px, 8vw, 58px);
  }
}

@media (max-width: 580px) {
  .pw-hero-news h1 {
    letter-spacing: -1.5px;
  }
}

























/* =========================================
   FILTRES DE CATÉGORIES — ACTUALITÉS
   ========================================= */

.news-filters {
  background: #ffffff;
  padding: 28px 0;
  border-bottom: 1px solid #eef1f6;
  font-family: 'Gevora Regular', 'Poppins', sans-serif;
}

.news-filters-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* LISTE DE PILLS */
.news-filters-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px;
}
.news-filters-list::-webkit-scrollbar {
  display: none;
}

/* PILL */
.news-filter-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: #ffffff;
  border: 1px solid #e3e7ee;
  border-radius: 999px;
  color: #0F2341;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Gevora Regular', 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.news-filter-pill:hover {
  border-color: #137CB4;
  color: #137CB4;
  transform: translateY(-1px);
}

.news-filter-pill.is-active {
  background: #EAF7FE;
  border-color: #137CB4;
  color: #137CB4;
  font-weight: 600;
}

/* DROPDOWN CATEGORIES */
.news-filters-dropdown {
  position: relative;
  flex-shrink: 0;
}

.news-filters-dropdown-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: transparent;
  border: none;
  color: #0F2341;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Gevora Regular', 'Poppins', sans-serif;
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.news-filters-dropdown-btn:hover {
  background: #f5f7fa;
}

.news-filters-dropdown-icon {
  width: 16px;
  height: 16px;
}

.news-filters-dropdown-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.news-filters-dropdown-btn[aria-expanded="true"] .news-filters-dropdown-chevron {
  transform: rotate(180deg);
}

/* MENU */
.news-filters-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid #eef1f6;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 35, 65, 0.10);
  padding: 8px;
  margin: 0;
  list-style: none;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.news-filters-dropdown-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.news-filters-dropdown-item {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Gevora Regular', 'Poppins', sans-serif;
  color: #0F2341;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.news-filters-dropdown-item:hover {
  background: #EAF7FE;
  color: #137CB4;
}

.news-filters-dropdown-item.is-active {
  background: #EAF7FE;
  color: #137CB4;
  font-weight: 600;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .news-filters-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .news-filters-dropdown {
    align-self: flex-end;
  }
}

@media (max-width: 580px) {
  .news-filters {
    padding: 20px 0;
  }
  .news-filter-pill {
    padding: 9px 16px;
    font-size: 13px;
  }
}















/* =========================================
   GRILLE D'ARTICLES — ACTUALITÉS
   ========================================= */

.news-grid-section {
  padding: 60px 0 80px 0;
  background: #FFFFFF;
  font-family: 'Gevora Regular', 'Poppins', sans-serif;
}

/* Grille */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Carte */
.news-grid-card {
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-grid-card:hover {
  transform: translateY(-8px);
}

.news-grid-thumb {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f0f4f8;
  border-radius: 20px;
}

.news-grid-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-grid-card:hover .news-grid-thumb img {
  transform: scale(1.05);
}

.news-grid-content {
  padding: 24px 8px;
}

.news-grid-category {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #137CB4;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.news-grid-card-title {
  font-size: 19px;
  font-weight: 700;
  color: #0F2341;
  line-height: 1.35;
  margin: 0 0 10px;
}

.news-grid-date {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #5b6b7e;
  margin-bottom: 12px;
}

.news-grid-card-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: #5b6b7e;
  margin: 0 0 16px;
}

.news-grid-link {
  font-size: 15px;
  font-weight: 700;
  color: #1C6DD0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-grid-link:hover {
  color: #137CB4;
}

/* =========================================
   PAGINATION & ARCHIVES
   ========================================= */

.news-pagination-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 60px;
  padding-top: 32px;
  border-top: 1px solid #eef1f6;
}

/* Pagination */
.news-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.news-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  background: #FFFFFF;
  border: 1px solid #e3e7ee;
  border-radius: 10px;
  color: #0F2341;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Gevora Regular', 'Poppins', sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
}

.news-page-btn:hover:not(:disabled):not(.is-active) {
  border-color: #137CB4;
  color: #137CB4;
  transform: translateY(-2px);
}

.news-page-btn.is-active {
  background: #1C6DD0;
  border-color: #1C6DD0;
  color: #FFFFFF;
  cursor: default;
}

.news-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.news-page-btn svg {
  width: 18px;
  height: 18px;
}

/* Archives */
.news-archives {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-archives-label {
  font-size: 14px;
  color: #5b6b7e;
}

.news-archives-select-wrap {
  position: relative;
}

.news-archives-select {
  appearance: none;
  -webkit-appearance: none;
  padding: 10px 38px 10px 18px;
  background: #f8fafd;
  border: 1px solid #e1e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #1C6DD0;
  font-family: 'Gevora Regular', 'Poppins', sans-serif;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

.news-archives-select:hover,
.news-archives-select:focus {
  border-color: #137CB4;
}

.news-archives-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  width: 8px;
  height: 8px;
  border-right: 2px solid #1C6DD0;
  border-bottom: 2px solid #1C6DD0;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-grid-thumb {
    height: 200px;
  }
  .news-pagination-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .news-archives {
    flex-wrap: wrap;
  }
}