/*
Theme Name: ISTP
Author: Anthony, Les Imageurs
Description: Template créé pour le site istp-ingenieurs.fr
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: istp

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

:root {
  --cl-blanc: #fff;
  --cl-gris: #f9f9f9;
  --cl-jaune: #FFD000;
  --cl-bleu: #203478;
  --cl-noir: #000;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	line-height:1.5;
}

html{scroll-behavior:smooth;}


.advgb-counter-number, .advgb-counter-symbol{font-weight:900; line-height:1; display:inline-block;}

p.has-background{padding:5px 10px;}


.pattern-bottom{background:url(images/pattern.svg) scroll repeat-x left bottom / 200px auto; padding-bottom:30px;}
.pattern-center{background:url(images/pattern.svg) scroll repeat-x left bottom / 200px auto; padding-bottom:30px;}

.wp-block-separator:not(.is-style-wide):not(.is-style-dots){background:url(images/pattern.svg) scroll repeat-x left bottom / 200px auto; padding-bottom:15px; height:65px; width:auto; margin-block:60px; border:none;}


.rangee30.wp-block-group-is-layout-flex, .rangee50.wp-block-group-is-layout-flex{align-items:flex-start; gap:4rem;}
.rangee30.wp-block-group-is-layout-flex > .wp-block-group{flex:0 0 calc(30% - 1.666rem);}
.rangee50.wp-block-group-is-layout-flex > .wp-block-group{flex:0 0 calc(50% - 2rem);}

/* FAQ */
.wp-block-advgb-accordions{display:flex; flex-direction:column;}
.wp-block-advgb-accordions:not(.faq){gap:1rem;}
.wp-block-advgb-accordion-item{margin:0 !important;}


.wp-block-group.pad20{padding:40px !important;}

.wp-block-group.is-layout-flex{gap:1rem 4rem;}


.wp-block-button__link.has-bleu-background-color{border:1px solid var(--cl-bleu);}
.wp-block-button__link.has-bleu-background-color:hover{background-color:var(--cl-blanc); color:var(--cl-bleu)}

.wp-block-embed iframe{border-radius:20px;}

/* FAQ */
.schema-faq-section{padding-bottom:15px; margin-bottom:40px; border-bottom:1px solid var(--cl-bleu);}
.schema-faq-question{font-size:120%;}
.schema-faq-answer{padding:15px;}