/*
Theme Name: SmilePack Astra Child
Theme URI: https://blog.smilepack.fr
Description: Thème enfant Astra pour le blog SmilePack
Author: SmilePack
Template: astra
Version: 1.0.0
Text Domain: smilepack-astra-child
*/	


#content.site-content{background:white;box-shadow: none;}

.ast-above-header.ast-above-header-bar, .ast-header-break-point #masthead.site-header .ast-above-header-bar{margin-bottom:0px!important;}
section.elementor-section.elementor-top-section.elementor-element { margin-top: 0px !important;}
.ast-hfb-header .site-footer{padding-left:0px; padding-right:0px!important}
.elementor-widget-heading h2.elementor-heading-title{line-height: 0.9em;!important;}



.site-above-footer-wrap .ast-footer-html-1 .ast-builder-html-element span{font-size:16px!important;}
.inset-shadow{box-shadow: none!important;}
.inset-shadow-bottom{box-shadow: none!important;}

#post-grid-layout-1 .hfe-post-title{margin-bottom: 15px;}
#post-grid-layout-1 .hfe-post-title a{font-size:16px!important;}





/* ========================= AFFICHAGE 2 - LAYOUT 2 ========================= */

#post-grid-layout-2 .eael-entry-title{margin-bottom: 15px;}
#post-grid-layout-2 .eael-posted-on {padding-bottom:5px!important;}

/* == AFFICHAGE 2 - STRUCTURE == */

/* Article 2 : haut à droite */
#post-grid-layout-2 .eael-post-grid .eael-grid-post:nth-child(2) {
	height:auto!important;
	
}

/* Article 3 : bas à droite */
#post-grid-layout-2 .eael-post-grid .eael-grid-post:nth-child(3) {
	height:auto!important;
	margin-top: 0px !important;
	
}

/* Article 3 : bas à droite */
#post-grid-layout-2 .eael-post-grid .eael-grid-post:nth-child(4) {
	height:auto!important;
	margin-top: 0px !important;
}


/* == GRILLE : 1 COLONNE == */

#post-grid-layout-2 .eael-post-grid {
    grid-template-columns: 1fr !important;
}

/* Tous les articles sur une seule colonne */
#post-grid-layout-2 .eael-post-grid .eael-grid-post {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
}

/* == ARTICLES 1 / 2 / 3 / 4 IMAGE AU-DESSUS == */

#post-grid-layout-2 .eael-grid-post .eael-grid-post-holder-inner {
    display: flex !important;
    flex-direction: column !important;
}

#post-grid-layout-2 .eael-grid-post .eael-entry-media {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    order: 1 !important;
}

#post-grid-layout-2 .eael-grid-post .eael-entry-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    order: 2 !important;
}

/* == MASQUER L'EXTRAIT ARTICLES 2 / 3 / 4 == */

#post-grid-layout-2 .eael-grid-post:nth-child(2) .eael-grid-post-excerpt p,
#post-grid-layout-2 .eael-grid-post:nth-child(3) .eael-grid-post-excerpt p,
#post-grid-layout-2 .eael-grid-post:nth-child(4) .eael-grid-post-excerpt p {
    display: none !important;
}

@media (max-width: 500px) {

#post-grid-layout-2 .eael-grid-post:nth-child(2) .eael-entry-title,
#post-grid-layout-2 .eael-grid-post:nth-child(3) .eael-entry-title,
#post-grid-layout-2 .eael-grid-post:nth-child(4) .eael-entry-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;

}

}






/* =========================
   ARCHIVE / BLOG - MOBILE
   ========================= */


/* =========================
   ESPACEMENTS GÉNÉRAUX
   ========================= */

#layout-post-grid-archive-blog .ast-row {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

#layout-post-grid-archive-blog .ast-row .ast-article-post {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}


/* =========================
   EN-TÊTE DE L'ARCHIVE
   ========================= */

#layout-post-grid-archive-blog .ast-archive-description {
    padding-top: 0px !important;
    padding-bottom: 20px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}


/* =========================
   BREADCRUMB
   ========================= */

#layout-post-grid-archive-blog .trail-item span a,
#layout-post-grid-archive-blog .trail-item span {
    font-family: 'Raleway', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1rem !important;
}


/* =========================
   STRUCTURE DES ARTICLES
   ========================= */

#layout-post-grid-archive-blog .ast-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 20px !important;
}


/* Tous les articles sur une seule colonne */

#layout-post-grid-archive-blog .ast-row .ast-article-post {
    width: 100% !important;
    grid-column: 1 !important;
    margin: 0 !important;
    border-bottom: none !important;
}


/* =========================
   TITRES
   ========================= */

/* Tous les titres = 24px */

#layout-post-grid-archive-blog .ast-row .ast-article-post .entry-title {
    line-height: 24px !important;
}

#layout-post-grid-archive-blog .ast-row .ast-article-post .entry-title a {
    font-size: 24px !important;
    line-height: 24px !important;
    color: #333 !important;
    font-weight: bold !important;
    font-family: 'Raleway', sans-serif !important;
}


/* =========================
   DATE
   ========================= */

#layout-post-grid-archive-blog .posted-on {
    font-size: 12px !important;
    color: #606060 !important;
    border-bottom: 3px solid #f0cad0;
    padding-bottom: 10px;
}


/* =========================
   EXTRAIT
   ========================= */

#layout-post-grid-archive-blog .ast-excerpt-container {
    padding-top: 10px;
}


/* =========================
   ESPACEMENT DES ÉLÉMENTS
   ========================= */

#layout-post-grid-archive-blog .ast-blog-single-element {
    margin-top: 10px !important;
}


/* =========================
   LIENS
   ========================= */

#layout-post-grid-archive-blog .ast-blog-single-element a {
    color: #333 !important;
}

#layout-post-grid-archive-blog .ast-blog-single-element a:hover {
    color: #333 !important;
}















/* ========================= AFFICHAGE 3 - LAYOUT 3 ========================= */

#post-grid-layout-3 .eael-entry-title{margin-bottom: 15px;}
#post-grid-layout-3 .eael-posted-on {padding-bottom:5px!important;}

/* == STRUCTURE == */

#post-grid-layout-3 .eael-grid-post-holder {
    border: none !important;
    padding: 5px 5px;
    border-radius: 5px;
}


/* Le widget occupe toute la largeur disponible */

#post-grid-layout-3 .eael-post-grid {
    width: 100% !important;
}


/* Chaque article occupe toute la largeur */

#post-grid-layout-3 .eael-post-grid .eael-grid-post {
    width: 100% !important;
    margin: 0 !important;
}


/* == ARTICLE 1 - IMAGE 100% / CONTENU 100% == */

#post-grid-layout-3 .eael-grid-post:nth-child(1) .eael-grid-post-holder-inner {
    display: flex !important;
    flex-direction: column !important;
}

#post-grid-layout-3 .eael-grid-post:nth-child(1) .eael-entry-media {
    width: 100% !important;
    max-width: 100% !important;
    order: 1 !important;
}

#post-grid-layout-3 .eael-grid-post:nth-child(1) .eael-entry-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    order: 2 !important;
}


/* == ARTICLES 2 / 3 / 4 - MÊME STRUCTURE QUE ARTICLE 1 == */

#post-grid-layout-3 .eael-grid-post:nth-child(2) .eael-grid-post-holder-inner,
#post-grid-layout-3 .eael-grid-post:nth-child(3) .eael-grid-post-holder-inner,
#post-grid-layout-3 .eael-grid-post:nth-child(4) .eael-grid-post-holder-inner {
    display: flex !important;
    flex-direction: column !important;
}


/* Image : 100% */

#post-grid-layout-3 .eael-grid-post:nth-child(2) .eael-entry-media,
#post-grid-layout-3 .eael-grid-post:nth-child(3) .eael-entry-media,
#post-grid-layout-3 .eael-grid-post:nth-child(4) .eael-entry-media {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    order: 1 !important;
}


/* Contenu : 100% */

#post-grid-layout-3 .eael-grid-post:nth-child(2) .eael-entry-wrapper,
#post-grid-layout-3 .eael-grid-post:nth-child(3) .eael-entry-wrapper,
#post-grid-layout-3 .eael-grid-post:nth-child(4) .eael-entry-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    order: 2 !important;
    padding: 10px 0px!important;
}


/* == ORDRE DES INFORMATIONS == */

#post-grid-layout-3 .eael-entry-wrapper {
    display: flex !important;
    flex-direction: column !important;
}

#post-grid-layout-3 .eael-entry-header {
    order: 1 !important;
}

#post-grid-layout-3 .eael-entry-footer {
    order: 2 !important;
}

#post-grid-layout-3 .eael-entry-content {
    order: 3 !important;
}


/* == NETTOYAGE == */


/* Supprimer l'auteur pour tous les articles */

#post-grid-layout-3 .eael-posted-by {
    display: none !important;
}


/* Supprimer le texte d'information des articles 2 / 3 / 4 */

#post-grid-layout-3 .eael-grid-post:nth-child(2) .eael-grid-post-excerpt p,
#post-grid-layout-3 .eael-grid-post:nth-child(3) .eael-grid-post-excerpt p,
#post-grid-layout-3 .eael-grid-post:nth-child(4) .eael-grid-post-excerpt p {
    display: block !important;
}


/* == TITRES == */


/* Article 1 */

#post-grid-layout-3 .eael-grid-post:nth-child(1) .eael-entry-title {
 
}


/* Articles 2 / 3 / 4 */

#post-grid-layout-3 .eael-grid-post:nth-child(2) .eael-entry-title,
#post-grid-layout-3 .eael-grid-post:nth-child(3) .eael-entry-title,
#post-grid-layout-3 .eael-grid-post:nth-child(4) .eael-entry-title {
 
}



/* == TITRES : MAXIMUM 2 LIGNES == */

#post-grid-layout-3 .eael-grid-post:nth-child(1) .eael-entry-title,
#post-grid-layout-3 .eael-grid-post:nth-child(2) .eael-entry-title,
#post-grid-layout-3 .eael-grid-post:nth-child(3) .eael-entry-title,
#post-grid-layout-3 .eael-grid-post:nth-child(4) .eael-entry-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

@media (max-width: 768px) {
	
	
/* == AFFICHAGE 3 - STRUCTURE == */

/* Article 2 : haut à droite */
#post-grid-layout-3 .eael-post-grid .eael-grid-post:nth-child(2) {
	height:auto!important;
	
}

/* Article 3 : bas à droite */
#post-grid-layout-3 .eael-post-grid .eael-grid-post:nth-child(3) {
	height:auto!important;
	margin-top: 0px !important;
	
}

/* Article 3 : bas à droite */
#post-grid-layout-3 .eael-post-grid .eael-grid-post:nth-child(4) {
	height:auto!important;
	margin-top: 0px !important;
}


/* == GRILLE : 1 COLONNE == */

#post-grid-layout-3 .eael-post-grid {
    grid-template-columns: 1fr !important;
}

/* Tous les articles sur une seule colonne */
#post-grid-layout-3 .eael-post-grid .eael-grid-post {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
}

/* == ARTICLES 1 / 2 / 3 / 4 IMAGE AU-DESSUS == */

#post-grid-layout-3 .eael-grid-post .eael-grid-post-holder-inner {
    display: flex !important;
    flex-direction: column !important;
}

#post-grid-layout-3 .eael-grid-post .eael-entry-media {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    order: 1 !important;
}

#post-grid-layout-3 .eael-grid-post .eael-entry-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    order: 2 !important;
}

/* == MASQUER L'EXTRAIT ARTICLES 2 / 3 / 4 == */

#post-grid-layout-3 .eael-grid-post:nth-child(2) .eael-grid-post-excerpt p,
#post-grid-layout-3 .eael-grid-post:nth-child(3) .eael-grid-post-excerpt p,
#post-grid-layout-3 .eael-grid-post:nth-child(4) .eael-grid-post-excerpt p {
    display: none !important;
}

@media (max-width: 500px) {

#post-grid-layout-3 .eael-grid-post:nth-child(2) .eael-entry-title,
#post-grid-layout-3 .eael-grid-post:nth-child(3) .eael-entry-title,
#post-grid-layout-3 .eael-grid-post:nth-child(4) .eael-entry-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;

}

}

}





/* ========================= AFFICHAGE 4 - LAYOUT 4 ========================= */
#post-grid-layout-3 .eael-entry-title{margin-bottom: 15px;}
#post-grid-layout-4 .eael-posted-on {padding-bottom:5px!important;}


@media (max-width: 767px) {

    #post-grid-layout-4 .eael-post-grid {
        grid-template-columns: 1fr !important;
    }

    #post-grid-layout-4 .eael-post-grid .eael-grid-post {
        width: 100% !important;
    }

}







.width-60{display:block; width:95%!important; margin:0 auto;}


.elementor-3193{background: #FAEACD;
  padding-top: 45px;
  margin-top: -35px !important;}