/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
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: astra-child
Template: astra
*/

.ast-theme-transparent-header #masthead .site-logo-img .transparent-custom-logo img
{
    max-width: 122px;
    /*width: 122px;*/
}

.site-header {
    background-color: white;
} 

#ast-desktop-header .main-navigation > ul {
    font-size: 1.2rem;
}

#ast-mobile-header .main-navigation > ul {
    font-size: 1.2rem;
}

.footer-widget-area[data-section="section-footer-menu"] .astra-footer-horizontal-menu {
    justify-content: center;
}

.uagb-ifb-title-prefix strong{
    color: var(--ast-global-color-0);
}

/* Inverse les colonnes sur tablette et mobile pour le profil */
@media (max-width: 976px) {
  
  /* Cible la 1ère colonne (Photo) */
  .profil-inverse-mobile > .uagb-container-inner-blocks-wrap > *:nth-child(2) {
    order: 1;
  }
  .profil-inverse-mobile > .uagb-container-inner-blocks-wrap > *:nth-child(1) {
    order: 2;
  }
  .profil-inverse-mobile > .uagb-container-inner-blocks-wrap > *:nth-child(3) {
    order: 3;
  }

  /* Cible la 2ème colonne (Texte principal) */
   .profil-inverse-mobile-encore > .uagb-container-inner-blocks-wrap > *:nth-child(2)  {
    order: 3;
  }
}

.container-img-effet-bordure {
    /* Indispensable pour positionner le fond bleu par rapport à lui */
    position: relative; 
    
    /* Donnez-lui la largeur souhaitée pour votre image */
    width: 100%; /* Adaptez cette largeur */
    max-width: 300px;

    /* Ajout de marges pour que le fond qui dépasse ne soit pas coupé */
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left:2em;
}

/*.container-img-effet-bordure.margin-left {
    margin-left:2em!important;
}*/


.container-img-effet-bordure img {
    /* L'image doit avoir les coins arrondis */
    border-radius: 15px; /* Ajustez le rayon si besoin */
    
    /* Assure qu'elle s'adapte au conteneur */
    width: 100%;
    height: auto; /* Important pour garder les proportions */
    display: block;
    
    /* Clé de la superposition : l'image passe DEVANT le fond */
    position: relative;
    z-index: 2;
}

/* 3. Le fond bleu (créé avec un pseudo-élément) */
.container-img-effet-bordure::before {
    content: ""; /* Obligatoire pour que ::before s'affiche */
    
    /* Se positionne par rapport au conteneur parent */
    position: absolute;
    
    /* Se place DERRIÈRE l'image (qui a z-index: 2) */
    z-index: 1; 
    
    /* La couleur de fond */
    background-color: var(--ast-global-color-0); 
    
    /* Le MÊME arrondi que l'image */
    border-radius: 15px; 

    /* C'est ici que vos contraintes sont appliquées : */
    
    /* 20px au-dessus de l'image */
    top: -15px; 
    bottom: -15px; 
    right: -20px; 
    left: 20px;
}

.round-border {
    border-radius: 15px;
}

@media (max-width: 1050px) {
  
  .container-img-effet-bordure {
    /* Assure qu'elle s'adapte au conteneur */
    width: 80%!important;
    margin: 0 auto;
    margin-top: 5em;
  }

  /*.container-img-effet-bordure.margin-left {
    margin-left:0em;
}*/
}

header.entry-header .entry-title {
    text-align: center;
    color: var(--ast-global-color-0);
}