/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/*======customize first letter custom=====================*/
/* Version globale (Ordinateur + base) */
.entry-content p:first-of-type::first-letter,
.dynamic-entry-content p:first-of-type::first-letter,
.inside-article p:first-of-type::first-letter {
    float: left;
    font-size: 3.5em;
    line-height: 0.85;
    margin: 0.1em 0.15em 0 0;
    font-weight: bold;
    color: #e21314;
    font-family: Georgia, serif; /* Optionnel : pour un look plus élégant */
}

/* Tablette */
@media (max-width: 1024px) {
    .entry-content p:first-of-type::first-letter,
    .dynamic-entry-content p:first-of-type::first-letter,
    .inside-article p:first-of-type::first-letter {
        font-size: 2.8em;
        margin: 0.08em 0.12em 0 0;
    }
}
/* Base desktop */
.entry-content > p:first-of-type::first-letter {
    font-size: 3.2em;
    font-weight: 700;
    float: left;
    line-height: 1;
    margin: 0.1em 0.15em 0 0;
    color: #e21314;
}
/***************** Social Sharing colonne left of the post
 ******** ***/
.wplogout-float-social-wrapper {
  position: fixed;
  top: 180px;                 /* ajuste selon la hauteur de ton header */
  left: 24px;                 /* décalage depuis le bord gauche de l'écran */
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Ta base visuelle (peut remplacer tes anciens styles) */
.wplogout-float-social-sharing{
  width: 44px; height: 44px;
  display:flex; align-items:center; justify-content:center;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,.15);
  text-decoration: none;
}

/* Couleur d’icône uniforme + taille */
.wplogout-float-social-sharing svg,
.wplogout-float-social-sharing svg path{
  width:18px; height:18px;
  fill:#fff !important;
}
/*******************<Hn>*****************/
/* Habillage des titres H2 (Pages et Articles) */
.entry-content h2.wp-block-heading, 
.dynamic-entry-content h2.wp-block-heading, 
.inside-article h2.wp-block-heading {
    border-left: 5px solid #bebebe;
    padding-left: 15px !important; /* Augmenté un peu pour l'esthétique */
    border-radius: 2px; /* Un rayon plus léger fait souvent plus pro que 5px sur une ligne droite */
    line-height: 1.2;
    margin-top: 1.5em;
   margin-bottom: 1em;
}
/***********end <Hn>*******/
/* Couleurs brand */
.wplogout-social-facebook  { background:#1877F2; }
.wplogout-social-x         { background:#000; }      /* X */
.wplogout-social-pinterest { background:#E60023; }
.wplogout-social-linkedin  { background:#0A66C2; }
.wplogout-social-reddit    { background:#FF4500; }

/* Effets */
.wplogout-float-social-sharing:hover{
  filter:brightness(1.08);
  transform: translateY(-1px);
}

/* Responsive : masque sur <1024px (à adapter) */
@media (max-width: 1024px){
  .wplogout-float-social-wrapper{ display:none; }
}
/* Fond vert officiel WhatsApp + pictogramme blanc déjà géré par fill:#fff */
.wplogout-social-whatsapp { 
  background:#25D366;        /* vert brand */
}
.wplogout-social-whatsapp:hover{
  filter:brightness(1.08);
}
/*********************end social sharing
 * *******************************/
/* Convertisseur fusionné cm ↔ in — fond gris foncé */
.cmin-wrap{
  background: #575760;
  border: 1px solid rgba(255,255,255,0.12);
  color: #f3f4f6;
  padding: 10px;
  border-radius: 8px;
  width: min(520px, 92%);
  max-width: 520px;
  margin: 20px auto; /* centre horizontalement */
}

.cmin-form{ display: grid; gap: .75rem; }
.cmin-row{ display: grid; gap: .35rem; }
.cmin-row label{ color: #f9fafb; }

.cmin-row input[type="text"]{
  background: #ffffff;
  border: 1px solid #d1d5db;
  color: #000000;
  margin: 5px 0;
  padding: .6rem .7rem;
  border-radius: 6px;
  font-size: 1rem;
}
.cmin-row input[type="text"]::placeholder{ color:#000; opacity:.6; }
.cmin-row input[type="text"]:focus{
  outline: 2px solid #60a5fa66;
  border-color: #60a5fa;
  box-shadow: 0 0 0 2px #60a5fa33;
}

.cmin-help{ color:#e5e7eb; font-size:.9rem; margin-top:.25rem; }
/* liste à puces*/
.bullet{background:#f5f5f5;list-style-type:square; padding: 1em; margin: 1em 0 1.5em 0.5em;}
/*newsletter**************************/
sib-email-area {
    background-color: #f0f0f0;
    padding: 20px;
    text-align: center;
    border: none;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}

input[type="email"],
input[type="submit"] {
    border: none;
    margin: 5px;
}

/* réinitialisation des marges et paddings par défaut */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* style pour les éléments de formulaire */
input[type="submit"].custom,
button.custom {
    background-color: #ff0000; /* couleur de fond rouge */
    color: white; /* couleur du texte */
    padding: 10px 20px; /* espacement interne */
    border: none; /* suppression de la bordure */
    border-radius: 5px; /* coins arrondis */
    cursor: pointer; /* curseur cliquable */
    font-size: 16px; /* taille de police */
    transition: background-color 0.3s; /* transition survol */
}

input[type="submit"].custom:hover,
button.custom:hover {
    background-color: #66000; /* couleur de fond plus foncée */
}

/* image logo */
.site-header .header-image {
    width: 220px;
    height: 66px;
}

/* bandeau sticky */
.sticky-banner {
    position: sticky;
    top: 0;
    z-index: 9999;
    align-items: center;
    background-color: #333;
}

/* css styles newsletter */
.btn-default {
    background-color: #ff0000;
    color: #fff;
    font-size: 18px;
}
.control-label {
    font-size: 18px;
    color: #ff0000;
}

.g-recaptcha {
    visibility: hidden !important;
    height: 5px;
}
.form-group {
    text-align: center;
}
.btn-default {
    border: 2px solid white;
}
.form-control {
    border: 2px solid #ff0000;
}

/* bouton interne */
a.wp-block-button__link:not(.has-background) {
    color: #fff;
    background-color: #ff0000;
    margin: 15px 5px;
    border-radius: 5px;
}

/* bold */
.bold {
    font-size: 1.2em;
    font-weight: 800;
    text-align: center;
    margin: 5px 0;
}
/* résumé d'entrée de post */
.teaser {
    font-size: 1em;
    text-align: left;
    margin-left: 30px;
	background-color:#f7f7f7;
	padding-left :10px;
	
}

/* accordéon */
.wp-block-details summary {
    cursor: pointer;
    font-size: 1.2em;
    margin: 20px 0 20px 15px;
    color: #000;
    padding-left: 10px;
}

/* note circulaire */
.note {
    color: #fff;
    font-size: 1.3em;
    font-weight: 600;
    background-color: #666;
    border-radius: 50%;
    display: grid;
    place-content: center;
    width: 3.7em;
    height: 3.7em;
    margin: 0% 50% 20px 50%;
}

/* texte important focus */
.focus {
    font-size:1rem;
    font-weight: 500;
    margin: 1em 0 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid;
    border-color: #808080;
	list-style-type: none;
	background-color:#f7f7f7;
}

/* texte résumé */
.resume {
    font-size: 0.9em;
    font-weight: 500;
    background: #f0f0f2;
    padding: 5px 10px;
    list-style-type: none;
    border-left: 5px solid #222222;
}

/* avis produit */
.advice {
    font-size: 0.9em;
    font-weight: 600;
    color: #bc00bc;
    text-align: center;
}

/* avis rédaction */
.redaction {
    border: 1px solid #f3f3f3;
    padding: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

/* puces ou bullet point */
.bullet {
    background: #f5f5f5;
    list-style: disc inside;
    padding: 1em;
    margin: 1em 0 1em 0.5em;
}

/* css author box */
.author-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 4%;
    margin-top: 30px;
    font-size: 1em;
    box-shadow: 5px 10px 18px rgba(0, 0, 0, 0.3);
    border: 1px solid #d5d5d5;
}

.author-links a {
    font-size: 3em;
    line-height: 0.5em;
    float: right;
}

.author-box .avatar {
    width: 70px;
    border-radius: 100%;
    margin-right: 20px;
}

.author-title {
    font-weight: 700;
}

h4.author-title {
    margin-bottom: 0.5em;
}

.author-description {
    margin-bottom: 10px;
}

/* for mobile devices */
@media (max-width: 768px) {
    .author-box {
        flex-direction: column;
        text-align: center;
        padding: 50px 10px;
    }
    .author-box .avatar {
        margin-right: 0;
        margin-bottom: 10px;
        width: 100%;
        margin-top: -35px;
    }
    .author-box .avatar img {
        max-width: 70px;
    }
}

/* widget title */
.widget-title {
    margin-bottom: 20px;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 600;
}
.widget-link {
    text-decoration: none;
}

/* h4 */
h4 {
    font-size: 20px;
}

/* liste sans puce (+ et -) */
.nope {
    list-style: none;
    font-weight: 500;
    font-size: 16px;
    background: #d3d3d3;
    margin: 0 0 1em 0;
    border-left: 4px solid;
    border-color: #a9a9a9;
    padding-left: 1em;
    line-height: 1.7;
}

/* logo title (invisible) h1 */
.site-logo h1 {
    margin-bottom: 0 !important;
    line-height: unset;
    font-size: 0;
}

/* add a slash symbol (>) before each list item */
.breadcrumb li+li:before {
    padding: 0;
    color: #2074BE;
    content: ">\00a0";
}

/* fil d'ariane - breadcrumb */
.breadcrumb {
    padding: 3px 15px;
    margin-bottom: 20px;
    list-style: none;
    background-color: #fff;
    border-radius: 4px;
    color: contrast-2;
    font-size: 14px;
}
.breadcrumb a {
    color: #ff0000;
    text-decoration: none;
}
.breadcrumb a:hover {
    color: #575760;
    text-decoration: none;
}

/* css styles newsletter */
.custom[type=submit] {
    color: #fff !important;
    background: #222 !important;
    border: 2px solid #fff !important;
}
.custom[type=submit]:hover {
    background-color: #022B57 !important;
}


/* bouton */
.mon-bouton a {
    background-color: #b18904;
    padding: 10px 20px;
    border: 1px solid transparent;
    display: inline-block;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    margin: 4px 2px;
    cursor: pointer;
    margin-bottom: 20px;
}
.mon-bouton a:hover {
    background-color: #000;
}

/* source avis */
.petit {
    font-size: 12px;
}





