/* =========================
   HERO PREMIUM ACTUALITÉS
========================= */
.news-hero{
  height:70vh;
  background:url("../images/norbertine-matanda-social (5).jpg") center/cover no-repeat;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
  position:relative;
  overflow:hidden;
}

.news-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    135deg,
    rgba(0,51,153,0.88),
    rgba(0,0,0,0.75)
  );
}

.news-hero-content{
  position:relative;
  z-index:2;
  animation: fadeUp 1s ease;
}

.news-hero h1{
  font-size:70px;
  font-weight:900;
  letter-spacing:2px;
  text-transform:uppercase;
}

.news-hero p{
  margin-top:15px;
  font-size:18px;
  opacity:0.9;
}

@keyframes fadeUp{
  from{opacity:0; transform:translateY(30px);}
  to{opacity:1; transform:translateY(0);}
}

/* =========================
   FILTRES PREMIUM
========================= */
.news-filter{
  padding:50px 8%;
  text-align:center;
  background:#f9fbff;
}

.news-btn{
  padding:12px 22px;
  margin:6px;
  border:none;
  border-radius:50px;
  cursor:pointer;
  background:rgba(0,51,153,0.08);
  color:#003399;
  font-weight:600;
  transition:0.3s;
  backdrop-filter: blur(10px);
}

.news-btn:hover{
  transform:translateY(-3px);
}

.news-btn.active{
  background:#003399;
  color:#fff;
  box-shadow:0 10px 25px rgba(0,51,153,0.3);
}

/* =========================
   GRID NEWS PREMIUM
========================= */
.news-section{
  padding:100px 8%;
  background:#eef2f9;
}

.news-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

/* =========================
   CARD STYLE MAGAZINE
========================= */
.news-card{
  background:#fff;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
  /* transition:0.4s ease; */
  transition: 
    opacity 0.4s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease;
  position:relative;
}

.news-card:hover{
  transform:translateY(-10px);
  box-shadow:0 20px 45px rgba(0,0,0,0.15);
}

/* IMAGE */
.news-card img{
  width:100%;
  height:240px;
  object-fit:cover;
  transition:0.5s;
}

/* zoom image hover */
.news-card:hover img{
  transform:scale(1.1);
  filter:brightness(0.85);
}

/* CONTENT */
.news-content{
  padding:22px;
}

.news-content span{
  display:inline-block;
  font-size:13px;
  color:#003399;
  font-weight:700;
  margin-bottom:8px;
  letter-spacing:0.5px;
}

.news-content h3{
  font-size:20px;
  margin-bottom:10px;
  color:#111;
}

.news-content p{
  color:#666;
  line-height:1.6;
  font-size:14px;
}

/* READ MORE BUTTON */
.news-content a{
  display:inline-block;
  margin-top:12px;
  color:#003399;
  font-weight:700;
  text-decoration:none;
  position:relative;
}

.news-content a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-2px;
  width:0%;
  height:2px;
  background:#003399;
  transition:0.3s;
}

.news-content a:hover::after{
  width:100%;
}

/* =========================
   HIDE FILTER ANIMATION
========================= */
.news-card.hide{
  opacity:0;
  transform:scale(0.7);
  pointer-events:none;
  position:absolute;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:768px){
  .news-hero h1{
    font-size:40px;
  }

  .news-hero p{
    font-size:15px;
  }

  .news-grid{
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  }

  .news-card img{
    height:200px;
  }
}

/* =========================================
   RESPONSIVE PREMIUM - ACTUALITES
========================================= */

/* GRANDES TABLETTES */

@media(max-width:1200px){

  .news-hero h1{
    font-size:58px;
  }

}

/* TABLETTES */

@media(max-width:991px){

  /* HERO */

  .news-hero{
    height:60vh;
    padding:0 5%;
  }

  .news-hero h1{
    font-size:52px;
    line-height:1.2;
  }

  .news-hero p{
    font-size:17px;
  }

  /* FILTERS */

  .news-filter{
    padding:40px 5%;
  }

  .news-btn{
    padding:11px 20px;
    font-size:14px;
  }

  /* GRID */

  .news-section{
    padding:90px 5%;
  }

  .news-grid{
    gap:25px;
  }

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

}

/* MOBILE */

@media(max-width:768px){

  /* HERO */

  .news-hero{
    height:auto;
    min-height:55vh;
    padding:120px 5% 80px;
  }

  .news-hero-content{
    width:100%;
  }

  .news-hero h1{
    font-size:38px;
    line-height:1.3;
    letter-spacing:1px;
  }

  .news-hero p{
    font-size:15px;
    line-height:1.7;
    margin-top:12px;
  }

  /* FILTERS */

  .news-filter{
    padding:35px 5%;
  }

  .news-btn{
    width:auto;
    min-width:120px;
    font-size:14px;
    padding:11px 18px;
    margin:5px;
  }

  /* GRID */

  .news-section{
    padding:80px 5%;
  }

  .news-grid{
    grid-template-columns:1fr;
    gap:25px;
  }

  /* CARD */

  .news-card{
    border-radius:16px;
  }

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

  .news-content{
    padding:20px;
  }

  .news-content h3{
    font-size:19px;
    line-height:1.5;
  }

  .news-content p{
    font-size:14px;
    line-height:1.7;
  }

}

/* PETITS MOBILES */

@media(max-width:480px){

  .news-hero{
    padding-top:110px;
  }

  .news-hero h1{
    font-size:30px;
  }

  .news-hero p{
    font-size:14px;
  }

  /* FILTERS */

  .news-btn{
    width:100%;
    max-width:250px;
    margin:6px auto;
    display:block;
  }

  /* CARD */

  .news-card img{
    height:200px;
  }

  .news-content{
    padding:18px;
  }

  .news-content h3{
    font-size:18px;
  }

  .news-content p{
    font-size:13.5px;
  }

  .news-content a{
    font-size:14px;
  }

}

/* ULTRA PETITS ECRANS */

@media(max-width:360px){

  .news-hero h1{
    font-size:26px;
  }

  .news-hero p{
    font-size:13px;
  }

  .news-card img{
    height:180px;
  }

  .news-content h3{
    font-size:17px;
  }

}