/* ===============================
   RESET - WORDPRESS
================================= */
:root :where(.is-layout-constrained) > *,
:root :where(.editor-styles-wrapper) :where(.is-layout-constrained) > *
{
  margin-block-start: 0px !important;
  margin-block-end: 0px !important;
}

figure {
    margin-block-start: 0 !important;
    margin-block-end: 0 !important;
    margin-inline-start: 0 !important;
    margin-inline-end: 0 !important;
}

*.has-text-align-center {text-align: center !important;}

*,
*::before,
*::after {
	box-sizing: border-box;
}



/* ===============================
   COMMON - TYPOGRAPHY
================================= */
/* --- HEADING --- */
h1.wp-block-heading, .nd-h1 {font-size: 32px; line-height: 42px;}
h2.wp-block-heading, .nd-h2 {font-size: 28px; line-height: 38px;}
h3.wp-block-heading, .nd-h3 {font-size: 36px; line-height: normal;}
h4.wp-block-heading, .nd-h4 {font-size: 20px; line-height: normal;}

.nd-h1 {font-family: var(--wp--preset--font-family--yantramanav);}

@media (min-width: 640px) {
  h1.wp-block-heading, .nd-h1 {font-size: 36px; line-height: 46px;}
  h2.wp-block-heading, .nd-h2 {font-size: 32px; line-height: 42px;}
}

@media (min-width: 768px) {
  h1.wp-block-heading, .nd-h1 {font-size: 40px; line-height: 50px;}
  h2.wp-block-heading, .nd-h2 {font-size: 36px; line-height: 46px;}
}

@media (min-width: 1024px) {
  h1.wp-block-heading, .nd-h1 {font-size: 48px; line-height: 58px;}
}

@media (min-width: 1280px) {
  h1.wp-block-heading, .nd-h1 {font-size: 50px; line-height: 60px;}
  h2.wp-block-heading, .nd-h2 {font-size: 40px; line-height: 50px;}
}

@media (min-width: 1512px) {
  h1.wp-block-heading, .nd-h1 {font-size: 54px; line-height: 60px;}
  h2.wp-block-heading, .nd-h2 {font-size: 44px; line-height: 50px;}
}

h1:where(.wp-block-heading).has-background,
h2:where(.wp-block-heading).has-background,
/* h3:where(.wp-block-heading).has-background,
h4:where(.wp-block-heading).has-background,
h5:where(.wp-block-heading).has-background, */
h6:where(.wp-block-heading).has-background {
  padding: 6px 16px !important;
}

h1.nd-highlight-title,
h2.nd-highlight-title,
h3.nd-highlight-title,
h4.nd-highlight-title {
  padding-right: 150px !important;
}

/* --- PARAGRAPH --- */
/* PHRASE */
p.nd-phrase,
ul.nd-phrase {
  font-family: var(--wp--preset--font-family--yantramanav);
  font-size: 20px;
  font-weight: 400;
  line-height: 25.9px;
}

@media (min-width: 640px) {
  p.nd-phrase {font-size: 24px; line-height: 31.1px;}
}

@media (min-width: 768px) {
  p.nd-phrase {font-size: 32px; line-height: 41.5px;}
}

/* FAT */
p.nd-fat {
  font-family: var(--wp--preset--font-family--yantramanav);
  font-size: 40px;
  line-height: 40px;
  font-weight: 900;
}

p.nd-fat.has-background {
  padding: 16px !important;
}

/* CALLOUT */
p.nd-callout,
ul.nd-callout {
  font-family: var(--wp--preset--font-family--fustat);
  font-size: 18px;
  line-height: 25.59px;
  font-weight: 500;
}

@media (min-width: 1024px) {
  p.nd-callout,
  ul.nd-callout {
    font-size: 24px;
    line-height: 34.12px;
  }
}

/* GRAND TITRE */
h1.nd-grand-titre {
  font-family: var(--wp--preset--font-family--yantramanav);
  font-size: 44px;
  line-height: 54px;
  font-weight: 900;
}

@media (min-width: 640px) {h1.nd-grand-titre {font-size: 48px; line-height: 58px;}}
@media (min-width: 768px) {h1.nd-grand-titre {font-size: 52px; line-height: 62px;}}
@media (min-width: 1024px) {h1.nd-grand-titre {font-size: 56px; line-height: 70px;}}
@media (min-width: 1280px) {h1.nd-grand-titre {font-size: 60px; line-height: 70px;}}
@media (min-width: 1512px) {h1.nd-grand-titre {font-size: 64px; line-height: 74px;}}

/* --- LIST --- */
ul {
  list-style: disc;
  padding-left: 20px;
}



/* ===============================
   BLOCK - GRID BACKGROUND SECTION
================================= */
.page-id-23 header .nd-header__actions div.hidden.sm\:block {
  display: none;
}

/* ===============================
   BLOCK - GRID BACKGROUND SECTION
================================= */
.block-editor-block-list__block.wp-block.nd-hero-content {
  position: absolute;
  left: 80px;
  bottom: 80px;
  max-width: 895px;
}


/* @keyframes hatch-scroll {
  from {background-position: 0 0;}
  to {background-position: -25px 25px;}
}

.block-editor-rich-text__editable.has-light-color {
  background: linear-gradient(45deg, var(--wp-admin-theme-color-darker-10) 12.5%, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 12.5%, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 37.5%, var(--wp-admin-theme-color-darker-10) 37.5%, var(--wp-admin-theme-color-darker-10) 62.5%, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 62.5%, var(--wp-components-color-accent, var(--wp-admin-theme-color, #3858e9)) 87.5%, var(--wp-admin-theme-color-darker-10) 87.5%);
  background-size: 25px 25px;
  animation: hatch-scroll 1s linear infinite;
  padding: 10px;
} */



/* ===============================
   BLOCK - GRID BACKGROUND SECTION
================================= */
/* Structure de base commune */
.gasparini-grid-background {
  --grid-size: 55px;
  background-image: 
    linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
  background-size: var(--grid-size) var(--grid-size);
}

/* Variations de couleurs uniquement */
.gasparini-grid-light { --grid-color: rgba(255, 255, 255, 0.154); }
.gasparini-grid-dark  { --grid-color: rgba(0, 0, 0, 0.0718); }



/* ===============================
   BLOCK - EMBED YOUTUBE
================================= */
button.icon-button.player-control-play-pause-icon {
    display: none;
}



/* ===============================
   BLOCK - COVER
================================= */
.wp-block-cover .wp-block-cover__background.has-background-dim.has-background-dim-30, .wp-block-cover .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30, .wp-block-cover-image .wp-block-cover__background.has-background-dim.has-background-dim-30, .wp-block-cover-image .wp-block-cover__gradient-background.has-background-dim.has-background-dim-30 {
  opacity: 0 !important;
}



/* ===============================
   PLUGIN - WP FORMS
================================= */
div#wpforms-1282,
div#wpforms-1340
 {
  width: 100%;
  font-family: var(--wp--preset--font-family--fustat) !important;
}

div#wpforms-1282 .wpforms-field-label,
div#wpforms-1340 .wpforms-field-label {
  font-weight: 500;
  margin-bottom: 6px !important;
}

.wpforms-container .wpforms-field, .wp-core-ui div.wpforms-container .wpforms-field {
  padding: 0 !important;
  margin-top: 16px !important;
}

div#wpforms-1282 span.wpforms-required-label,
div#wpforms-1340 span.wpforms-required-label {
  display: none;
}

div#wpforms-1282 .wpforms-submit-container,
div#wpforms-1340 .wpforms-submit-container {
  margin-top: 60px !important;
}

div#wpforms-1282 .wpforms-submit-container button span,
div#wpforms-1340 .wpforms-submit-container button span {
  font-family: var(--wp--preset--font-family--yantramanav) !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
}

/* UPLOAD */
.wpforms-uploader.dz-clickable span.modern-title {
	color: #ffffff !important;
	font-family: var(--wp--preset--font-family--yantramanav) !important;
	font-size: 16px !important;
	font-weight: 500 !important;
}

form#wpforms-form-1340 button {
  margin-bottom: 25px;
}



/* ===============================
   PLUGIN - NETDEV FOOTER
================================= */
.netdev-footer {
  font-family: var(--wp--preset--font-family--fustat);
  z-index: 10;
}

.netdev-footer .netdev-footer-content .logo {
  position: relative;
  top: -5px;
}













html {
  --header-height: 98px;
  scroll-behavior: smooth;
}

#candidature {
  scroll-margin-top: var(--header-height);
}