/*
 Theme Name:   GP Child par Eroan Boyer
 Theme URI:    https://generatepress.com/premium/?ref=4657
 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:       Eroan Boyer
 Author URI:   https://www.eboyer.com
 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;
}
