/*
Theme Name: GeneratePress Child
Template: generatepress
Version: 1.0
*/

@import url("../generatepress/style.css");


/* Style pour les titres h1 */
h1 {
  font-family: 'Inter', sans-serif !important;
  font-size: 42px !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
  margin-bottom: 20px !important;
  text-align: center !important;
}

/* Style pour les titres h2 */
h2 {
  font-family: 'Inter', sans-serif !important;
  font-size: 32px !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  line-height: 1.3 !important;
  margin-bottom: 15px !important;
  text-align: center !important;
}

/* Responsive (optionnel mais conseillé) */
@media (max-width: 768px) {
  h1 {
    font-size: 32px !important;
  }

  h2 {
    font-size: 24px !important;
  }
}
.widget-area.sidebar.is-right-sidebar {
    border-radius: 10px;
    overflow: hidden; /* utile si tu veux que les contenus à l’intérieur suivent aussi le radius */
    background-color: #fff; /* optionnel : pour mieux voir l'effet si ton fond est clair */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); /* optionnel : petit effet de profondeur */

}
/* Style général */
.homepage-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

/* Section Hero */
.hero-section {
    text-align: center;
    padding: 10px 16px;
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 50px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.page-header {
    font-size: 28px;
    color: #0f172a;
    margin-bottom: 20px;
}

/* Section Info */
.info-section {
    background-color: #ffffff;
    padding: 40px 16px;
    border-radius: 10px;
    margin-bottom: 50px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Responsive Desktop */
@media (min-width: 768px) {
    .page-header {
        font-size: 40px;
    }
    .post-preview h3 {
        font-size: 22px;
    }
}

/* Centrage de .homepage-wrapper sur mobile */
@media (max-width: 768px) {
  .homepage-wrapper {
    margin-left: auto;
    margin-right: auto;
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100%;
    box-sizing: border-box;
  }
}
/* Ajuster les marges et padding de .site-content */
.site-content {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box;
}

/* Facultatif : ajouter un espacement minimum sur petits écrans */
@media (max-width: 768px) {
  .site-content {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}
.inside-article { 
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
    padding: 20px;
    margin-bottom: 30px;

    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}
.related-article {
    margin-top: 40px;
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); 
    padding: 20px;
    margin-bottom: 30px;

    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

/* Style inspiré de .hero-section pour .post-preview */
.post-preview {
    text-align: center;
    padding: 10px 16px;
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 50px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
body.single .post-navigation {
    margin-top: 30px !important;
}
.tags-links,
.cat-links {
    background-color: transparent;
    font-weight: normal;
    padding: 0;
    border-radius: 0;
    display: inline;
}

.tags-links a,
.cat-links a {
    background-color: #007bff;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    padding: 6px 12px;
    margin-right: 8px;
    margin-top: 8px;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.tags-links a:hover,
.tags-links a:focus,
.cat-links a:hover,
.cat-links a:focus {
    background-color: #0056b3;
    text-decoration: underline;
}
.taxonomy-description {
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
}
.arrow-down {
    font-size: 2.5em;
    color: #007bff;
    margin: -10px 0 20px;
    text-align: center;
}
/* Search section */
.search-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 0px;
}
.search-section form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

/* Search input */
.search-section input[type="search"],
.search-section select {
    padding: 10px 16px;
    border: none;
    outline: none;
    font-size: 16px;
    background-color: #ffffff;
}

/* Submit button */
.search-section input[type="submit"],
.search-section button[type="submit"] {
    padding: 10px 16px;
    background-color: #007bff !important;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

/* Tags (checkboxes) */
.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.search-tags label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    background-color: #ffffff;
    padding: 5px 10px;
    border-radius: 5px;
}
.search-tags input[type="checkbox"] {
    transform: scale(1.2);
}

.toggle-search-form {
    padding: 10px 16px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    width: 100%;
    max-width: 600px;
    margin-bottom: 10px;
    cursor: pointer;
    border-radius: 20px;
    transition: background-color 0.3s ease;
}

.toggle-search-form:hover,
.toggle-search-form:focus,
.toggle-search-form:active {
    background-color: #007bff;
    color: white;
    outline: none;
    box-shadow: none;
}

.search-form-wrapper {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
    opacity: 0;
    max-height: 0;
    width: 100%;
    max-width: 800px;
}

.search-form-wrapper.open {
    display: flex;
    opacity: 1;
    max-height: 2000px;
}

@media (max-width: 767px) {
    .search-section form {
        flex-direction: column;
        align-items: stretch;
    }

    .search-section input[type="search"],
    .search-section select,
    .search-section button[type="submit"] {
        width: 100%;
    }

    .search-tags {
        flex-direction: column;
    }

    .search-tags label {
        padding: 10px;
        font-size: 16px;
    }

    .search-tags input[type="checkbox"] {
        transform: scale(1.4);
    }
}
/* ===============================
   Bloc .author-social
   =============================== */

/* Conteneur des liens sociaux */
.author-social {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center; /* centré comme demandé */
    align-items: center;
    padding: 10px 16px;
    background-color: #ffffff;
    border-radius: 10px;
    margin: 2em 0 50px; /* 2em en haut/bas, puis espace bas de 50px */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif !important;
    font-size: 18px;
    text-align: center;
}

/* Réinitialisation de l'espacement par défaut des paragraphes */
.author-social p {
    margin: 0;
    margin-top: 0.5rem; /* petit espacement vertical si besoin */
}

/* Liens individuels */
.author-social-link {
    display: inline-flex;
    align-items: center;
    font-family: 'Roboto', sans-serif !important;
    font-size: 18px;
    color: #007bff;
    text-decoration: underline;
    transition: text-decoration 0.3s ease, opacity 0.3s ease;
}

.author-social-link:hover {
    text-decoration: none;
    opacity: 0.8;
}

/* Icônes dans les liens */
.author-social-link svg,
.author-social-link .icon {
    margin-right: 0.5rem;
    width: 1em;
    height: 1em;
    fill: currentColor;
}

/* Responsive : ajuster l'espacement et l'alignement pour mobile */
@media (max-width: 768px) {
    .author-social {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .author-social p {
        margin: 0;
        margin-right: 0.75rem;
    }
}

.author-info {
    padding: 10px 16px;
    background-color: #ffffff;
    border-radius: 10px;
    margin-bottom: 50px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif !important;
    font-size: 18px;
    text-align: left;
}

/* Masquer le texte et les éléments actuels */
.copyright-bar .copyright,
.copyright-bar a,
.copyright-bar {
    visibility: hidden;
}

/* Couleur orange et soulignement pour attirer l'attention */
a.attention-link {
    color: #FF4D00;      /* Orange vif */
    text-decoration: underline;
}

a.attention-link:hover {
    /* Optionnel : changer la couleur au survol pour plus d'interaction */
    color: #e69500;
}
/* Cibler chaque bloc d'article dans le widget "Articles récents" */
.wp-block-latest-posts > li {
    border: 1px solid #007bff;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 20px;
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    list-style: none;
}

/* (Optionnel) Styliser le titre */
.wp-block-latest-posts__post-title {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

/* (Optionnel) Auteur et date en style plus léger */
.wp-block-latest-posts__post-author,
.wp-block-latest-posts__post-date {
    font-size: 14px;
    color: #6b7280; /* gris clair */
    display: block;
    margin-bottom: 4px;
}

/* (Optionnel) Extrait de l'article */
.wp-block-latest-posts__post-excerpt {
    font-size: 15px;
    color: #1e293b;
    line-height: 1.4;
}