/* Réinitialisation des styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


/* Body */

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: 'Roboto', sans-serif;
  margin: 0;
  font-size: 16px;
}

h1{
  font-size: 37px;
  font-weight: bold;
  background-color: #2c3e50;
  padding: 30px;
  color: #fff;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

h2, h3{
  font-weight: bold;
}

ul{
  list-style-type: none;
}

.container {
  width: 100%; 
  max-width: 1200px; 
  margin: 0 auto;
  padding: 0 15px;
}

.container p {
  text-align: justify;
}



/* Header */
.site-header {
  background-color: #f5f5f5;
  padding: 20px;
  display: flex;
  justify-content: space-between;
}

.custom-logo-link img {
  max-width: 200px;
  height: auto;
  flex-shrink: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  flex-grow: 1;
  align-items: center;
}

.navbar ul {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0;
  margin: 0;
  padding-left: 35px;
}

.navbar li {
  margin: 0 15px;
}

.navbar li a {
  color: #333;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
}

.navbar li a:hover,
.navbar li a:focus {
  color: #f28482;
}

.search-container {
  display: flex;
  align-items: center;
}

#searchform {
  display: flex;
  align-items: center;
}

#s {
    padding: 10px;
    margin-right: 10px;
    border: none;
    border-radius: 32px;
    padding-left: 36px;
}

.search-input {
  padding-left: 30px; 
  position: relative;
}

#searchsubmit {
    background-color: #22577A;
    color: #fff;
    border: none;
    border-radius: 32px;
    padding: 10px 20px;
}

#searchsubmit:hover {
  background-color: #38A3A5;
}


.search-icon {
  position: absolute;
  margin-left: 9px;
  margin-top: 2px;
  color: #aaa;
  width: 20px;
}



/* Site Title */
.site-title {
  text-align: center;
  color: #fff;
  font-size: 26px;
}

.image-container {
  position: relative;
}

.image-container img {
  width: 70%;
  display: flex;
  height: 600px;
  margin-bottom: 10px;
}

.text-overlay {
    position: absolute;
    right: 7rem;
    background-color: #22577A;
    color: white;
    padding: 20px;
    width: 50%;
    box-sizing: border-box;
    text-align: left;
    top: 26rem;
    display: flex;
    flex-direction: column;
    gap: 35px;
    
}

.text-overlay {
  opacity: 0;
}


.text-overlay h2{
    font-size: 32px;
    position: relative;
    padding-bottom: 10px;
}

.text-overlay h2:after {
    content: '';
    position: absolute;
    left: 0px;
    bottom: 0px;
    top: 50px;
    height: 5px;
    width: 50px;
    background-color: #38A3A5;
    border-radius: 60px;
}

.text-overlay p{
    font-size: 20px;
    line-height: 28px
}

.title-team-container{
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 30px;
  width: fit-content;
  margin-top: 40px;
}


.team-title {
  position: relative;
  font-size: 32px;
  margin-top: 50px;
}

.team-title::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  bottom: -10px; 
  height: 4px; 
  width: 100%;
  background: linear-gradient(to right, orangered, #7f46b8, #6576d4, #ffd500);
  border-radius: 30px;
}


.teams-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
  margin-bottom: 10px;
}

.team-content{
    display: flex;
    flex-direction: column;
    gap: 20px;
    line-height: 30px;
    margin-top: 30px;
}

.team-content p{
    font-size: 18px;
    line-height: 30px;
    text-align: justify;
    margin-top: 20px;
    margin-bottom: 30px;
}


.team-content a:hover{
    opacity: 0.6;
    transition: 0.3s;
}

.team {
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}



.team:hover {
  border-width: 0.1rem;
  opacity: 0.6;
  transition: 0.3 ease-in-out;
}

.team h3 {
  margin-top: 0;
  color: #fff;
}



.team p {
  color: #666; 
}

#cost{
  background-color: orangered;
  color: #fff;
}

#emam{
  background-color: #7f46b8;
  color: #fff;

}

#date{
  background-color: #6576d4;
  color: #fff;
}

#lat{
  background-color: #ffd500;
  color: #fff;
}

#umr{
  background-color: #b91c1c;
  color: #fff;
}

#doctorant{
  background-color: #38A3A5;
  
}


#post-doctorant{
  background-color: navy;
  
}

#ancien-doctorant{
  background-color: darkgreen;
  
}


#enseignant-chercheur{
  background-color: darkseagreen;
  
}

#chercheur{
  background-color:salmon ;
  
}

#ita-biatss{
  background-color: #ff7f50;
  
}

#membre-associe{
  background-color: #ff7f50;
  
}

.actu-title h2{
  font-size: 32px;
  margin-bottom: 20px;
  margin-top: 50px;
  display: flex;
  align-items: center;
}

.actu-title img{
  width: 6%;
  padding-right: 10px;
}




.actu-a-container{
  display: flex;
  justify-content: center;

}

.actu-a{
  display: flex;
  justify-content: center;
  margin-top: 20px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  color: #fff;
  background-color: #22577A;
  padding: 15px;
  width: fit-content;
  margin-bottom: 30px;
  border-radius: 10px;

}

.actu-a:hover{
  opacity: 0.8;
  color: #fff;
  transition: 0.3s;
}

.category-links{
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  font-size: 100%;
  text-align: center;
  align-items: center;
  flex-wrap: wrap;
}

.category-links a{
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  padding: 7px 30px;
  background-color: darkmagenta;
  border-radius: 10px;
}

.category-links a:hover{
    color: #007acc;
    background-color: #f5f5f5;
}


.category-title  {
  color: darkmagenta;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 32px;
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 30px;
}

.category-title h2{
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.view-page{
  text-decoration: none;
  padding: 5px;
}

.view-page:hover{
  opacity: 0.8;
  color: #fff;
  transition: 0.3s;
  background-color: darkmagenta;
}

.activites-container {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.activite-title a{
  text-decoration: none;
  color: #333;
  font-size: 20px;
}

.activite-title a:hover{
  color: #007acc;
}

.activite-excerpt {
  margin-top: 10px;
  font-size: 16px;
  color: #666;
}



.category-container {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.activite-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media screen and (max-width: 768px) {
  .category-container {
      width: 100%;
  }
}


/* Single Page */

.single-document-container {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  text-align: justify;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.1);
  margin-top: 30px;
  min-height: 100vh;
}

.doc-title {
  font-size: 2.2em;
  color: #333;
  margin: 30px 0;
  text-align: center;
}

.single-document-container h2 {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 10px;
}

.single-document-container .document-description {
  font-size: 1.2em;
  margin-bottom: 20px;
}

.single-document-container .document-meta {
  font-size: 1.1em;
  margin-bottom: 10px;
}

.single-document-container .document-meta span {
  font-weight: bold;
}

.single-document-container .document-content {
  font-size: 1.1em;
  line-height: 1.6;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.single-document-container .document-content p {
    margin-bottom: 10px;
}

.single-document-container .document-content p img {
  display: flex;
  justify-content: center;
  margin: 0 auto;
  
}

.single-document-container .document-content a {
  color: #007BFF;
  text-decoration: none;
}

.single-document-container .document-content a:hover {
  text-decoration: underline;
}

.site-content.flex-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: space-between;
}




/* Styles pour la page de présentation */

.page-content {
  background-color: #f9f9f9;
  font-family: Arial, sans-serif;
}

.presentation-title {
  font-size: 2em;
  text-align: center;
}

.presentation-text {
    font-size: 1.2em;
    line-height: 1.5;
    margin-bottom: 1em;
    color: #333;
    margin-top: 3rem;
}

.presentation-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2em;
}

.tabcontent{
    display: flex;
    flex-direction: column;
    gap: 20px;
}



.presentation-list a {
  text-decoration: none;
}


.presentation-banner img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 2em;
}



.links-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin: 40px;
  gap: 60px;
  margin-top: 50px;
}

.pdf-links,
.team-links {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 50%;
}

.links-container h3{
  font-size: 18px;
}

.links-container ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.links-container a {
  color: #007BFF;
  text-decoration: none;
  padding: 20px;
  background-color: gainsboro;
  border-radius: 15px;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 19px;
}

.links-container a:hover {
  opacity: 0.8;
  background-color: #007BFF;
  color: #fff;
  transition: 0.3s;
}



/* Styles pour les publications */
.publication-title {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
}

.publication-url {
  color: #666;
  font-size: 14px;
  margin-bottom: 20px;
}

.publication-url a {
  color: #666;
  text-decoration: none;
}



.horizontal-rule {
  border: none;
  border-top: 1px solid #ccc;
  margin: 20px 0;
}




/* Team Links */
.team-links {
  display: flex;
  justify-content: center;
}

.team-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 25px;
}

.team-links ul li {
  margin: 0 10px;
}

/* Team Card */
.team-card {
  position: relative;
  width: 100%;
  height: 300px;
  box-shadow: 0 2px 8px hsl(0deg 0% 1% / 50%);
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover .team-card-overlay {
  opacity: 1;
}

.team-card-overlay h3 {
  color: #fff;
  font-size: 18px;
  text-align: center;
  padding: 10px;
}

/* slider */

.h2-slider{
    padding: 20px;
    font-size: 32px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding-left: 10px;
}


.slider-container {
  position: relative;
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
}

.slider {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 59.25%; 
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-position: no-repeat;
  opacity: 0;
  transition: opacity 1s;
}

.slide:first-child {
  opacity: 1;
  z-index: 1; 
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  padding: 8px;
  color: white;
  text-align: center;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  transition: background .3s ease;
  z-index: 2;
  
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

.slider-arrow-left {
  left: 1px;
  display: flex;
  justify-content: center;
  align-items: center;

}

.slider-arrow-right {
  right: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider-dots {
  position: absolute;
  bottom: 9.5px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.slider-dot {
  width: 12px;
  height: 12px;
  margin: 0 4px;
  background: white;
  border-radius: 50%;
  transition: background .3s ease;
  cursor: pointer;
}

.slider-dot.active {
  background: black;
}

.slide-content {
      position: absolute;
    bottom: 40px;
    left: 20px;
    right: 20px;
    background-color: black;
    color: white;
    padding: 20px;
    border-radius: 30px;
    width: fit-content;
    opacity: 0.9;
}

.slide-content h3 {
  margin: 0;
  font-size: 20px;
}

.slide-content p {
  margin: 10px 0 0;
  font-size: 16px;
}

.slide-content a{
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
}

.slide-content a:hover{
  color: #007acc;
}



/* Recent Posts */
.recent-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.recent-posts,
.recent-books {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.center-book{
  display: flex;
  justify-content: center;
}

.book-a{
    display: flex;
    padding: 15px;
    background-color: #fff;
    width: fit-content;
    text-decoration: none;
}

.recent-posts h2,
.recent-books h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 25px;
  box-shadow: 0 -20px 0 gray inset, 0 5px 0 lawngreen;
  color: floralwhite;
  width: fit-content;
}

.post {
  border: 1px solid #ccc;
  padding: 20px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 2px 8px hsl(0deg 0% 1% / 50%);
}

.post:first-child {
  grid-column: 1 / -1;
}

.post h3 {
  font-size: 18px;
  margin-top: 0;
}

.post-date {
  font-size: 14px;
  color: #999;
  margin-bottom: 10px;
}

.post-excerpt {
  margin-top: 10px;
}
/* Ouvrages List */
.ouvrages-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 60px;
  margin-bottom: 30px;
  list-style-type: none;
  margin-top: 30px;
}

.ouvrage-item {
  background-color: #fff;
  padding: 20px;
  list-style-type: none;
  width: 100%;
  box-shadow: 0 2px 8px hsl(0deg 0% 1% / 15%);
  display: flex;
  flex-direction: column;
  justify-content: space-between; 
  gap: 15px;
  border-radius: 15px;
  transition: box-shadow 0.3s ease-in-out;
}

.ouvrage-item:hover {
  box-shadow: 0 4px 16px hsl(0deg 0% 1% / 30%);
}

.ouvrage-thumbnail {
  width: 100%;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center; 
  justify-content: center; 
  background: #f5f5f5;
}

.ouvrage-thumbnail img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.ouvrage-title {
  color: #333;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
}

.ouvrage-title a{
  color: #333;
  text-decoration: none;
}

.ouvrage-title a:hover{
  color: #007acc;
}




/* Search Results */
.search-results h3 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

.search-results h3 a {
  color: #333;
  text-decoration: none;
}

.search-results h3 a:hover {
  color: #007acc;
}

.search-results h2 {
  margin-left: 5%;
  margin-top: 20px;
}

.result-search {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  margin-bottom: 15px;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 2px 8px hsl(0deg 0% 1% / 15%);
  width: 50%;
  align-items: center;
}

.result-search-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.search-no-results p {
  color: #333;
  font-size: 1.2em;
}



/* Footer */

.site-footer {
  margin-top: auto;
  background-color: #2c3e50;
  color: #fff;
  padding: 30px 0;
  text-align: center;
}

.footer-content{
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap; 
}

.site-footer .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer h4 {
  font-size: 18px;
  padding: 20px;
}

.access-quick{
  color: #fff;
}


.site-footer a:hover {
  color: #3498db; 
  transition: 0.3s;
}

.social-icons img:hover {
  transition: 0.3s ease-in-out;
  background-color: black;
}

.social-icons img {
    border-radius: 40%;
    transition: 0.5s;
    width: 40px;
    height: 40px;
    border: 1px solid #e8e8e838;
    padding: 6px;
}

.site-footer .social-icons a {
  margin: 0 10px;
}

.sep{
  color: black;
}


/* partenaires */
.partners-container {
  background-color: #f5f5f5;
  box-sizing: border-box;
  margin-top: 40px;
}

.partners-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 1.8em;
    padding-top: 20px;
}

.partners-and-tutelles {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    margin-bottom: 10px;
}

.tutelles, .partners {
  display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 0px 10px 0px 10px;
    box-sizing: border-box;
    flex-wrap: wrap;
}


.tutelles {
  flex: 2 1 0;
  border-right: 1px solid #ccc;
}

.partners {
  flex: 1 1 0;
}

.tutelles h3, .partners h3 {
  width: 100%;
  margin-bottom: 10px;
  font-size: 1.5em;
}

.tutelles .tutelle, .partners .partner {
    box-sizing: border-box;
    margin: 10px;
    text-align: center;
    flex: 1 1 auto;
}

.tutelles img, .partners img {
  max-width: 120px;
  height: auto;
}

.tutelle img:hover, .partner img:hover {
  opacity: 0.8;
  transition: 0.5s;
}






/* Page de l'annuaire */

.filter-submit {
  padding: 5px;
  border: none;
  border-radius: 5px;
  color: #fff;
  background-color: #22577A;
}

.filter-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  align-items: center;
  border-radius: 20px;
  margin-bottom: 20px;
}

.filter-section select {
  padding: 4px;
  border-radius: 5px;
}

.equipe-container {
  margin: 30px 0;
  padding: 20px;
  border-radius: 10px;
  background-color: #f5f5f5;
}

.equipe-container h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

.membres-container {
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  grid-gap: 30px;
}

.annuaire-item {
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  max-width: 360px;
  
}

.annuaire-item a:hover {
  text-decoration: underline;
}

.statut-container {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.annuaire-statut {
  color: #fff;
  width: fit-content;
  padding: 4px;
  margin: 7px;
  border-radius: 5px;
  margin-bottom: 5px;
}

.annuaire-thumbnail {
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.annuaire-thumbnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.annuaire-no-thumbnail {
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 35px;
  font-size: 1.5rem;
}

.annuaire-no-thumbnail i {
  font-size: 40px;
  color: #888;
}

.annuaire-content {
  margin-top: 10px;
  text-align: center;
}

.annuaire-content h3 {
  margin: 0;
}

.annuaire-content a {
  color: #333;
  text-decoration: none;
}

.annuaire-description {
  padding: 0.5rem;
  color: gray;
}


.membres-list {
  list-style-type: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 30px;
  margin-bottom: 30px;
}



.annuaire-container {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
}

/* presentation equipe */


.team-tabs {
  display: flex;
  justify-content: space-around;
  padding: 20px 0;
  background-color: #f8f8f8;
  border-bottom: 1px solid #e5e5e5;
}

.team-tabs button {
  padding: 10px 20px;
  font-size: 1.2rem;
  color: #444;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.team-tabs button:hover, .team-tabs button:active {
  background-color: #e5e5e5;
}

.responsable {
  font-size: 1.2rem;
  text-align: center;
}

.responsable a{
  text-decoration: none;
  padding: 4px;
  border-radius: 2px;
}

.tabcontent {
  margin-bottom: 30px;
  padding: 20px 0;
}

.tabcontent h2{
  color: #444;
  margin-bottom: 30px;
  margin-top: 30px;
}

.tabcontent h4{
  color: #444;
  margin-bottom: 15px;

}

.tabcontent p {
  color: #666;
  line-height: 1.6;
}

.membres-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.membre-item {
  flex-basis: calc(33.3333% - 20px);
  margin-bottom: 20px;
}

.news-item {
  position: relative;
  background-position: center center;
  margin-bottom: 20px;
}



.item-desc-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.item-line {
  height: 2px;
  
}

.news-title {
  margin-bottom: 10px;
}

.news-item-button {
  align-self: flex-end;
  background-color: #fff;
  color: #444;
  padding: 10px 15px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.news-item-button:hover {
  background-color: #f8f8f8;
}

.axe-link{
  text-decoration: none;
}

.content-container{
    display: flex;
    flex-direction: column;
    gap: 25px;
    font-size: 18px;
    line-height: 30px;
    padding: 50px;
    text-align: justify;
}

/* Style pour le sous-titre de la page */
.page-subtitle p {
  color: #666;
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 40px;
}


.section-title h2 {
  color: #444;
  font-size: 2em;
  border-bottom: 1px solid #aaa;
  margin-top: 40px;
  margin-bottom: 20px;
}


/* Membre Page */

.membre-container {
  display: flex;
  margin-top: 40px;
  margin-bottom: 40px;
}

.membre-thumbnail {
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
  border-radius: 20%;
  flex: 0 0 200px;
  margin-right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.membre-thumbnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 10%;
}

.membre-info {
    flex-grow: 1;
    flex-basis: 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    line-height: 15px;
}

/*.membre-info img{
  width: 4rem;
}*/

.labels-container {
  margin-bottom: 10px;
}

.label {
  display: inline-block;
  background-color: #22577A;
  color: #fff;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 4px;
  margin-right: 5px;
  margin-bottom: 5px;
}

.label.label-equipe {
  background-color: #E35442;
}

.label.label-statut {
  background-color: #8BC34A;
}

.membre-info h2 {
  color: #666;
  font-size: 1.4em;
  margin-top: 20px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  line-height: 30px;
}

.membre-info p {
  color: #666;
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.membre-info p a {
  text-decoration: none;
  font-weight: bold;
  color: #22577A;
  display: flex;
  align-items: center;
  gap: 10px;
}

.membre-info p a:hover {
  text-decoration: underline;
}

.labels-container span {
  font-weight: bold;

}

/* Contact Page */

.contact-container {
  display: grid;
  padding: 20px;
  margin-bottom: 30px;
}

.contact-container strong {
  font-weight: bold;
}

.contact-section-one {
  grid-area: info;
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  line-height: 30px;
}

.contact-section {
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  line-height: 35px;
  margin-bottom: 20px;
  margin-top: 45px;

}

.contact-team{
  display: flex;
  gap: 10px;
}

.contact-section-map h2{
    text-align: center;
    font-size: 22px;
    padding: 20px;
    margin-top: 20px;
}

.contact-section p{
  text-align: center;
  font-size: 18px;
}


.contact-section-map {
  grid-area: map;
}

.contact-section-map iframe {
  width: 100%;
  height: 450px;
}



/* memtions legales */


.mentions-legales-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
}

.mentions-legales-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.mentions-legales-subtitle {
  font-size: 20px;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 10px;
}

.mentions-legales-text {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}




/* Contrats Page */


.financement-filter{
  padding: 4px;
  border-radius: 5px;
}

.contrats-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
  margin-top: 30px;
}

.contrat-item {
  margin-bottom: 30px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contrat-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #333;
}

.contrat-title a {
  text-decoration: none;
  color: #333;
}

.contrat-content {
    line-height: 1.5;
    color: #666;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.filter-section-contrats{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 35px;
    gap: 15px;
}


.contrat-item {
  position: relative;
}

.financement-container {
    position: absolute;
    top: 0;
    border-radius: 3px;
    right: 0;
}

.contrat-financement {
  color: #fff;
  padding: 5px;
  border-radius: 3px;
}



#anr {
  background-color: #22577A;
}

#europe {
  background-color: #E35442;
} 

#autres {
  background-color: #8BC34A;
}

#region {
  background-color: #F28482;
}
/* Styles communs aux articles */

.news-container, .front-news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    grid-gap: 20px;
    padding-top: 15px;
    padding-bottom: 20px;
}


.news-container h1, .front-news-container h2 {
  font-size: 52px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  margin-bottom: 30px;
}

.news-item {
  position: relative;
  background-color: white;
  border-radius: 5px;
  box-shadow: 0px 2px 5px rgba(0,0,0,.1);
  overflow: hidden;
  min-height: 320px;
  background-position: top;
  background-size: contain;
  background-repeat: no-repeat;
  transition: .3s;
}

.news-item img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-title {
  padding: 10px;
  font-size: 20px;
  color: #333;
  transition: color .3s ease-in-out;
  margin-bottom: 10px;
}

.news-title a {
  text-decoration: none;
  color: #333;
  font-size: 82%;
}

.item-line {
  width: 100%;
  height: 7px;
  background-color: #09BC8A;
}

.item-desc-container {
    position: absolute;
    bottom: 0px;
    background-color: white;
    transform: translateY(53%);
    transition: transform .3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    text-align: center;
}

.item-desc-container:hover {
  transform: translateY(0);
}

.news-item p {
  font-size: 16px;
  color: #666;
  padding: 0px 10px;
  line-height: 20px;
}

.news-item-button {
  background-color: #09BC8A;
  padding: 5px 20px;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  width: fit-content;
  align-self: flex-end;
  margin-right: 20px;
  margin-bottom: 5px;
}

.news-item-button:hover {
  background-color: #007BFF;
  transition: .3s;
}
/* Styles spécifiques à la page des actualités */


.load-more {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

.load-more-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #22577A;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  border: none;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.load-more-button:hover {
  opacity: 0.8;
  transition: 0.3s;
}

.news-container {
  padding-top: 30px;
}


  /* evenements */

  .evenements-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
    margin-top: 30px;
  }
  
  .evenement-item {
    margin-bottom: 30px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  
  .evenement-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
  }
  
  .evenement-title a {
    text-decoration: none;
    color: #333;
  }
  
  .evenement-content {
    line-height: 1.5;
    color: #666;
  }
  
  /* revue de presse */
  
  .pesse-flex-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

.presse-item {
  margin-bottom: 30px;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.presse-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #333;
}

.presse-title a {
  text-decoration: none;
  color: #333;
}

.presse-content {
  line-height: 1.5;
  color: #666;
}


  .articles-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
  }
  
  .articles-list li {
  background-color: #fff;
  padding: 15px;
  list-style-type: none;
  width: 50%;
  border-radius: 15px;
  box-shadow: 0 2px 8px hsl(0deg 0% 1% / 15%);
  display: flex;
  flex-direction: column;
  }
  
  .articles-list h3 {
  margin: 0;
  font-size: 20px;
  }
  
  .articles-list p {
  margin: 10px 0;
  }
  
  .articles-list a {
  display: inline-block;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  }

/* pagination */

.pagination-container .pagination {
  display: flex;
  justify-content: center;
  padding: 3em 0;
}

.pagination-container .pagination a {
  margin: 0 0.5em;
  padding: 0.5em 1em;
  background: #eeeeee;
  text-decoration: none;
  color: #333333;
  border-radius: 5px;
}

.pagination-container .pagination .current {
  margin: 0 0.5em;
  padding: 0.5em 1em;
  background: #333;
  text-decoration: none;
  color: #eeeeee;
}



/* Responsivité */



@media screen and (max-width: 1200px) {
  h1, h2, h3 {
    font-size: 100%;
  }
}

@media screen and (max-width: 992px) {
  body, p, li {
    font-size: 90%;
  }


  

  .news-container img {
    width: 100%;
  }

  .slider-container, .slider-container .swiper-slide {
    height: 182px;
  }
  
  .slider-container{
    width: 96%; 
  }

  .navbar{
    display: block;
  }

  .navbar ul {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin-bottom: 15px;
  }

  #searchform {
    display: flex;
    align-items: center;
    margin-top: 15px;
    padding-left: 15px;
    justify-content: center;
  }

  #s{
    width: fit-content;
  }

  #searchsubmit{
    width: fit-content;
  }

  

  .text-overlay{
    position: absolute;
    right: 7rem;
    background-color: #22577A;
    color: white;
    padding: 20px;
    width: 50%;
    box-sizing: border-box;
    text-align: left;
    top: 20rem;
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .contact-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    grid-gap: 20px;
    font-size: x-large;
    line-height: 30px;
}

  
  }
  


@media screen and (max-width: 768px) {
  body, p, li {
    font-size: 100%;
  }

  .partner {
    flex: 0 1 calc(50% - 20px);
  }

  .teams-container,
  .news-items,
  .equipe-container,
  .activites-container,
  .tutelles,
  .partners {
    display: flex;
    flex-direction: column;
  }

  .team {
    margin-bottom: 20px;
  }

  
  .site-header{
    display: block;
  }

  .custom-logo-link img {
    width: 150px;
  }

  .links-container{
    flex-direction: column;
    align-items: center;
  }

  .news-container, .front-news-container {
    grid-gap: 20px;
  }

  .search-icon{
    width: 0px;
  }

  .footer-content{
    gap: 50px;
  }

  .navbar {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
  }

  .navbar ul {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    padding: 0;
    margin-bottom: 15px;
    margin-top: 25px;
    
  }

  .search-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 0;
  }

  .search-container input[type="text"] {
    width: 100%;
    margin-bottom: 10px;
  }

  .search-container input[type="submit"] {
    width: 100%;
  }

  #searchsubmit {
    background-color: #22577A;
    color: #fff;
    border: none;
    border-radius: 32px;
    padding: 10px;
    display: flex;
    margin-bottom: 9px;
  }

  .filter-section form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .tutelles{
    gap: 50px;
  }

 .site-title h1{
    height: 200px;
    padding-bottom: 65px;
  }

  .text-overlay {
    position: absolute;
    right: 0rem;
    background-color: #22577A;
    color: white;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    top: 37rem;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 340px;
    justify-content: center;
  }

  .text-overlay h2::after{
    opacity: 0;
  }

  .image-container img {
    height: 266px;
    opacity: 0;
  }


  .text-overlay p {
    font-size: 85%;
    line-height: 149%;
  }

  .page-title h1 {
    font-size: 2em;
  }

  .presentation-list a {
    width: 14rem;
  }

  .presentation-list {
    align-items: center;
  }

  .actu-title img{
    width: 0%;
  }

  .activite-title a {
    font-size: 1.5em;
  }

  .logo-navbar-container {
    flex-direction: column;
  }

  .contact-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }

  .contact-section, .contact-section-one{
    width: 82%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .team-tabs button{
    font-size: 90%;
  }

  .membres-list{
    display: flex;
    flex-direction: column;
  }

  .custom-logo-link{
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
  }

  .contact-team{
    flex-wrap: wrap;
    
  }

  .membres-container{
    padding-left: 10px;
  }

  .slide-content a{
    font-size: 12px;
  }

  .slide-content p{
    font-size: 10px;
  }

}

@media screen and (max-width: 576px) {
  body, p, li {
    font-size: 92%;
  }


  .custom-logo-link img {
    width: 100px;
  }

  .news-item{
    position: relative;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0px 2px 5px rgba(0,0,0,.1);
    overflow: hidden;
    min-height: 240px;
    background-position: top;
    background-size: contain;
    background-repeat: no-repeat;
    transition: .3s;
    
  }

  .search-icon{
    left: 38px;
    bottom: 17.2rem;
  }

  .membre-container{
    display: block;
  }

  .contact-section, .contact-section-one{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 13px;
    align-items: center;
  }

  .contact-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }
  

  .search-container input[type="submit"] {
    width: 100%; 
    margin: 0;
  }


  
  .category-links a{
    width: 12rem;
    flex-wrap: wrap;
    transition: 0.3s ease-in-out;; 
  }

  .view-page {
    font-size: 15px;
  }

  .single-document-container img, p {
    width: fit-content;
  }

  .wp-caption {
    max-width: 100% !important;
  }

  .wp-caption img {
    max-width: 100% !important;
    height: auto !important;
  }

  .h2-slider{
    margin-top: 53px;
  }

  .pdf-links, .team-links{
    flex-direction: column;
    gap: 30px;
    width: 100%;
    align-items: center;
  }

  
}



