/**
Theme Name: Assistouest
Author: Assistouest Informatique
Author URI: https://assistouest.fr
Description: Thème WordPress sur mesure, conçu pour la performance. Pensé avant tout pour les sites orientés contenu, il offre une base légère, responsive et optimisée SEO.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: assistouest
Template: astra
*/
/* Conteneur « bordure » animée */
.author-gradient-wrapper {
              /* ajuste à la largeur interne */
  padding: 2px;                        /* épaisseur de la bordure */
  border-radius: 22px;                 /* 2px de plus que .mon-author-box */
  background: linear-gradient(
    -45deg,
    #000000,
    #0069e3,
    #000000
  );
  background-size: 400% 400%;
  animation: gradient-animation 8s ease infinite;
  text-align: center;
}

/* Box blanche interne */
.mon-author-box {
  width: 100%;
  border-radius: 20px;                 /* laisse apparaître 2px de bordure */
  background: #ffffff;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

/* Animation du gradient */
@keyframes gradient-animation {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

.author-gradient-wrapper > h3 {
  color: white;
  text-align: center;
  margin-top: 10px;
}



.mon-author-box .author-avatar {
  width: 100px;
  height: 100px;
  margin: 0.5em auto;
  border-radius: 50%;
  overflow: hidden;
}

.mon-author-box .author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mon-author-box .author-name {
  margin: 0.5em 0;
  font-size: 1.2em;
}

.mon-author-box .author-bio {
  line-height: 1.5;
  margin-top: 0.5em;
  color: #333;
}

.author-socials {
  margin-top: 1em;
  display: flex;
  justify-content: center;
  gap: 1em;
}

.author-socials .social-link {
  display: inline-block;
}

.author-socials .social-icon {
  width: 34px;
  height: 34px;
  display: block;
}

pre {
  background-color: #303030;
  color: white;
  border-left: 4px solid #0069e2;
  padding: 1em;
  margin: 1em 0;
  border-radius: 4px;
  font-family: Menlo, Consolas, monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
  overflow-x: auto;
}

code {
  background-color: #303030;
  color: white;
  border-left: 4px solid #0069e2;
  border-radius: 4px;
  font-family: Menlo, Consolas, monospace;
  font-size: 0.9rem;
  white-space: pre-wrap;
  overflow-x: auto;
}




.site-footer p {
  margin-bottom: 4px !important;  /* espace entre les lignes */
  line-height: 1.8 !important;  /* hauteur de ligne plus compacte */
}

.site-footer a {
  line-height: 2.2 !important;
  display: inline-block;
  margin-bottom: 3px;
}

/* Réduit l’espace entre les blocs du footer */
.footer-widget-area .widget_block {
  margin-bottom: 6px !important;
}

/* Ajuste l'espacement interne global du footer */
.site-above-footer-wrap,
.site-primary-footer-wrap {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}


@font-face {
  font-family: 'Inter';
  src: url('/wp-content/themes/astra-child/fonts/inter/Inter24pt-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ===== Titres dans les articles ===== */
.single-post article h1,
.single-post article h2,
.single-post article h3,
.single-post article h4,
.single-post article h5,
.single-post article h6,
.blog article h1,
.blog article h2,
.blog article h3,
.blog article h4,
.blog article h5,
.blog article h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 600; /* SemiBold réel */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
  color: #111;
}




