/**
 * Styles pour l'affichage public des CTAs
 */

 .magic-cta-container {
    margin-top: 40px;
    margin-bottom: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-family: Inter, sans-serif;
}

.badge-magic-cta {
    background-color:#ED613B;
    padding:5px 8px;
    color:white;
}

.magic-cta-content {
/*    font-size: 1.1em;*/
/*    line-height: 1.6;*/
}

.magic-cta-content p:last-child {
    margin-bottom: 0;
}

/* Style pour les appels à l'action avec boutons */
.magic-cta-content .btn,
.magic-cta-content .button {
    display: inline-block;
    padding: 10px 20px;
    font-family: 'Montserrat', sans-serif;
    margin-top: 15px;
    border-radius:40px;
    background-color: #ecb62f;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

[data-scheme=dark] .magic-cta-content p, [data-scheme=dark] .magic-cta-content strong {
    color:black !important;
}

.magic-cta-content .btn:hover,
.magic-cta-content .button:hover {
    background-color: #edba3b;
    color: #000;
}

/* Style responsive */
@media (max-width: 768px) {
    .magic-cta-container {
        padding: 15px;
        margin-top: 30px;
    }
    
    .magic-cta-content {
        font-size: 1em;
    }
}

/**
Chapeau d'article
*/

/* Style pour le chapeau d'article */

.article-chapeau {
    margin-bottom: 30px;
    padding: 20px;
    background-color: #f8f8f8;
    border-left: 4px solid #ecb62f;
    color: #333;
    font-weight: 500;
}

.article-chapeau h2 {
    font-weight: bold;
    margin-bottom:30px;
    font-size:1em;
    display:inline-block;
    margin-left:35px;
    padding:3px 10px;
    background:black;
    color:white !important;
}

.article-chapeau ul li {
    margin-bottom: 22px !important;
}

/* Style pour le chapeau en mode sombre */
@media (prefers-color-scheme: dark) 
{
    .article-chapeau {
        background-color: #222 !important;
        color: #fff !important;
    }

    .article-chapeau strong {
        color:white !important;
    }

    .article-chapeau h2 {
        background:white !important;
        color:black !important;
    }
}

[data-scheme=dark] .article-chapeau {
    background-color: #222 !important;
    color: #fff !important;
}

[data-scheme=dark] .article-chapeau strong {
    color:white !important;
}

[data-scheme=dark] .article-chapeau h2 {
    background:white !important;
    color:black !important;
}

/* Style pour le chapeau en mode light */
@media (prefers-color-scheme: light) 
{
    .article-chapeau {
        background-color: white !important;
        color: black !important;
    }

    .article-chapeau strong {
        color:black !important;
    }

    .article-chapeau h2 {
        background:black !important;
        color:white !important;
    }
}


[data-scheme=light] .article-chapeau {
    background-color: white !important;
    color: black !important;
}

[data-scheme=light] .article-chapeau strong {
    color:black !important;
}

[data-scheme=light] .article-chapeau h2 {
    background:black !important;
    color:white !important;
}
