/*
 Theme Name:   GeneratePerf
 Theme URI:    https://agencewebperformance.fr/prestations/creation-site-performant/
 Description:  GeneratePress high-quality unofficial child theme optimized for web performance and SEO. Includes advanced functionalities that do not impact loading times and improve website architecture. Runs with less than 12 kB of CSS and no jQuery. Any copy or reuse is strictly forbidden without the express consent of Agence Web Performance.
 Author:       Agence Web Performance
 Author URI:   https://agencewebperformance.fr/
 Template:     generatepress
 Text Domain:  generateperf
 Version:      2.4.7
 UID:          
 Website:      
 Requires at least: 6.0
 Tested up to: 6.3
 Requires PHP: 7.4
 License: GPLv3
 License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/**
 * Beautiful lists.
 */

li::marker {
  color: var(--primary);
}

/**
 * Beautiful inputs.
 */

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--primary);
}

/**
 * Add external icons to _blank links.
 */

.entry-content p a[target="_blank"]::after,
.entry-content li a[target="_blank"]::after {
   display: inline-block;
   margin-left: .25em;
   content: "\2197";
   font-size: .8em;
   font-weight: 700;
   border: 1.5px solid currentColor;
   border-radius: 4px;
   line-height: 1.1em;
   speak: never;
 }

/**
 * Improve default links style
 */

.entry-content a:not(.simple):not(.wp-block-latest-posts__post-title) {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--darkest);
  text-underline-offset: .25em;
}

.entry-content a:not(.simple):not(.wp-block-latest-posts__post-title):hover {
  text-decoration-color: var(--primary);
}

/**
 * Separator.
 */

.separator {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  grid-gap: 20px;
  align-items: center;
  text-align: center;
  width: 100%;
  overflow: hidden;
  margin-top: var(--spacing);
  margin-bottom: var(--spacing);
}

.separator:before,
.separator:after {
  content: "";
  border-top: 2px dashed var(--light);
}

.separator svg {
  fill: var(--medium);
}

/**
 * Simple lists in footer.
 */

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

/**
 * Beautiful SVGs in menus.
 */

.menu-item-icon {
  width: 22px;
  height: 22px;
  margin-right: .5em;
  fill: currentColor;
  vertical-align: sub;
}

/**
 * Featured images full width.
 */

.featured-image img {
	width: 100%;
}

/**
 * Custom design for main images captions.
 */

.featured-image figcaption::before {
  content: "";
  display: block;
  position: absolute;
  top: -25px;
  left: 25px;
  height: 0px;
  width: 0px;
  border-right: solid 25px transparent;
  border-left: solid 25px transparent;
  border-bottom: solid 25px var(--light);
}

/**
 * Custom subtitles styling.
 */

p[role="doc-subtitle"] {
  padding-left: 1em;
  border-left: 4px solid var(--primary);
}

/**
 * Éléments greffés avant et après le logo en position centrale
 */

 @media(min-width: 768px) {
  .header-aligned-center:not([class*=nav-float-]) .inside-header {
    flex-direction: row !important;
    align-items: center;
    justify-content: space-between;
  }
}

/**
 * Custom code.
 */
 
 @media(min-width: 768px) {
   .menu-bar-items {
     display: none !important;
   }
 }
 
 .inside-header > div {
   margin-top: 0 !important;
 }

 .site-header,
 .site-footer > .gb-container {
  background-image: linear-gradient(to bottom, var(--darkest), #1c2236);
 }