#bandeauHaut {
    background-color: #F0F0F0;
}

@media (min-width: 1024px) {
    .c-navigation__link--level-1 {
        font-size: 18px;
    }
}
.c-header__logo img {
    height: 150px;
    object-fit: cover;
}

/* Cible l'élément "Urgences" dans le menu */
.c-navigation__item--level-1:last-child .c-navigation__link {
    background-color: #d0021b;
    color: #ffffff;
    padding: 10px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.c-navigation__item--level-1:last-child {
    border: none;
}

/* Effet au survol */
.c-navigation__item--level-1:last-child .c-navigation__link:hover {
    background-color: #b00117;
    transform: translateY(-2px);
}

.c-navigation__item--level-1:last-child:hover {
    border: none;
}

.s-home__section {
    max-height:350px;
}

.s-home__section img {
    border-radius:10px;
    border-bottom: #18314F solid 5px;
}

.s-home__section h3 {
    transform:translateY(-125%);
    background:rgba(255, 255, 255, 0.7);
    padding:25px;

}

.blocRechercheWrapper.visuel {
  position: relative;
  overflow: hidden; /* pour contenir le ::before si besoin */
}

.blocRechercheWrapper.visuel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #18314F;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}

.TPL_ACCESRAPIDE .s-acces-rapide .s-acces-rapide__link {
    color: #18314F;
}
.c-card__itemInfo h3 {
    font-size: 2.2rem;
    text-align: center;
}

.PRS_MISENAVANT_COULEUR1, .PRS_MISENAVANT_COULEUR2 {
    border-radius:7px;
}

.PRS_MISENAVANT_COULEUR1, .PRS_MISENAVANT_COULEUR2 h5 {
    color: #ffffff;
}

.TPL_ACCESRAPIDE {
    background: #F0F0F0;
    padding: 20px 0;
}

.blocRechercheWrapper .slogan h1 {
    font-family:"Red Hat Display", "Arial", sans-serif;
}

.s-actualite-une {
    margin: 0;
}

.c-footer {
    border-top:5px solid #0080B5;
}

.c-footer__logo-container img {
    max-width:80%;
    padding: 0rem 0rem;
}

.c-footer__infos {
    padding: 0rem 5rem;
}
.c-footer__main {
    padding: 50px 0 2rem;
    background: #18314F;
}

.s-actualite-une__niveau1__thematique, .s-actualite-une__niveau2__thematique {
        font-weight:300;
        font-size:1.6rem;
        text-transform: uppercase;
 }

@media screen and (min-width: 1025px) {
    .c-navigation__inner {
        height:70%;
        padding : 4rem;
    }
}

@media screen and (max-width: 792px) {
    #bandeauHaut .blocRechercheWrapper.visuel {
        min-height: 160px;
    }

    .c-header__inner {
        background-color: #18314F;
}



    .s-actualite-une__niveau1__thematique, .s-actualite-une__niveau2__thematique {
            font-size:1.2rem;
     }

     .s-actualite-une__niveau2 h3 a {
             font-size:1.4rem;
     }
    .c-footer__infos {
        padding: 0 1rem;
    }
    .c-navigation__link--level-2 {
        font-size:1.6rem;
    }

}


/* ACCORDEON */
details {
  border: 0;
  border-radius: 0.25rem;
  padding-bottom: 1em;
  background-color: #fff;
  overflow: hidden;

}

summary {
  font-weight: 700;
  background-color: rgba(24, 49, 79, 0.2);
  border-radius: 5px;
  padding: 2rem;
  margin-bottom: 1rem;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  position: relative;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

summary::marker {
  display: none;
}

summary::after {
  content: "›";
  position: absolute;
  right: 1rem;
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

details[open] summary::after {
  transform: rotate(90deg);
}

details[open] {
  padding: 0 0 5rem 0;
}

details:not(summary) {
  padding: 0 0 1rem 0;
}
