/*
Theme Name:   GeneratePress Magazine Tailwind
Theme URI:    https://ton-site.com
Description:  Un thème enfant Magazine basé sur GeneratePress avec Tailwind CSS.
Author:       Ton Nom
Author URI:   https://ton-site.com
Template:     generatepress
Version:      1.0.0
*/

/* Pas besoin de mettre beaucoup de CSS ici, Tailwind s'occupe de tout. 
   On importe le style du parent via functions.php, pas via @import ! */

   /* Nettoyage du menu WP pour Tailwind */
#site-header ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#site-header ul li a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
}

#site-header ul li a:hover {
    color: #4f46e5; /* indigo-600 */
}

/* Intégrer dans ton style.css ou un bloc <style> */

/* 1. Typographie Style "SaaS" */
.custom-article-content {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 2. Style des titres dans le contenu */
.custom-article-content h2 {
    font-weight: 900 !important;
    font-size: 2.5rem !important;
    letter-spacing: -0.025em;
    color: #0f172a;
    margin-top: 4rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2;
}

/* 3. Lettrine (Drop Cap) pour le premier paragraphe */
.custom-article-content > p:first-of-type::first-letter {
    font-size: 4.5rem;
    font-weight: 900;
    float: left;
    margin-right: 0.75rem;
    line-height: 1;
    color: #4f46e5; /* indigo-600 */
}

/* 4. Style des citations (Blockquotes) */
.custom-article-content blockquote {
    border-left: none;
    padding-left: 0;
    font-style: italic;
    font-size: 1.75rem;
    color: #4f46e5;
    text-align: center;
    margin: 4rem 0;
    font-weight: 700;
}

/* 5. Images arrondies dans le contenu */
.custom-article-content img {
    border-radius: 2rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* 6. Liens stylisés */
.custom-article-content a {
    color: #4f46e5;
    text-decoration: none;
    border-bottom: 2px solid #e0e7ff;
    transition: all 0.3s;
}

.custom-article-content a:hover {
    background-color: #e0e7ff;
}

/* Effet de transition fluide sur les articles */
article {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

article:hover {
    transform: translateY(-8px);
}

/* Scroll fluide pour les ancres */
html {
    scroll-behavior: smooth;
}

/* Custom Line Clamp (pour limiter les extraits à 3 lignes) */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;  
    overflow: hidden;
}

/* Style Supreme pour le titre si besoin d'un rappel */
.logo-supreme {
    background-color: #000;
    color: #fff;
    padding: 2px 10px;
    font-family: 'Futura', 'Helvetica Neue', sans-serif;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -1px;
}