html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  font-family: 'Source Sans 3', sans-serif;
  text-align: center;
}

.header {
  background-color: #E6B17E;
  padding: 20px 0;
}

h1 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 2.5rem;
  color: #00514A;
  font-weight: 500;
  margin: 0;
}

h2 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 2rem;
  color: #00514A;
  font-weight: 400;
  margin: 0;
}

/* diaporama sous Swiper */

.swiper {
  width: 100%;
  height: 0;
  padding-top: 43.75%; /* 7/16 = 0.4375 pour un ratio 16:7 */
  position: relative;
}

.swiper .swiper-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Évite les espaces sous l'image */
}

/* Flèches (next/prev) */
.swiper-button-next,
.swiper-button-prev {
  color: #00A7A3;
}

/* Points de pagination */
.swiper-pagination-bullet {
  background: #00A7A3;
}

/* Optionnel : points actifs légèrement plus foncés ou agrandis si tu veux */
.swiper-pagination-bullet-active {
  background: #00A7A3;
}


.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  flex: 1;
}

p, a {
  font-family: 'Source Sans 3', sans-serif;
}

p {
  font-size: 1.2rem;
}

a {
  display: inline-block;
  margin: 5px;
  padding: 0.75em 1em;
  background: #00A7A3;
  color: #FFF;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

a:hover {
  background: #CF4500;
}

.social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

.social a {
  background: none;
}

.social a:hover {
  background: none;
}

.social img {
  width: 32px;
  height: 32px;
}

hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0;
}

footer {
  background-color: #FFFFFF;
  padding: 20px;
}

footer p {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9em;
  margin: 0;
}


/* Mise en page du flux RSS */

#rssContent {
	max-width: 800px;
    margin: 0 auto;
    }

.rssItem {
    margin-bottom: 30px;
    padding: 15px;
    border-bottom: 1px solid #eee;
	text-align: left;
    }

.rssItem p {
	font-size: 0.9rem !important;
}

.rssItem h2 {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 2rem;
  color: #00514A;
  font-weight: 400;
  margin: 0;
  text-align: left;
        }

.rssItem h2 a {
  font-family: 'Josefin Sans', sans-serif !important;
  color: #00514A !important;
  text-decoration: none !important;
  background: transparent !important; /* Annule le fond défini pour les liens généraux */
  padding: 0 !important; /* Annule le padding défini pour les liens généraux */
  margin: 0 !important; /* Annule le margin défini pour les liens généraux */
  display: inline !important; /* Annule le display défini pour les liens généraux */
  border-radius: 0 !important; /* Annule le border-radius défini pour les liens généraux */
}

.rssItem h2 a:hover {
    text-decoration: underline;
    }

.rssItem p {
    color: #555;
    }

.rssItem img {
    max-width: 150px;
    height: auto;
	float: left; /* Aligne à gauche */
    margin-right: 15px;
    margin-bottom: 10px;
    }
		
small {
    color: #7f8c8d;
    font-size: 0.9em;
    }
	
@media (max-width: 1200px) {
  a {
    display: block;
    width: 80%;
    margin: 10px auto;
	font-size: 5rem;
  }
}


