/* général */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px;
}

.article-container {
    display: flex;
    align-items: center;
    background-color: #d3d3d3;
    border-radius: 10px;
    padding: 15px;
    width: 600px;
    margin-bottom: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.article-image img {
    width: 100px;
    height: auto;
    border-radius: 5px;
    margin-right: 15px;
}

.article-content {
    flex: 1;
}

.article-title {
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.article-text {
    font-size: 14px;
    color: #333;
}

.read-more {
    display: inline-block;
    padding: 8px 15px;
    background-color: #5a4a42;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

.read-more:hover {
    background-color: #4a3a32;
}






/* Cacher le bloc de recherche sur les écrans de moins de 768px */
@media (max-width: 768px) {
    .search-widget {
        display: none !important;
    }
}


/* Ajout d'un fond bleu uniquement à la carte contenant le script */
#register-widget {
    background-color: lightgrey!important; /* Bleu clair */
    padding: 15px;
    border-radius: 10px;
}
/* styles.css */

 .breadcrumb a {
  color: darkslategray !important;
}

.breadcrumb a:hover {
  color: #000 !important;
}

/* Style général de la page */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 20px;
  background-color: #fdfdfd;
  color: #333;
}

/* Section Auteur */
.author-info {
  border: 1px solid #ddd;
  padding: 20px;
  margin: 30px 0;
  background-color: #f9f9f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.author-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
  border: 2px solid #d63384;
}

.author-details {
  flex: 1;
}

.author-details h3 {
  margin-top: 0;
  font-size: 1.5em;
  color: #d63384;
}

.author-details p {
  margin: 10px 0;
}

.social-links {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-links li a {
  text-decoration: none;
  color: #333;
  font-size: 1.3em;
  transition: color 0.3s;
}

.social-links li a:hover {
  color: #d63384;
}

.intro {
    font-size: 17px !important; /* Augmente la taille du texte */
 
}

 p {
    font-size: 16px;
}

.blog-link {
    font-size: 15px; /* Augmente la taille du texte */
    font-weight: bold; /* Rend le texte plus visible */
    background-color: #f0f0f0; /* Fond gris clair */
    padding: 8px 12px; /* Ajoute de l'espace autour du texte */
    border-radius: 5px; /* Arrondi les bords */
    text-decoration: none; /* Supprime le soulignement du lien */
    display: inline-block; /* Permet de mieux gérer la mise en page */
}


.separator {
    width: 10cm; /* Longueur de la ligne */
    height: 1px; /* Épaisseur */
    background-color: #ccc; /* Couleur gris clair */
    border: none; /* Supprime la bordure par défaut */
    margin: 20px auto; /* Centre la ligne horizontalement avec un espacement */
}


#blog .container {
    max-width: 100%;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

#blog .row {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

#blog .col-md-6 {
    padding-left: 0px !important;
    padding-right: 15px !important; /* Assure un bon espacement entre les colonnes */
}

@media (max-width: 768px) { /* Pour les écrans mobiles */
    .col-md-6 {
        margin-bottom: 20px; /* Ajoute un espace entre les blocs */
    }
    
    .card {
        margin-bottom: 20px !important; /* Ajoute un espace entre les cartes */
    }
}

.card-body a.btn {
    margin-top: 5px !important; /* Ajoute un espace de 15px au-dessus du bouton */
}

.col-md-6 .card {
    max-height: 250px !important;
    height: 100% !important;
    margin: 0 auto !important;
    
}

.blog-section {
    display: flex;
    flex-direction: column;
    align-items: center !important;
    text-align: center!important;
}

.h1-custom
{
font-size: 30px;
}
.h2-custom
{color:rgb(183,28,109);
    font-size: 20px;
    }
.clear
{
    clear:both;
    height: 0;
    overflow: hidden;
}
body
{
 font-family: 'arial'
}

/* header */
#middleinscri
{
    background-image: url(https://tonplanlibertin.fr/femme-libertine2.jpg);
    background-repeat: no-repeat;
    width: 500px;
    max-height: 600px;

}

#entete-css
{
    margin-top:20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #d55e9c;
    width: 600px;
}
.logocss
{
margin-right: auto;
margin-left: auto;
padding-left: 5px;
}

#entete-css .title
{
    margin-left: 1px; 
    padding-left: 20px;
    padding-right: 1px;
    text-align: center;
    text-emphasis-color: blue;
}
login
{
    display:block;
    float: left;
    margin-bottom: 10px;
    padding-bottom: 5px;
    margin-left: 40px;
    background-color: #c9d412;
}



.grossefesse
{
    margin-left: 20px;
    margin-bottom: 150px;
    text-align: center;
    float: none;
}
.inscri
{
    margin-left: auto;
    margin-right: 30px;
    margin-top: 30px;
    margin-bottom: 200px;
    text-align: right;
    float: none;
}

/* MESSENGER DETAILLER */

.detail
{
    margin-left: 10px;
    margin-right: 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 10px;
    text-align: center;
    border-left: 1px solid grey; 
    float: none;
}
.texto
{
    text-align: center;
    color:grey;
}
/* TEMOIGNAGE */
.membresssss
{
    width: 300px; 
    display: inline;
    float:none;
    padding-right: 10px;
    padding-left: 20px;
    padding-bottom: 20px;
    padding-top: 5x;
    margin-left: 40px;
    margin-right: 10px;
    margin-top: 10px;
    text-align: left;
    text-decoration-color:  white;
    border: 1px solid grey; 
    background-color: #444444;
    border-radius: 3px;
    box-shadow: 0 1px 6px rgba(0,0,0, 0.2);
}
#avantagetemoi
{
}
.avantageleft
{
    max-width: 540px;
    width: 480px;
    max-height: 300px;
    float: left;
    display: inline-block;
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 20px;
    margin-left: 20px;
    margin-right: 30px;
    margin-top: 10px;
    text-align: left;
    text-decoration-color:  white;
    border: 1px solid grey; 
    background-color: #444444;
    border-radius: 3px;
    box-shadow: 0 1px 6px rgba(0,0,0, 0.2);
}

/* membre righ ajouté */
.membresright
{
    width: 480px;
    display: inline-block;
    float: left;
    ********************overflow: hidden;
    padding-left: 20px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 10px;
    margin-left: 20px;
    margin-right: 10px;
    margin-top: 10px;
    text-align: left;
    text-decoration-color:  white;
    border: 1px solid grey; 
    background-color: #444444;
    border-radius: 3px;
    box-shadow: 0 1px 6px rgba(0,0,0, 0.2);
}
.membres2
{
    width: 450px;
    display: inline-block;
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 5px;
    text-decoration-color:  white;
    border: 1px solid grey; 
    background-color: #660e66;
    border-radius: 3px;
    box-shadow: 0 1px 6px rgba(0,0,0, 0.2);
}
.imagemembre
{
    display: inline-block;
    float: left;
}
.list-group
{
    margin-top: 20px;
    margin-left: 20px;
}
.text-white2
{
    color: gainsboro;
    text-indent:5px;
}
.lefttest
{
  display: inline-block;
    float: left;  
    margin-left: 10px;
}

.membres2:after {
  content: "";
  display: block;
  clear: both;
}
/* FOOOOTER*/

#footer
{
margin-right: auto;
}
.small-text-center
{
    text-align: center;
    display: block;
    margin-top: 10px;
    margin-right: auto;
    margin-left: auto;
    float: none;
}
.legal
{
    text-align: center;
    font-size: 80%;
    color: darkgrey;
}


/* Script Prelinker register*/
<style>
    .registration-form .btn-facebook {
        color: #fff;
        background-color: #3c558d;
        border-color: #3c558d;
    }

    .registration-form .btn-facebook:hover {
        color: #fff;
        background-color: #354a7b;
        border-color: #2a3b62;
    }

    .registration-form .btn-facebook:active:hover,
    .registration-form .btn-facebook:active:focus {
        background-color: #2a3b62;
        border-color: #161f34;
    }

    .registration-form .input-group-addon {
        background-color: #fff;
    }

    .registration-form select.form-control {
        padding-right: 1.75rem;
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='%23333' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
        background-color: #fff;
        background-repeat: no-repeat;
        background-position: right .75rem center;
        background-size: auto 40%;
        -moz-appearance: none;
        -webkit-appearance: none;
        min-height: 35px;
    }

    .registration-form .checkbox label {
        padding-left: 0;
    }

    .registration-form .custom-control-indicator {
        float: left;
        margin: 4px 10px 0 0;

        display: block;
        width: 20px;
        height: 20px;
        background-color: #fff;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 80%;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    .registration-form .form-group [class^="col-"]:first-child {
        padding-right: calc(15px / 2);
    }

    .registration-form .form-group [class^="col-"]:last-child {
        padding-left: calc(15px / 2);
    }

    .registration-form :checked ~ .custom-control-indicator {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='https://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23333' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E");
    }

    .registration-form .help-block,
    .registration-form .form-control-feedback {
        display: none;
    }

    .registration-form .has-error .help-block {
        display: block;
    }

    .registration-form .has-success .form-control-feedback,
    .registration-form .has-warning .form-control-feedback,
    .registration-form .has-error .form-control-feedback {
        display: block;
    }

    .registration-form .btn-xl {
        padding: 15px 20px;
        font-size: 20px;
    }

    .registration-form .tooltip-inner {
        width: 250px;
    }
</style>

/* Script Prelinker LOGIN */

<style>
#btn-ez-dropdown {
    background-color: #3498DB;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}
 
#btn-ez-dropdown:hover, #btn-ez-dropdown:focus {
    background-color: #2980B9;
}

#ez-dropdown {
    position: relative;
    display: inline-block;
}

.ez-show{
  display:block !important;
}

#ez-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    /* Variable permettant de changer la largeur minimum du menu */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}</style>


/* Media query pour les appareils mobiles */
@media (max-width: 767px) {
  body {
    font-size: 110%; /* Augmente légèrement la taille de la police */
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: 110%; /* Augmente légèrement la taille des titres */
  }

  p, a, li {
    font-size: 110%; /* Augmente légèrement la taille des paragraphes, liens, et listes */
  }

  /* Vous pouvez ajouter d'autres styles spécifiques pour les appareils mobiles ici */
  }
}

/* Media query pour les appareils mobiles */
@media (max-width: 767px) {
  .avantageleft {
    width: 100%; /* S'adapte à la largeur de l'écran */
    padding: 10px; /* Ajuste le padding selon vos besoins */
    font-size: 16px; /* Ajuste la taille de la police selon vos besoins */
    text-align: center; /* Centre le texte */
    overflow: hidden; /* Évite les débordements */
    margin-left: 0; /* Réinitialise les marges pour une meilleure adaptation */
    margin-right: 0; /* Réinitialise les marges pour une meilleure adaptation */
    box-sizing: border-box; /* Inclut le padding et la bordure dans la largeur totale */
    max-height: 500px; /* Définit la hauteur maximale à 500px */
    height: auto; /* Permet à la hauteur de s'ajuster automatiquement */
    white-space: normal; /* Permet au texte de revenir à la ligne */
  }
}

.blog
{
    width: 100%;
    display: inline-block;
    float: center;
    ********************overflow: hidden;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 10px;
    margin-left: 0px;
    margin-right: 5px;
    margin-top: 10px;
    text-align: left;
    text-decoration-color:  white;
    border: 1px solid grey; 
    background-color: #ababab;
    border-radius: 3px;
    box-shadow: 0 1px 6px rgba(0,0,0, 0.2);
}
.blogimage
{
    width: 80%;
    height: auto; /* Maintient le ratio de l'image */
    max-width: 100%; /* Empêche l'image de dépasser la taille de son conteneur */
}

.titleblog
{
    margin-top: 0px;
    text-align: left;
    font-size: 20px !important;
    font-weight: bold !important;
    margin-bottom: 0px !important; /* Réduit l'espace sous le titre */  
}
.fw-light {
    margin-top: 2px !important; /* Rapproche la date du titre */
    font-size: 14px; /* Réduit légèrement la taille pour un meilleur alignement */
    color: #666; /* Optionnel : ajuste la couleur pour un effet plus subtil */
}

.libertinage-guide {
    max-height: 250px !important;
    overflow: hidden; /* Pour s'assurer que le contenu qui dépasse est masqué */
}

 .follow-us {
            text-align: center;
            padding: 40px 0;
        }
        .follow-us p {
            font-weight: normal !important;
            margin-bottom: 10px;
        }

        .social-icons a {
            margin: 0 10px;
            font-size: 24px;
            color: #555;
        }
        .social-icons a:hover {
            color: #000;
        }
/* --- Fixes responsive MOBILE BLOG --- */
@media (max-width: 768px) {

    /* Corrige les containers principaux */
    .article-container,
    .article-card,
    .avantageleft,
    .membresright,
    .membresssss,
    .blog {
        width: 100% !important;
        min-width: unset !important;
        max-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        float: none !important;
        display: block !important;
        box-sizing: border-box;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    /* Corrige header/entete */
    #entete-css, #middleinscri {
        min-width: unset !important;
        width: 100vw !important;
        padding-left: 0!important;
        padding-right:0!important;
    }

    /* Images full width si besoin */
    .article-image img,
    .blogimage {
      width: 100% !important;
      height: auto !important; 
      max-width: 100%;
      display:block; 
      margin:auto
    }

    /* Titre plus lisible */
    h1, h2, .h1-custom, .h2-custom, .titleblog {
      font-size : clamp(1.3rem,6vw,2rem)!important ;
      text-align:center!important
    }
    
   /* Désactive float partout */
   [class*="float"], 
   [class*="left"], 
   [class*="right"] {
     float:none!important
   }

   /* Marge et espacement vertical homogène */
   [class*="container"], 
   [class*="card"], 
   [class*="col-md"], 
   [class*="blog"], 
   [class*="row"]{
     margin-bottom :16px!important ;
     margin-top :0!important ;
     padding-left :0!important ;
     padding-right :0!important ;
     width :100%!important ;
     box-sizing:border-box
   }
   
}

/* Pour les très petits écrans (mobile <480px) */
@media (max-width :480px){
  
  body{font-size :15px}
  
}