/*
 Theme Name:   GP Child par SEO Hackers
 Theme URI:    https://generatepress.com/premium/
 Description:  Thème enfant GeneratePress optimisé pour la web performance et le SEO. Intègre des fonctionnalités avancées qui n’impactent pas les temps de chargement et améliorent l’architecture du site.
 Author:       SEO Hackers
 Author URI:   https://seohackers.fr
 Template:     generatepress
 Version:      1.3.3
*/
/* ------------------------
Optimisations de la performance
------------------------ */
img[width][height] {
  content-visibility: auto;
}

.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: 300px;
}

ins {
  min-height: 200px;
}

/* ------------------------
Utilisé par GP Child
------------------------ */
html {
  -webkit-tap-highlight-color: transparent;
}

svg.icon {
  vertical-align: text-top;
}

.entry-content p a[target="_blank"]::after {
  display: inline-block;
  margin-left: .25em;
  width: .75em;
  height: .75em;
  vertical-align: -.125em;
  content: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" fill="Gray"/></svg>');
}

[data-goto]:hover {
  cursor: pointer;
}

[data-goto]:not(.button):not(.gb-button):hover {
  text-decoration: underline;
}

.o50 {
  opacity: 50%;
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  max-width: 100%;
  z-index: 99999;
  height: 5px;
}

/* ------------------------
Style global
------------------------ */

.h4 {
	font-size: 22px;
}

/* ------------------------
Entête
------------------------ */

#masthead {
	border-bottom: 1px solid #eee;
}

.entry-meta:first-letter,
.wp-block-latest-posts__post-date:first-letter{
	text-transform: capitalize !important;
}

.entry-header p {
	margin-top: 20px;
}

/* ------------------------
Contenus
------------------------ */

body.archive p[style^="text-align: center"],
body.archive h2[style^="text-align: center"]{
	text-align: left !important;
}

ol.wp-block-latest-comments {
  margin-left: 0;
}

.paging-navigation {
  text-align: center;
}

.right-sidebar .related-articles a {
	font-size: 15px !important;
	line-height: 1.6em;
}

.adsbygoogle {
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

/* ------------------------
Pied de page
------------------------ */

.yoast-breadcrumbs,
.yoast-breadcrumbs a {
  color: #666666;
}

.yoast-breadcrumbs a:hover {
  text-decoration: underline;
}

.wp-block-tag-cloud a {
	color: #EEEEEE;
	font-size: 0.85rem !important;
    display: inline-block;
    border: 2px solid #EEE;
    padding: 5px 15px;
    margin: 0 5px 8px 0;
    line-height: 1.2;
}

/* Headers Home */

h2.gb-headline-f835b8b4 {
  
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: xx-large;
    text-align: center;
    /*color: #ff2971;*/
    color: var(--accent);
    padding: 8px;
    margin-left: 10px;
    margin-top: 20px;
    border-left: 8px solid var(--global-color-8);
}
h6.gb-headline-c2946a85 {
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
  margin-bottom:30px
}
h6.gb-headline-646a4db3 {
    font-weight: bold;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-size: xx-large;
    text-align: center;
    margin-top: 40px;
    color: var(--global-color-8);
}
/* Images radius */
.post-image{
  border-radius: 20px;
}

.featured-image, .entry-content img {
    border-radius: 20px;
    overflow: hidden;
}

/* Sidebar custom */
.wp-block-latest-posts.is-grid {
    display: flex;
    flex-wrap: wrap;
    padding: 20px;
}

.wp-block-latest-posts__featured-image, .generate-columns-container .post-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 0 !important;
    /*background-color: #eee;*/
    border-radius: 15px;
}
