body {
    background-color: #000;
    color: #fff;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Styles pour les titres h3 */
h3 {
    color: #333;
    line-height: 1.4;
    text-align: left;
    font-size: 23px;
    margin-bottom: 0.2em;
}

p {
    text-align: justify;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
    margin: 0 0 2rem 0;
}

section.posts article p {
    text-align: justify;
    margin-top: 10px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #333;
    font-size: 16px;
    padding: 0px;
}

.highlight {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

.highlight:hover {
    color: #ffc913;
}

@media (max-width: 768px) {
    #header {
        width: 95%;
        align-items: center;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
    }

    #header a {
        font-size: 1.3rem;
    }
}

#header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: auto;
    margin-top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

#header a {
    color: #fff !important;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.main-second {
    border-radius: 12px;
    overflow: hidden;
}

#main.main-second {
    border-radius: 10px;
}

@media screen and (max-width: 767px) {
    #main {
        padding: 15px;
        margin: 20px auto;
    }
    
    @media (max-width: 768px) {
        #main {
            border-radius: 10px;
        }
    }
    
    p {
        font-size: 14px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#footer {
    max-width: 72rem;
    margin: 0 auto;
    padding: 2rem 0;
    text-align: center;
    background-color: #f4f4f4;
    color: #333;
    display: block;
}

@media screen and (max-width: 767px) {
    #footer {
        padding: 1rem 0;
        margin: 0 auto;
    }
    
    main {
        margin-bottom: 0;
    }
}

#footer .image.main {
    width: 100%;
    margin: 0 auto;
    display: block;
}

#footer .image.main img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px;
}

#footer {
    max-width: 72rem;
    margin: 0 auto;
    padding: 1rem 0;
    text-align: center;
    background-color: #f4f4f4;
    color: #333;
    box-sizing: border-box;
    border-radius: 10px;
    height: auto;
}

@media screen and (max-width: 767px) {
    #footer {
        margin: 15px auto;
    }
}

#header .logo {
    display: inline-block;
    text-align: center;
}

@media (max-width: 768px) {
    #intro .actions {
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
    
    #intro .logo {
        max-width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }
    
    #intro {
        width: 100%;
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
        padding: 3rem 1rem;
        border-radius: 0px;
    }
}

#wrapper {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#wrapper > .bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/bg.jpg"), linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    background-size: cover, cover;
    background-position: center center, center center;
    background-repeat: no-repeat, no-repeat;
    z-index: -1;
}

@media screen and (max-width: 768px) {
    #wrapper > .bg {
        background-size: cover;
        background-position: center center;
    }
}

#wrapper.fade-in:before {
    pointer-events: none;
    transition: opacity 1s ease-in-out;
    transition-delay: 0.75s;
    background: #1e252d;
    content: '';
    display: block;
    height: 100%;
    left: 0;
    opacity: 0;
    position: fixed;
    top: 0;
    width: 100%;
}

body.is-preload #wrapper.fade-in:before {
    opacity: 1;
}

.icons {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

.icons li {
    display: inline-block;
    margin: 0 10px;
}
/* --------------------------------------------------
   Styles de base pour le footer logos
   -------------------------------------------------- */
.logo-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  
  width: calc(100% - 4rem);
  max-width: 72rem;
  margin: 2rem auto;
  padding: 2rem;
  
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Liens */
.logo-footer a {
  text-decoration: none;
  outline: none;
  border: none;
}

/* Logos : taille fixe, ratio préservé */
.logo-footer img {
  width: 120px;           /* fixe la largeur */
  height: 120px;          /* fixe la hauteur */
  object-fit: contain;    /* adapte l’image à l’intérieur sans la déformer */
  transition: transform 0.3s ease;
}

/* Effet hover sur chaque logo */
.logo-footer img:hover {
  transform: scale(1.1);
}

/* Fond un peu plus clair au survol du footer */
.logo-footer:hover {
  background-color: rgba(255,255,255,0.8);
}

/* --------------------------------------------------
   Responsive : empilement vertical sous 810px
   -------------------------------------------------- */
@media (max-width: 810px) {
  .logo-footer {
    flex-direction: column;
    gap: 0.75rem;
  }

  .logo-footer img {
    width: 80px;
    height: 80px;
    margin-bottom: 0.5rem;
  }
}


#footer1 {
     /* largeur fluide tout comme #nav */
  width: calc(100% - 4rem); /* 100% de la fenêtre moins 4rem (2rem de padding à gauche + 2rem à droite) */
  max-width: 72rem;         /* ne dépassera jamais 72rem, comme #nav */
  margin: 0 auto;           /* centré horizontalement */
  padding: 0 2rem;          /* 2rem de padding gauche/droite, 0 en haut/bas */
   display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;

    /* padding existant */
    padding: 2rem 0;

    /* centre le footer dans la largeur disponible */
  width: fit-content;         /* ou une largeur fixe, ex. 80% */
  margin: 2rem auto !important;
}

#footer > section,
#footer > section.split,
#footer > section.split > section,
#footer > section.split.contact > section {
    border: none !important;
}

#footer, .logo-footer {
    width: calc(100% - 4rem);
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 2rem;
    padding: 30px;
    background-color: #fff;
    color: #333;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.spacer {
    height: 2rem;
    width: 100%;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    display: block;
    background-color: transparent;
}

@media screen and (max-width: 767px) {
    .spacer {
        height: 1.2rem;
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        display: none;
        position: static;
        width: 100%;
        background: #444;
        border-radius: 0;
        box-shadow: none;
    }

    .dropdown-menu li a {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        color: #fff;
    }

    .dropdown-menu li a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .dropdown a .dropdown-arrow {
        color: #fff;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}

ul.icons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding: 0;
    list-style: none;
    margin: 0;
}

ul.icons li {
    display: inline-block;
    padding: 0;
    margin: 0 0.25rem;
}

ul.icons li a {
    margin: 0;
    padding: 0;
}



.logo-bismi {
    display: block;
    margin: 0px auto;
    max-width: 100%;
    height: auto;
    width: 500px;
    padding-top: 0px;
    padding-bottom: 50px;
}

.post.featured3 {
    text-align: center;
}

.logo-selah {
    display: block;
    margin: 0px auto;
    margin-top: -60px;
    margin-bottom: 30px;
    width: 200px !important;
    height: auto !important;
    max-width: 200px !important;
    max-height: 200px !important;
}

@media (max-width: 768px) {
    .logo-selah {
        width: 150px !important;
        max-width: 150px !important;
        margin-top: -50px;
        margin-bottom: 0px;
    }
}

.margin-bottom-small1 {
    margin-bottom: 1.5rem;
    margin: 2rem auto;
    text-align: center;
    padding: 0 1rem;
}

.col-md-8.text-center1 {
    width: 90%;
    max-width: 48rem;
    margin: 2rem auto;
    text-align: center;
    padding: 0 1rem;
}

header.major1 {
    margin-top: 0rem;
    margin-bottom: 0rem !important;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 64rem;
    padding: 1.5rem;
}

header.major1 p {
    margin: 2rem auto;
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
}

ul.actions.special2 {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-left: 0;
}

ul {
    list-style: disc;
    margin: 0 0 2rem 0;
    padding-left: 1rem;
}

@media (max-width: 768px) {
    ul:not(.fixed-size) {
        padding-left: 1rem;
        margin-left: -1rem;
    }
}

ul.actions2.fixed.special2 {
    display: flex !important;
    justify-content: center !important;
    flex-wrap: wrap;
    width: auto !important;
    margin: 2rem auto !important;
    padding-left: 0 !important;
}

@media screen and (max-width: 480px) {
    ul.actions2.fixed.special2 {
        flex-direction: row !important;
        width: auto !important;
        margin: 0 auto 2rem !important;
    }
    
    ul.actions2.fixed.special2 li {
        padding: 0 0.5rem !important;
        flex: 0 0 auto !important;
        text-align: center !important;
    }
}

h2 {
    color: #056240;
}

.option {
    margin: 15px 0;
    padding: 15px;
    border-radius: 8px;
    background: #eef9f3;
    border-left: 5px solid #C0A31A;
}

.option span {
    font-size: 1.2em;
    font-weight: bold;
}

.option1 {
    margin: 15px auto;
    padding: 15px;
    border-radius: 8px;
    background: #eef9f3;
    border-left: 5px solid #C0A31A;
    max-width: 800px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 600px) {
    .option1 {
        white-space: normal;
    }
}

.img-protected {
    position: relative;
    display: inline-block;
    text-align: center;
}

.logo-selah {
    display: block;
    max-width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;
}

.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: transparent;
    pointer-events: all;
}

*, *::before, *::after {
    box-sizing: border-box;
}

#main3 {
    width: calc(100% - 4rem);
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 2rem;
    padding: 30px;
    background-color: #fff;
    color: #333;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    #main3 {
        border-radius: 10px;
    }
}

#main1 {
    width: calc(100% - 4rem);
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 2rem;
    padding: 30px;
    background-color: #fff;
    color: #333;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    #main1 {
        border-radius: 10px;
    }
}




.option2.responsive-option2 {
    margin: 15px auto;
    padding: 15px;
    border-radius: 8px;
    background: #eef9f3; /* Vert clair */
    border-left: 5px solid #C0A31A;
    max-width: 900px;
    text-align: center;
    white-space: normal;
    overflow: visible;
    word-wrap: break-word;
    color: #000 !important; /* ✅ texte 100% noir, forcé */
}

.option2.responsive-option2 span {
    font-size: 1.1em;
    font-weight: bold;
    display: inline;
}

.text-special {
    color: #111111; /* Plus noir que #333 mais moins dur que pur #000 */
    font-style: bold;
    font-family: 'Playfair Display', serif; /* Style d'écriture élégant et fluide */
    font-size: 1.4em;
}

.text-special2 {
    color: #111111; /* Plus noir que #333 mais moins dur que pur #000 */
    font-style: italic;
    font-family: 'Merriweather', serif; /* Style d'écriture élégant et fluide */
    font-size: 1em;
}

.option2.responsive-option2 strong {
    font-weight: bold;
    color: #000 !important; /* Texte en gras mais toujours noir */
}

/* Media Queries pour la réactivité */
@media (min-width: 992px) {
    .option2.responsive-option2 {
        padding: 20px;
        font-size: 1.1em;
    }
}

@media (max-width: 991px) and (min-width: 601px) {
    .option2.responsive-option2 {
        max-width: 90%; /* Réduit la largeur à 90% pour les écrans moyens */
    }
}

@media (max-width: 600px) {
    .option2.responsive-option2 {
        max-width: 95%; /* Réduit la largeur à 95% pour les petits écrans */
        padding: 10px 12px;
        text-align: center;
        display: flex;
        flex-wrap: wrap;
        gap: 4px; /* Réduit l’espace entre éléments */
        align-items: center;
        justify-content: center;
        line-height: 1.4; /* Rend le texte plus compact */
    }

    .option2.responsive-option2 span {
        display: inline;
        margin: 0 2px; /* Réduit l’espace entre les mots/spans */
        text-align: center;
    }

    .text-special,
    .text-special2 {
        margin: 0 2px; /* Pas d’espace vertical inutile */
        line-height: 1.4;
    }
}

@media (max-width: 400px) {
    .option2.responsive-option2 {
        padding: 8px 10px;
        font-size: 0.9em; /* Réduit légèrement la taille de la police pour les très petits écrans */
    }
}