:root {
  --primary-color: #06837d;      /* Vert Émeraude */
  --secondary-color: #36eee0;    /* Turquoise Clair */
  --light-bg: #ebfdff;            /* Bleu Glacé */
  --accent-color: #ffb02a;        /* Orange Vif */
  --neutral-bg: #fff7ef;          /* Blanc Cassé */
}

/* ===== Poppins ===== */
/* Poppins Thin */
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Thin.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* Poppins Thin Italic */
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-ThinItalic.ttf') format('truetype');
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

/* Poppins Light */
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Poppins Light Italic */
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Poppins Regular */
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Poppins Italic */
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* Poppins SemiBold */
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Poppins SemiBold Italic */
@font-face {
  font-family: 'Poppins';
  src: url('/fonts/Poppins-SemiBoldItalic.ttf') format('truetype');
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* ===== Museo Moderno ===== */
@font-face {
  font-family: 'MuseoModerno';
  src: url('/fonts/MuseoModerno.woff2') format('woff2'),
       url('/fonts/MuseoModerno.woff') format('woff'),
       url('/fonts/MuseoModerno.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ===== Application des polices avec replis ===== */
body {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  font-size: 20px;
}

h1 {
  font-family: 'MuseoModerno', 'Montserrat', 'Helvetica Neue', sans-serif;
}

h2 {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600; /* SemiBold */
  font-style: normal;
}

h3 {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600; /* SemiBold */
  font-style: italic;
}

h4 {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400; /* Regular */
  font-style: normal;
}

article {
  font-size: 20px;
  line-height: 1.86;
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
}

.article-headline {
  font-family: 'MuseoModerno', 'Montserrat', Georgia, Times, "Times New Roman", serif;
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1.15;
  color: var(--primary-color);
}

article p,
article pre,
article figure,
article img,
article blockquote,
article iframed,
article embed {
  margin-bottom: 2rem;
}

article blockquote {
  padding-left: 40px;
  margin-left: 0px;
  font-style: italic;
  position: relative;
}

article blockquote:before {
  content: "“";
  font-family: Georgia, Times, "Times New Roman", serif; /* Police de repli pour la citation */
  font-size: 8rem;
}
/* **************************** */
/* COULEURS			*/
/* **************************** */

/* Arrière-plan général */
body {
  color: #052422; /* Texte sombre pour un bon contraste */
}

/* Titres et liens */
h1, h2, h3, h4, a {
  color: var(--primary-color); /* Vert Émeraude */
}

a:hover {
  color: var(--secondary-color); /* Turquoise Clair au survol */
}

.navbar {
  font-weight: 400;
  margin: 0 auto;
}

.navbar .container-fluid {
    display: flex;
    justify-content: center; /* center horizontally */
    align-items: center; /* center vertically */
}

.navbar-nav {
  flex: 1;
  justify-content: center;
}

.navbar-nav .nav-link {
  font-size: 1.4rem;  /* larger text */
  white-space: nowrap; /* prevent wrapping */
}

.navbar-light .navbar-nav .nav-link {
  color: var(--primary-color); /* Vert Émeraude */
  font-size: 1.4rem;
  white-space: nowrap;
}

.navbar-light .navbar-nav .active > .nav-link, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary-color); /* Turquoise Clair au survol */
  font-weight: 600;
}

.navbar-light .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
  color: var(--secondary-color); /* Turquoise Clair au survol */
}

/* Boutons */
.button {
  background-color: var(--primary-color); /* Vert Émeraude */
  color: var(--neutral-bg);
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
}

.button:hover {
  background-color: var(--accent-color); /* Orange Vif au survol */
}

/* Cartes et conteneurs */
.card {
  background-color: var(--light-bg); /* Bleu Glacé */
  border: 1px solid var(--secondary-color);
  border-radius: 8px;
  padding: 20px;
}

/* Appels à l'action (CTA) */
.cta {
  background-color: var(--accent-color); /* Orange Vif */
  color: var(--light-bg);
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 4px;
}

/* ************************** */
.btn {
  display: inline-block;
  font-weight: 400;
  color: var(--primary-color);
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  /* transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; */
}

.btn:hover {
  color: var(--primary-color);
  background: var(--light-bg);
  border-color: var(--primary-color);
}

.central-large-btn-block {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  line-height: 2;
  width: 40%;
  margin-left: 30%;
  margin-right: 30%;
  margin-top: 2%;
  margin-bottom: 2%;
  text-align: center;
  background: var(--primary-color);
  color: var(--light-bg);
}

.btn-danger {
  color: var(--light-bg);
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-danger:hover {
  color: var(--primary-color);
  background-color: var(--light-bg);
  border-color: var(--primary-color);
}

.site-content {
	margin-top:120px;
	min-height:400px;
}

.navbar-dark .navbar-toggler-icon {
  background-image: url("/user/themes/mundana/images/burger-icon.png");
}

/* carroussel niouzes */
.blog-articles-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
    overflow-x: auto;
    padding: 10px 0;
}

.blog-article-card {
    flex: 0 0 calc(33.33% - 20px); /* Adjust for N articles (e.g., 25% for 4 articles) */
    min-width: 280px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.blog-article-image {
    /* width: 100%; */
    height: 180px;
    object-fit: cover;
}

.blog-article-content {
    padding: 15px;
}

.blog-article-title {
    margin: 0 0 10px;
    font-size: 18px;
}

.blog-article-summary {
    margin: 0 0 10px;
    color: #666;
    font-size: 14px;
}

.blog-article-link {
    text-decoration: none;
}

.blog-article-link:hover {
    text-decoration: underline;
}

/* Responsive: Stack cards on small screens */
@media (max-width: 768px) {
    .blog-article-card {
        flex: 0 0 100%;
    }
}

/* Conteneur principal de l'agenda */
#ics-full-list {
    max-width: 900px;
    margin: 20px auto;
    /* font-family: Arial, sans-serif; */
}

/* Message de statut (chargement/erreur) */
#ics-status {
    margin-bottom: 12px;
    color: var(--accent-color);
    font-style: italic;
}

/* Conteneur du contenu de l'agenda */
#ics-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* En-tête de mois */
#ics-content h3 {
    margin: 10px 0 5px;
    padding: 5px 10px;
    /* background-color: var(--neutral-bg); */
    border-radius: 2px;
    color: var(--accent-color);
    font-size: 1.2em;
    font-weight: bold;
}

/* Conteneur d'un événement */
#ics-content > div {
    margin-bottom: 12px;
    padding: 12px;
    border-left: 4px solid var(--primary-color);
    background: var(--light-bg);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Titre de l'événement */
#ics-content > div > div:first-child {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
}

/* Date et heure de l'événement */
#ics-content > div > div:nth-child(2) {
    /* color: #444; */
    margin: 4px 0;
    font-size: 0.9em;
}

/* Localisation de l'événement */
#ics-content > div > div:nth-child(3) {
    /* color: #666; */
    font-size: 0.9em;
    margin: 4px 0;
    display: flex;
    align-items: center;
}

/* Description de l'événement */
#ics-content > div > div:last-child {
    /* color: #333; */
    margin: 4px 0;
    font-size: 0.95em;
    line-height: 1.4;
}

/* Style pour les événements "toute la journée" */
#ics-content > div > div:nth-child(2):contains("(journée entière)") {
    font-style: italic;
}

.ics-month-header {
  margin-top: 20px;
  font-size: 1.2em;
  color: #2d7cf0;
}

.ics-event {
  margin-bottom: 12px;
  padding: 8px;
  border-left: 3px solid #2d7cf0;
  background: #fafafa;
}

.ics-title {
  font-weight: 600;
  color: #000;
}

.ics-datetime {
  color: #444;
  margin: 4px 0;
}

.ics-location {
  color: #666;
  font-size: 0.9em;
  margin: 4px 0;
}

.ics-description {
  color: #333;
  margin: 4px 0;
}

#ics-loadmore {
  display: block;
  margin-top: 10px;
  width: 30%;
  /* text-align: left; */
  margin: 15px 0px;
  padding: 8px 12px;
  background: var(--primary-color);
  color: var(--light-bg);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
#ics-loadmore:hover {
  /* flipping colors */
  color: var(--primary-color);
  background: var(--light-bg);
  border-color: var(--primary-color);
}

.featured-img {
	width: 200px;
}

.blog-list-item-img {
	width: 200px;
}

.img-logo {
    width: auto;
    max-height: 100px;
}

.card {
  /* white-space: nowrap; */
  word-wrap: normal;
  font-size: 1.0rem;
}
