/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Template: generatepress
Author: Votre Nom
Author URI: Votre site web
Description: Thème enfant pour GeneratePress
Version: 1.0
*/

/* Ajoutez vos styles personnalisés ici */
:root {
    --main-border-color: #030071; /* ta couleur principale */
    --main-border-color-light: #03007152; /* même couleur avec transparence */
    --background-color-light: #03007121; /* même couleur avec transparence */
    /*--background-header: linear-gradient(135deg, #456875 0%, #3a5f68 100%);*/
    /*--background-header: linear-gradient(135deg, #133149 0%, #2d5066 100%);*/
    --background-header: linear-gradient(143deg, #133149 0%, #174b78cf 100%);
    
    
}

.no-u,
.no-u a
{
    text-decoration: none;
}


blockquote.wp-block-quote-is-layout-flow,
.editor-styles-wrapper blockquote.wp-block-quote-is-layout-flow
{
    margin-top: 3em;
    margin-bottom: 3em;
}
/* --- Styles visibles uniquement dans l’éditeur Gutenberg --- */
.editor-styles-wrapper blockquote {
    border-left: 5px solid rgba(0, 0, 0, 0.05);
    padding: 20px;
    font-size: 1.2em;
    font-style: italic;
    margin: 0 0 1.5em;
    position: relative;
}




/* Desktop uniquement */
@media screen and (min-width: 769px) {
 
}


.wp-block-media-text {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: center;
    margin: 6rem auto;
    max-width: 1150px;
}

.wp-block-media-text__media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.wp-block-media-text__content {
    font-size: 1.2rem;
    line-height: 1.7;
}


.lp-social-block {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    background-color: #6d8f8c;
    padding: inherit;
}


.header .lp-social-block a{
    color: #FFFFFF;
}
.header .lp-social-block a:hover
{
    color: #17201f;
}

.ma-difference {
    background: var(--background-header);
    color: #FFFFFF;
}
.ma-difference h3{
    color: #133149;
}

     .intervenante {
         background: white;
         margin-bottom: 40px;
         border-radius: 20px;
         padding: 40px;
         box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
         border-left: 5px solid #6d8f8c;
         display: flex;
         gap: 30px;
         align-items: start;
     }

     .intervenante-photo {
         flex-shrink: 0;
         width: 180px;
         height: 180px;
         border-radius: 50%;
         overflow: hidden;
         box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
     }

     .intervenante-photo img {
         width: 100%;
         height: 100%;
         object-fit: cover;
     }

     .intervenante-content {
         flex: 1;
     }

     .intervenante-content h3 {
         font-size: 1.8em;
         color: #456875;
         margin-bottom: 10px;
         font-weight: 400;
     }

     .intervenante-content h4 {
         font-size: 1.3em;
         color: #6d8f8c;
         margin-bottom: 20px;
         font-style: italic;
         font-weight: 300;
     }

     .intervenante-content p {
         font-size: 1.1em;
         line-height: 1.8;
         color: #3a4f5c;
         margin-bottom: 15px;
     }
     @media (max-width: 768px) {
         .intervenante {
             flex-direction: column;
             align-items: center;
             text-align: center;
         }

         .intervenante-photo {
             margin-bottom: 20px;
         }
     }




@media (min-width: 782px) {
    .wp-block-columns div {
        min-width: auto;
    }
    .wp-block-columns div p {
        line-height: 1.3em;
    }
}
@media (min-width: 934px) {
    .wp-block-columns div {
        min-width: 300px;
    }
}

/*
.dates-par-theme {
    margin-left: auto;
    margin-right: auto;
    margin-bottom:5em;
    width: 500px;
    text-align: center;
}
*/

.dates-par-theme {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 5em;
    /* width: 500px; */
    text-align: center;
    background-color: beige;
    padding: 5em;
}

.dates-par-theme h3{
    margin-top: 3em;
    font-size: 2.5em;
}
/* mobile */
@media (max-width: 768px) {
    .dates-par-theme .container {
        padding-top:4em;
        padding-bottom:4em;
    }
    .dates-par-theme {        
        padding: 0px !important;
    }
.dates-par-theme h3{
    font-size: 2em;
}
}

.dates-par-theme ul{
        margin: 0 !important;
}
.dates-par-theme ul li{
    list-style: none;
    line-height: 2em;
    margin: inherit;
    padding-left: 0;
    margin-left: 0;
}
.dates-par-theme ul li strong{
    font-size: larger;
}
.dates-par-theme ul li span.bold{
    font-weight: bold;
}
.dates-par-theme ul li span.bold.blackfriday{
    color: red;
}
.dates-par-theme ul li span.strike{
    text-decoration: line-through;
}


/* Mobile uniquement */
@media (max-width: 768px) {
    .wp-block-media-text.is-stacked-on-mobile {
        display: block;
    }
    .wp-block-media-text__media {
        margin-bottom: 1.5rem;
    }    
    .wp-block-media-text__content {
        display:none;
    }
    .ma-difference {
        max-width: 700px !important;
        padding-left: 1.2em !important;
        padding-right: 1.2em !important;
        padding-bottom: 1.2em !important;
        margin-left: 1em !important;
        margin-right: 1em !important;
    }
    .dates-par-theme {
        margin-left: auto;
        margin-right: auto;
        max-width: 390px;
        text-align: center;
        display: block;
    }
}

