/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.3
*/

pre.mermaid {
	background-color: transparent;
	padding:0;
}

figure {
	margin-bottom:28px !important;
}
ins.adsbygoogle, .kb-lottie-container, .wp-block-kadence-accordion, .google-auto-placed {
	margin-bottom:28px;
}
.google-auto-placed {
	margin-bottom:20px;
}
.shared-counts-wrap.after_content {
    margin: 20px 0 20px 0;
}
.lien_articles_freres {
	background:var(--accent);
	color:var(--base-3);
	font-weight: bold;
	padding:0 5px;
}
.lien_articles_freres:hover {
	color:var(--base-2);
}
h2::first-letter,
h3::first-letter {
    text-transform: uppercase;
}
iframe.wp-embedded-content {
	width:100%;
	margin-top:20px;
}

a.definition::after {
    content: "";
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    background: url('data:image/svg+xml;utf8,<svg aria-hidden="true" fill="%23ED84A0" role="img" height="1em" width="1em" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path d="M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"></path></svg>') no-repeat center;
    background-size: contain;
	vertical-align: top;
}

/*body.home.no-sidebar .entry-content {
    max-width: 1200px;
}*/
.wpcf7 input[type="email"] {
    width: 90%;
}
.main-title {
    line-height: 0.9em;
}
@media (max-width: 768px) {
	.home.separate-containers .inside-article {
		padding: 0px;
	}
}

/* Liste d'achat | Équipements */
.grid-table {
	display: flex;               /* deux colonnes côte à côte */
	border: 1px solid rgba(0,0,0,0.1); /* bordure globale */
	-webkit-box-shadow: 0 0px 15px rgba(0,0,0,0.1);
	box-shadow: 0 0px 15px rgba(0,0,0,0.1);
	border-radius: 5px 5px 0 0;      
	align-items: stretch;        /* forcer même hauteur */
	margin-bottom:30px;
}
.grid-table .cell {
	flex: 1;                     /* égaliser largeur des deux colonnes */
	padding: 1rem;               /* espace interne */
	border-left: 1px solid rgba(0,0,0,0.1); /* bordure entre « cellules » */
}
/* retirer la bordure gauche sur la première cellule */
.grid-table .cell:first-child {
	border-left: none;
}
@media (max-width: 768px) {
	.grid-table {
		display: block;           /* empilement vertical */
		border: none;             /* on gère les bordures cellule à cellule */
  	}
  	.grid-table .cell {
    	display: block;
    	border: 1px solid rgba(0,0,0,0.1);   /* chaque « cellule » a sa propre bordure */
    	margin-bottom: -1px;      /* fusionne visuellement les bordures (border-collapse) */
  	}
  	.grid-table .cell:last-child {
    	margin-bottom: 0;         /* pas de marge négative sous la dernière */
  	}
}
.grid-table .cell h2,
.grid-table .cell h2 {
  margin-top: 0;
	font-size:25px;
}
ul.post_tag-amazon-tags,
ul.equipement-amazon-tags {
  list-style: square;
	margin-bottom:0;
}
ul.post_tag-amazon-tags li,
ul.equipement-amazon-tags li {
  margin-bottom: 0.3em;
}

/* Recommandation produits Amazon */
.recommandations-amazon {
	padding: 20px 20px 0 20px;
	margin-bottom: 20px;
	border: 1px solid rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 0px 15px rgba(0,0,0,0.1);
    box-shadow: 0 0px 15px rgba(0,0,0,0.1);
    border-radius: 5px 5px 0 0;
}
ul.produit-amazon-terms {
	list-style: square;
	margin-left: 30px;
	columns: 1;
	column-gap: 30px;
	column-fill: balance;
}
ul.produit-amazon-terms li.tentation-du-jour {
	font-weight:bold;
}
@media only screen and (min-width: 960px) {
	ul.produit-amazon-terms {
		columns: 2;
	}
	ul.produit-amazon-terms li {
		padding-right: 10px;
	}
}