/**
 * Styles CSS pour l'administration WordPress - 1Jour1Vin
 * 
 * Ce fichier contient tous les styles personnalisés pour l'interface
 * d'administration WordPress du thème 1Jour1Vin
 */

#toplevel_page_soledad_dashboard_welcome .wp-menu-image:before {
    display: none !important;
}

#toplevel_page_soledad_dashboard_welcome .wp-menu-image {
    background: none !important;
}

#toplevel_page_soledad_dashboard_welcome .wp-menu-name img {
    max-height: 16px !important;
    width: auto !important;
    vertical-align: middle !important;
}

#toplevel_page_soledad_dashboard_welcome .dashicons {
    display: none !important;
}

#toplevel_page_soledad_dashboard_welcome .wp-menu-name {
    padding-left: 8px !important;
}

@media (max-width: 782px) {
    #toplevel_page_soledad_dashboard_welcome .wp-menu-name img {
        max-height: 14px !important;
    }
}

/* ============================================
   Styles de typographie pour Elementor et Gutenberg
   ============================================ */

/* Paragraphe - Montserrat 12.8px */
article .elementor-widget-text-editor p,
article .elementor-text-editor p,
article .wp-block-paragraph,
.single-post .entry-content p,
.post-entry p {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12.8px !important;
    line-height: 1.6 !important;
}

/* H1 - Ubuntu 24px */
article .elementor-widget-text-editor h1,
article .elementor-text-editor h1,
article .wp-block-heading h1,
.single-post .entry-content h1,
.post-entry h1 {
    font-family: 'Ubuntu', sans-serif !important;
    font-size: 24px !important;
    line-height: 1.3 !important;
}

/* H2 - Ubuntu 20px */
article .elementor-widget-text-editor h2,
article .elementor-text-editor h2,
article .wp-block-heading h2,
.single-post .entry-content h2,
.post-entry h2 {
    font-family: 'Ubuntu', sans-serif !important;
    font-size: 20px !important;
    line-height: 1.3 !important;
}

/* H3 - Montserrat 16px centré */
article .elementor-widget-text-editor h3,
article .elementor-text-editor h3,
article .wp-block-heading h3,
.single-post .entry-content h3,
.post-entry h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    text-align: center !important;
}

/* H4 - Montserrat 14px */
article .elementor-widget-text-editor h4,
article .elementor-text-editor h4,
article .wp-block-heading h4,
.single-post .entry-content h4,
.post-entry h4 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

/* H5 - Montserrat 13px */
article .elementor-widget-text-editor h5,
article .elementor-text-editor h5,
article .wp-block-heading h5,
.single-post .entry-content h5,
.post-entry h5 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* H6 - Montserrat 13px */
article .elementor-widget-text-editor h6,
article .elementor-text-editor h6,
article .wp-block-heading h6,
.single-post .entry-content h6,
.post-entry h6 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* Styles spécifiques pour l'éditeur Elementor */
.elementor-editor-active .elementor-widget-text-editor p {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12.8px !important;
}

.elementor-editor-active .elementor-widget-text-editor h1 {
    font-family: 'Ubuntu', sans-serif !important;
    font-size: 24px !important;
}

.elementor-editor-active .elementor-widget-text-editor h2 {
    font-family: 'Ubuntu', sans-serif !important;
    font-size: 20px !important;
}

.elementor-editor-active .elementor-widget-text-editor h3 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    text-align: center !important;
}

.elementor-editor-active .elementor-widget-text-editor h4 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
}

.elementor-editor-active .elementor-widget-text-editor h5 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
}

.elementor-editor-active .elementor-widget-text-editor h6 {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 13px !important;
}
