:root{
  --primary: #3F6BAD;
  --text-main: #111827;
  --text-sub: #6b7280;
}

.sticky{position:sticky;top:0;z-index:50}
.bg-white{background:#fff}

.max-w-\[1350px\]{max-width:1350px}
.mx-auto{margin-left:auto;margin-right:auto}
.px-4{padding-left:0;padding-right:0}
.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}
.lg\:px-8{padding-left:2rem;padding-right:2rem}
.h-20{height:5rem}

.flex{display:flex}
.items-center{align-items:center}
.justify-between{justify-content:space-between}
.gap-3{gap:.75rem}

/* === LOGO === */
.header-inner img {
  width: 13rem;
  height: auto;
  object-fit: contain;
  margin-left: -10px;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .header-inner img {
    width: 13rem;
  }
}

@media (min-width: 1024px) {
  .header-inner img {
    width: 16rem;
  }
}

@media (min-width: 1280px) {
  .header-inner img {
    width: 18rem;
  }
}

/* === DESKTOP MENU === */
.desktop-menu{display:none}
@media (min-width:1024px){
  .desktop-menu{
    display:flex;
    align-items:center;
    gap: 0.25rem;
    flex: 1;
    justify-content: flex-start;
    padding-left: 1rem;
  }
}

.nav-link{
  font-size: 0.82rem;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.4rem 0.45rem;
  font-weight: 500;
}

@media (min-width: 1280px) {
  .nav-link {
    font-size: 0.88rem;
    padding: 0.4rem 0.6rem;
  }
}

.nav-link:hover{
  color: #2b5398;
}

.nav-button{
  display: inline-flex;
  align-items: center;
  gap: .2rem;
  border: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  color: var(--primary);
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}

.dropdown-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* === RIGHT ACTIONS === */
.right-actions{
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  margin-left: auto;
}

.icon-btn{background:transparent;border:none;padding:.5rem;cursor:pointer}

.contact-btn{display:none}
@media (min-width:640px){
  .contact-btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.2rem;
    padding: 0 1rem;
    background: var(--primary);
    color: #fff;
    border-radius: .5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

@media (min-width: 1280px) {
  .contact-btn {
    height: 2.5rem;
    padding: 0 1.5rem;
    font-size: 0.88rem;
  }
}

.mobile-menu-btn{display:inline-flex}
@media (min-width:1024px){
  .mobile-menu-btn{display:none}
}

/* === DROPDOWN MENU === */
.nav-dropdown{position:relative}

.group-menu{
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0;
  width: 13rem;
  background: #fff;
  border: none;
  border-radius: .5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(.5rem);
  transition: all .18s ease;
  z-index: 50;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.group-menu.wide{width: 16rem}

.nav-dropdown:hover .group-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item{
  display: block;
  padding: .55rem 1rem;
  color: #374151;
  text-decoration: none;
  font-size: 0.88rem;
}

.dropdown-item:hover{background:#f8fafc; color: var(--primary);}

/* === HEADER BACKGROUND & SHADOW === */
a{color:inherit}

header,
.header-main,
.header-container,
.header-content {
  border: none !important;
}

.header-main,
.header-container,
.header-content {
  background-color: #F7F9F7 !important;
}

.header-main {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #F7F9F7;
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.08) !important;
}

.header-container .header-content {
  box-shadow: none !important;
}

/* === HEADER HEIGHT === */
.h-20 {
  height: 5rem;
}

@media (min-width: 768px) {
  .md\:h-24 {
    height: 5.5rem;
  }
}

/* === MOBILE MENU === */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100vw;
  height: 100vh;
  transform: translateY(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 9999;
  background: #fff;
  overflow: hidden;
}

#mobile-menu-toggle:checked ~ .header-container ~ .mobile-menu-panel {
  transform: translateY(0);
}

.mobile-menu-inner {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 5rem 1.5rem 2rem;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .mobile-menu-inner {
    padding-top: 5.5rem;
  }
}

.mobile-menu-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  z-index: 10000;
  font-variation-settings: 'wght' 300;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}

.mobile-nav-link {
  display: block;
  padding: 1.25rem 0;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid #f3f4f6;
  position: relative;
}

.mobile-nav-link.primary {
  background: linear-gradient(135deg, var(--primary), #2b5398);
  color: white;
  border-radius: 0.75rem;
  text-align: center;
  font-weight: 600;
  margin-top: 1.5rem;
  padding: 1.25rem;
}

.mobile-dropdown {
  margin: 0;
}

.mobile-dropdown summary {
  list-style: none;
  cursor: pointer;
  position: relative;
}

.mobile-dropdown summary::-webkit-details-marker {
  display: none;
}

.mobile-submenu {
  margin-top: 1rem;
  padding-left: 1.5rem;
  border-left: 3px solid var(--primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-dropdown[open] .mobile-submenu {
  max-height: 500px;
}

.mobile-submenu-item {
  display: block;
  padding: 1rem 0;
  font-size: 1rem;
  color: var(--text-sub);
  text-decoration: none;
  border-bottom: 1px solid #f8fafc;
}

.mobile-submenu-item:hover {
  color: var(--primary);
  background: #f8fafc;
  padding-left: 0.5rem;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  background: #f8fafc;
  color: var(--text-main);
  cursor: pointer;
  font-size: 24px;
  font-variation-settings: 'wght' 400;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .desktop-menu {
    display: none !important;
  }
  .group-menu {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .desktop-menu {
    display: flex !important;
  }
  .mobile-menu-panel {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .right-actions {
    gap: 0.75rem;
  }
  .contact-btn {
    display: none;
  }
}

@media (min-width: 641px) {
  .contact-btn {
    display: inline-flex !important;
  }
}

/* === SR-ONLY (accessibilité) === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}







/* === HERO SECTION === */
.hero-section {
  width: 100%;
  overflow: hidden;
  background: #2A3F5F;
  font-family: system-ui, sans-serif;
  border-radius: 20px 0 0 0;
  position: relative;
}

/* === SLIDES === */
.hero-section { 
  position: relative;
  min-height: 500px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease-in-out;
  pointer-events: none;
  width: 100%;
  height: 500px;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}

@media (min-width: 768px) {
  .hero-slide {
    height: 600px;
  }
}  

/* === IMAGE/VIDEO BACKGROUND FIXE === */
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}

.hero-bg,
.hero-bg .field,
.hero-bg .field__item,
.hero-bg picture {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* CORRECTION POUR LE CHAMP VIDÉO */
.hero-bg .field--name-field-video-cover,
.hero-bg .field--name-field-video-cover .field__item {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* CORRECTION POUR TOUTES LES VIDÉOS ET IMAGES */
.hero-bg img,
.hero-video,
.hero-bg video,
.hero-bg .field--name-field-video-cover video,
.hero-bg .field--name-field-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

/* CACHER LES CHAMPS VIDES */
.hero-bg .field:empty,
.hero-bg .field:not(.has-content) {
  display: none !important;
}

/* === SOPHISTICATED OVERLAY === */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(
      to right,
      rgba(17,24,39,.95),
      rgba(42,63,95,.7),
      rgba(78,104,150,.1),
      transparent
    ),
    linear-gradient(
      to bottom,
      transparent,
      rgba(17,24,39,.3)
    );
  pointer-events: none;
}

/* === CONTENU === */
.hero-container {
  position: relative;
  z-index: 3;
  height: 100%;
  max-width: 1350px;
  margin: auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 640px;
  animation: fadeUp .8s ease-out forwards;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
  padding-bottom: 60px;
}

/* === BADGE "À LA UNE" - COIN SUPÉRIEUR DROIT === */
.hero-badge {
  position: absolute;
  top: 0;
  right: 0;
  padding: 15px 30px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border-radius: 0 0 0 20px;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(255, 133, 85, 0.9) 100%);
  color: #ffffff;
  z-index: 10;
  box-shadow: 
    0 4px 15px rgba(255, 107, 53, 0.4),
    0 0 30px rgba(255, 107, 53, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  animation: badgePulseHero 3s ease-in-out infinite;
  text-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(255, 107, 53, 0.5);
}

@keyframes badgePulseHero {
  0%, 100% {
    box-shadow: 
      0 4px 15px rgba(255, 107, 53, 0.4),
      0 0 30px rgba(255, 107, 53, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 
      0 6px 25px rgba(255, 107, 53, 0.6),
      0 0 50px rgba(255, 107, 53, 0.5),
      inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
}

/* === TITLE WITH LETTER ANIMATION - RETOUR À LA LIGNE PROFESSIONNEL === */
.hero-content h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 10px;
  overflow: hidden;
  max-height: 105px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  
  /* RETOUR À LA LIGNE PROFESSIONNEL - NE PAS COUPER LES MOTS */
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.hero-content h2 span {
  display: inline-block;
  opacity: 0;
  animation: fadeInLetter 0.05s ease-out forwards;
  
  /* Permettre le retour à la ligne naturel pour les spans */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@keyframes fadeInLetter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) { 
  .hero-content h2 {
    font-size: 40px;
    max-height: 168px;
    line-height: 1.4;
  }
}

@media (min-width: 1024px) {
  .hero-content h2 {
    font-size: 48px;
    max-height: 202px;
    line-height: 1.4;
  }
}

/* === DESCRIPTION - RETOUR À LA LIGNE PROFESSIONNEL === */
.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  color: #d1d5db;
  margin-bottom: 16px;
  max-width: 520px;
  max-height: 96px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  
  /* RETOUR À LA LIGNE PROFESSIONNEL */
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 0;
}

/* === BUTTON WITH GRADIENT BORDER AND FILL EFFECT === */
.hero-btn {
  height: 48px;
  padding: 0 32px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all .3s ease;
  border: none;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-btn.secondary {
  background: rgba(255,255,255,.05);
  color: #ffffff;
  border: 2px solid transparent;
  backdrop-filter: blur(6px);
}

.hero-btn.secondary::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  padding: 2px;
  background: linear-gradient(90deg, 
    #2563eb, 
    #60a5fa, 
    #4E6896, 
    #2563eb
  );
  background-size: 300% 100%;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: borderRotate 4s linear infinite;
  z-index: -1;
}

.hero-btn.secondary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 107, 53, 1) 0%,
  rgba(255, 133, 85, 1) 100%
  );
  transition: left 0.4s ease;
  z-index: -1;
}

.hero-btn.secondary:hover::after {
  left: 100%;
}

.hero-btn.secondary:hover {
  animation: vibrate 0.3s ease-in-out;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(37,99,235,.4);
}

@keyframes vibrate {
  0%, 100% { transform: translateY(-2px) translateX(0); }
  25% { transform: translateY(-2px) translateX(-2px); }
  75% { transform: translateY(-2px) translateX(2px); }
}

@keyframes borderRotate {
  to {
    background-position: 300% 0;
  }
}

/* === NAVIGATION ARROWS WITH GLOW === */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: 2px solid rgba(255,255,255,.2);
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  z-index: 4;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

.hero-nav:hover {
  background: rgba(37,99,235,.3);
  border-color: #2563eb;
  box-shadow: 
    0 0 20px rgba(37,99,235,.6),
    0 0 40px rgba(37,99,235,.3);
  transform: translateY(-50%) rotateY(20deg);
}

.hero-nav:active {
  transform: translateY(-50%) scale(0.95);
}

/* === PROGRESS INDICATORS === */
.hero-indicators {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
  align-items: center;
}

.hero-dot {
  height: 4px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hero-dot.active {
  width: 40px;
  background: rgba(255,255,255,.3);
}

.hero-dot.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 999px;
  animation: fillProgress 5s linear forwards;
}

.hero-dot.inactive {
  width: 24px;
}

.hero-dot:hover {
  background: rgba(255,255,255,.4);
}

@keyframes fillProgress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

/* === ANIMATION === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE === */
@media (max-width: 767px) {
  .hero-nav {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .hero-prev {
    left: 10px;
  }
  
  .hero-next {
    right: 10px;
  }
  
  .hero-badge {
    padding: 6px 14px;
    font-size: 9px;
    letter-spacing: 1.2px;
  }
  
  .hero-content {
    min-height: 280px;
    padding-bottom: 50px;
  }
  
  .hero-content h2 {
    max-height: 84px;
    -webkit-line-clamp: 3;
    font-size: 18px;
    margin-bottom: 8px;
    line-height: 1.55;
  }
  
  .hero-content p {
    font-size: 15px;
    max-height: 75px;
    -webkit-line-clamp: 3;
    margin-bottom: 12px;
    line-height: 1.65;
  }
}

/* === NEWS SECTION === */
.news-section {
  padding: 80px 20px;
  background: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.news-container {
  max-width: 1350px;
  margin: auto;
}

.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.news-header h2 {
  font-size: 32px;
  font-weight: 700;
}

.news-header p {
  color: #6b7280;
  margin-top: 8px;
}

.news-see-all {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

.news-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.news-card {
  cursor: pointer;
}

.news-image {
  height: 190px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
  transition: transform 0.5s ease;
  overflow: hidden;
}

.news-card:hover .news-image {
  transform: scale(1.1);
}

.news-card h4 {
  font-size: 18px;
  margin: 6px 0 8px;
  line-height: 1.3;
}

.news-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.4;
}

.news-tag {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 6px;
}

.news-tag.secondary {
  color: #2563eb;
  text-transform: uppercase;
}

.news-meta {
  font-size: 14px;
  color: #d1d5db;
  display: flex;
  gap: 16px;
}

.news-mobile-link {
  display: none;
  margin-top: 32px;
  text-align: center;
}

.news-mobile-link a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 767px) {
  .news-see-all {
    display: none;
  }

  .news-mobile-link {
    display: block;
  }
}
/* === TITLE WITH WORD ANIMATION - RETOUR À LA LIGNE PROFESSIONNEL === */
.hero-content h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 10px;
  overflow: hidden;
  max-height: 105px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  
  /* RETOUR À LA LIGNE PROFESSIONNEL - NE PAS COUPER LES MOTS */
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

/* Animation par MOT au lieu de par lettre */
.hero-content h2 .hero-word-animated {
  display: inline-block;
  opacity: 0;
  animation: fadeInWord 0.4s ease-out forwards;
  
  /* Permettre le retour à la ligne naturel pour les mots */
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@keyframes fadeInWord {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ANCIEN STYLE - À SUPPRIMER OU RENOMMER */
.hero-content h2 span:not(.hero-word-animated) {
  display: inline-block;
  opacity: 0;
  animation: fadeInLetter 0.05s ease-out forwards;
}

@keyframes fadeInLetter {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) { 
  .hero-content h2 {
    font-size: 40px;
    max-height: 168px;
    line-height: 1.4;
  }
}

@media (min-width: 1024px) {
  .hero-content h2 {
    font-size: 48px;
    max-height: 202px;
    line-height: 1.4;
  }
}








/* Grille pour 3 articles galerie */
.news-grid > .news-item:nth-child(1) {
  grid-column: span 2; /* Le premier prend 2 parts */
}

.news-grid > .news-item:nth-child(2),
.news-grid > .news-item:nth-child(3) {
  grid-column: span 1; /* Les deux autres prennent 1 part chacun */
}

@media (min-width: 1024px) {
  .news-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 colonnes par défaut */
  }

  /* Premier article 50% (2 colonnes), les deux autres 25% (1 colonne chacun) */
  .news-grid > .news-item:nth-child(1) {
    grid-column: span 2;
  }
   
  .news-grid > .news-item:nth-child(2),
  .news-grid > .news-item:nth-child(3) {
    grid-column: span 1;
  }
}
