/*
 Theme Name:   GP Child [Perf & SEO]
 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:       Agence Web Performance
 Author URI:   https://agencewebperformance.fr/
 Template:     generatepress
 Text Domain:  generatepress-child
 Version:      1.3.9
*/
/* ------------------------
Optimisations de la performance
------------------------ */
img[width][height] {
  content-visibility: auto;
}

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

@media(min-width: 768px) {
  .site-footer {
    contain-intrinsic-size: 368px;
  }
}

.site-content ins {
  display: block;
  height: 280px;
  width: 100%;
  margin-top: 30px;
  margin-bottom: 30px;
}

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

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

.entry-content p a[target="_blank"]::after,
.entry-content li 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="%23ea614e"/></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;
}

@media (min-width: 768px) {
  aside {
    margin-top: 40px;
  }
}

/* ------------------------
Style global
------------------------ */
/* ------------------------
Entête
------------------------ */

.site-branding-container {
  cursor: pointer;
}

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

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

.thumb-caption {
	display: block;
	text-align: center;
	margin-top: -20px;
	opacity: .75;
}

.subtitle {
	margin-top: 20px;
}

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

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

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

.wp-block-tag-cloud a {
  background-color: rgba(255,255,255,.05);
  display: inline-block;
  padding: 2px 9px 2px;
  margin: 0 6px 6px 0;
  border-radius: 1em;
  font-size: 1em !important;
}

.footer-links {
  list-style-type: none;
  margin-left: 0;
}

h1.page-title img {
  border-radius: 50%;
}