/*!
Theme Name: Koyalidoscope
Author: Koyali
Author URI: https://koya.li
Description: Koyalidoscope is Koyali's main portfolio template. First issued in 2022.
Version: 1.1.0
License URI: LICENSE
Text Domain: koyalidoscope
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready, portfolio

koyalidoscope is based on Underscores https://underscores.me/, (C) 2012-2017 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
* {
  outline: none;
}

html {
  font-family: sans-serif;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

main {
  display: flex;
  flex-direction: column;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background-color: transparent;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: bold;
}

i,
dfn,
figcaption {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #000;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type='button'],
input[type='reset'],
input[type='submit'] {
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type='checkbox'],
input[type='radio'] {
  box-sizing: border-box;
  padding: 0;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  height: auto;
}

input[type='search']::-webkit-search-cancel-button,
input[type='search']::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/

/* Roboto Flex (assets/fonts/roboto-flex.css), drawn with one stroke, like the pictograms: about 1.2px everywhere.
   The weight stays 400; XOPQ and YOPQ set the thickness of the vertical and horizontal strokes, in thousandths of the
   size of the letters: so the bigger the text, the smaller they are (20.8px: 64, 32px: 53, 48px: 49). They were measured
   for each size and width; a size or a width changed here needs them measured again. The optical size (opsz) follows the size by itself.
   Width (wdth): every title is expanded (151, and XTRA 540 widens the inside of their letters),
   the text a little (120), and the buttons, menu and links with icon are condensed by the narrower inside of their
   letters (XTRA 360), the width changing little at small sizes. On a Mac, light text on a dark background is drawn bolder
   unless it is "antialiased", which the pictograms (SVG) never are: hence -webkit-font-smoothing. */

@font-face {
  font-family: 'RS', monospace;
  src: url("RS.woff2") format('woff2'), url("RS.woff2") format('woff'),
    url("RS.otf") format('opentype');
}

body,
button,
input,
select,
optgroup,
textarea {
  font-family: 'Roboto Flex', sans-serif;
  font-size: 20.8px;
  font-size: 1.3rem;
  font-weight: 400;
  font-variation-settings: 'wdth' 120, 'XOPQ' 64, 'YOPQ' 63;
  line-height: 130%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2 {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-variation-settings: 'wdth' 151, 'XTRA' 540, 'XOPQ' 49, 'YOPQ' 43;
  letter-spacing: 0.06em;
  clear: both;
  font-size: 3rem;
  line-height: 100%;
}

/* Sugeng Rawuh, only for the h2 given it in Goupil (Titre block, "Police Sugeng Rawuh") */
h2.font-sugeng {
  font-family: 'Sugeng Rawuh', 'Roboto Flex', sans-serif;
  letter-spacing: normal; /* its letters are joined */
  font-size: 5.2rem;
  margin: 1.5rem 0 0.5rem;
}

h3 {
  font-family: 'Roboto Flex', sans-serif;
  clear: both;
  font-weight: 400;
  font-variation-settings: 'wdth' 151, 'XTRA' 540, 'XOPQ' 53, 'YOPQ' 49;
  letter-spacing: 0.04em;
  font-size: 2rem;
  line-height: 110%;
  margin-bottom: 0.4em; /* close to what it introduces */
}

h4 {
  font-family: 'Roboto Flex', sans-serif;
  clear: both;
  font-weight: 400;
  font-variation-settings: 'wdth' 151, 'XTRA' 540, 'XOPQ' 60, 'YOPQ' 60;
  font-size: 1.35rem;
  line-height: 100%;
  margin: 0.4em 0 1.1em; /* close to the title above, apart from the text below */
}

h5,
h6 {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-variation-settings: 'wdth' 151, 'XTRA' 540, 'XOPQ' 63, 'YOPQ' 63;
  font-size: 1.25rem;
  line-height: 120%;
}

.protected h1:before,
.protected h2:before,
.protected h3:before {
  font-family: 'dashicons';
  content: '\f160';
  margin-right: 0.2em;
}
p {
  margin: 0 0 1rem;
}

.text-justify {
  text-align: justify;
}

.lowercase,
.lowercase * {
  text-transform: initial !important;
}

/*==========BOUTONS==========*/

#cat-parents a:last-child {
  display: none;
}

.nav-links {
  margin: 0 2rem;
}

a.dl,
.boutons-header a,
.nav-links a {
  position: relative;
  display: flex;
  align-items: center;
  padding-left: 3.5rem;
  word-break: break-all;
  text-decoration: none;
  min-height: 3rem;
}
.nav-next a {
  padding-left: 0;
  padding-right: 3.5rem;
  text-align: right;
  justify-content: flex-end;
}

.boutons-header a,
.nav-links a,
.button a,
.page-num,
a.dl {
  text-transform: uppercase;
  font-size: 1rem; /* not smaller; long labels go on two or three lines */
  /* condensed: at this small size the width (wdth) changes little, the narrower inside of the letters (XTRA) does */
  font-variation-settings: 'wdth' 100, 'XTRA' 360, 'XOPQ' 79, 'YOPQ' 78;
  line-height: 110%;
  word-break: normal;
}

.button.outline {
  transform: scale(1.2);
  transform-origin: top;
}

.button.outline a {
  font-variation-settings: 'wdth' 100, 'XTRA' 360, 'XOPQ' 68, 'YOPQ' 67; /* condensed like the menu; the button is enlarged 1.2 times (.button.outline) */
  border-width: 1px !important;
  color: white !important;
  transition: color 0.15s ease-out;
}

.button.outline a:hover {
  color: #cbb6e7 !important; /* lavande */
}

/* social logo links icons */

.social-links {
  margin-top: 0.5rem;
}

.footer-content .social-links {
  margin: 2rem 0 0;
}

.social-links:not(.logos-only) .social-link {
  background-color: white !important;
  color: #205164 !important;
  mix-blend-mode: screen;
}

.social-links.logos-only .social-link:not(:hover) {
  color: white !important;
}

.social-links.logos-only .social-link {
  transform-origin: center;
  transition: color 0.25s ease-out, transform 0.25s ease-out;
}

.social-links.logos-only .social-link:hover {
  transform: scale(1);
}

/* custom buttons */

a.dl:after,
.boutons-header a:after,
.nav-links a:after {
  content: ' ';
  display: inline-block;
  position: absolute;
  left: 0;
  top: calc(50% - 1.5rem);
  width: 3rem;
  height: 3rem;
  background-image: url("images/btn-dl.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
}

.nav-next a:after {
  left: auto;
  right: 0;
}

a.dl:hover:after,
.boutons-header a:hover:after,
.boutons-header a.home:hover:after,
.nav-previous a:hover:after,
.nav-next a:hover:after,
a.dl:focus:after,
a.dl:active:after,
.boutons-header a:focus:after,
.boutons-header a:active:after,
.nav-links a:focus:after,
.nav-links a:active:after {
  background-image: none !important;
  background-color: #cbb6e7; /* lavande */
}

.boutons-header a:after {
  background-image: url("images/btn-prev.svg");
}

.boutons-header a.home:after {
  background-image: url("images/btn-home.svg");
}

.nav-previous a:after {
  background-image: url("images/btn-prev.svg");
}

.nav-next a:after {
  background-image: url("images/btn-next.svg");
}

a.dl.ext:after {
  background-image: url("images/btn-ext.svg");
}

/* More icons of Goupil's "Lien avec icône": a link (chain), see (eye), more (+). */
a.dl.link:after {
  background-image: url("images/btn-link.svg");
}

a.dl.view:after {
  background-image: url("images/btn-view.svg");
}

a.dl.more:after {
  background-image: url("images/btn-more.svg");
}

/* Home (the same house as the menu's "Accueil") and search (magnifier). */
a.dl.home:after {
  background-image: url("images/btn-home.svg");
}

a.dl.search:after {
  background-image: url("images/btn-search.svg");
}

/* Envelope (write an e-mail), bookmark, share. */
a.dl.mail:after {
  background-image: url("images/btn-mail.svg");
}

a.dl.bookmark:after {
  background-image: url("images/btn-bookmark.svg");
}

a.dl.share:after {
  background-image: url("images/btn-share.svg");
}

/* "Alignement" of a "Lien avec icône": the link is only as wide as its icon and text. */
.text-center > a.dl,
.text-right > a.dl {
  width: fit-content;
}

.text-center > a.dl {
  margin-inline: auto;
}

.text-right > a.dl {
  margin-left: auto;
}

a.dl:hover:after,
a.dl:focus:after,
a.dl:active:after {
  -webkit-mask-image: url("images/btn-dl.svg");
  mask-image: url("images/btn-dl.svg");
}

.boutons-header a:hover:after,
.boutons-header a:focus:after,
.boutons-header a:active:after {
  -webkit-mask-image: url("images/btn-prev.svg");
  mask-image: url("images/btn-prev.svg");
}

.boutons-header a.home:hover:after,
.boutons-header a.home:focus:after,
.boutons-header a.home:active:after {
  -webkit-mask-image: url("images/btn-home.svg");
  mask-image: url("images/btn-home.svg");
}

.nav-previous a:hover:after,
.nav-previous a:focus:after,
.nav-previous a:active:after {
  -webkit-mask-image: url("images/btn-prev.svg");
  mask-image: url("images/btn-prev.svg");
}

.nav-next a:hover:after,
.nav-next a:focus:after,
.nav-next a:active:after {
  -webkit-mask-image: url("images/btn-next.svg");
  mask-image: url("images/btn-next.svg");
}

a.dl.ext:hover:after,
a.dl.ext:focus:after,
a.dl.ext:active:after {
  -webkit-mask-image: url("images/btn-ext.svg");
  mask-image: url("images/btn-ext.svg");
}

a.dl.link:hover:after,
a.dl.link:focus:after,
a.dl.link:active:after {
  -webkit-mask-image: url("images/btn-link.svg");
  mask-image: url("images/btn-link.svg");
}

a.dl.view:hover:after,
a.dl.view:focus:after,
a.dl.view:active:after {
  -webkit-mask-image: url("images/btn-view.svg");
  mask-image: url("images/btn-view.svg");
}

a.dl.more:hover:after,
a.dl.more:focus:after,
a.dl.more:active:after {
  -webkit-mask-image: url("images/btn-more.svg");
  mask-image: url("images/btn-more.svg");
}

a.dl.home:hover:after,
a.dl.home:focus:after,
a.dl.home:active:after {
  -webkit-mask-image: url("images/btn-home.svg");
  mask-image: url("images/btn-home.svg");
}

a.dl.search:hover:after,
a.dl.search:focus:after,
a.dl.search:active:after {
  -webkit-mask-image: url("images/btn-search.svg");
  mask-image: url("images/btn-search.svg");
}

a.dl.mail:hover:after,
a.dl.mail:focus:after,
a.dl.mail:active:after {
  -webkit-mask-image: url("images/btn-mail.svg");
  mask-image: url("images/btn-mail.svg");
}

a.dl.bookmark:hover:after,
a.dl.bookmark:focus:after,
a.dl.bookmark:active:after {
  -webkit-mask-image: url("images/btn-bookmark.svg");
  mask-image: url("images/btn-bookmark.svg");
}

a.dl.share:hover:after,
a.dl.share:focus:after,
a.dl.share:active:after {
  -webkit-mask-image: url("images/btn-share.svg");
  mask-image: url("images/btn-share.svg");
}

a.dl:focus:after,
a.dl:active:after,
.boutons-header a:focus:after,
.boutons-header a:active:after,
.nav-links a:focus:after,
.nav-links a:active:after {
  transform: scale(0.9);
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.nav-next,
.nav-previous {
  width: calc(100% / 5 * 2);
}

.nav-next,
.nav-previous,
.page-num {
  display: flex; /* hauteur automatique */
  float: none !important;
  margin-top: 1rem;
}

.nav-next {
  margin-left: auto;
  padding-left: 1rem;
  justify-content: flex-end;
}

.nav-previous {
  margin-right: auto;
  padding-right: 1rem;
}

.nav-links .placeholder {
  /* Totalement invisible et intangible, mais permet d'espacer correctement le menu en flex justifié en space-between. */
  color: transparent;
  background: transparent;
  pointer-events: none;
  /* Ne pas permettre la sélection du texte */
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
	                                  supported by Chrome and Opera */
}

.buttons {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 100;
  position: relative;
}

.buttons .button {
  margin: 0;
  padding: 0 1.5rem 2rem;
}

.buttons + * {
  /* corriger l'espacement avec l'élément suivant */
  margin-top: -1rem;
  z-index: 200;
  position: relative;
}

.page-num {
  padding: 0 1rem;
  white-space: nowrap;
  display: inline-block;
  text-align: center;
  width: calc(100% / 5);
}

.single-date {
  text-transform: uppercase;
  font-size: 1rem;
  font-variation-settings: 'wdth' 100, 'XOPQ' 79, 'YOPQ' 78;
  padding: 0.2rem 0 0.8rem;
}
/* The "er" of "1er" stays in small letters in the dates written in capitals. */
.single-date sup,
.cube .cube-date sup {
  text-transform: none;
}

/*===================================*/

b,
strong {
  font-weight: 400;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: 'Courier 10 Pitch', Courier, monospace;
  font-size: 15px;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: Monaco, Consolas, 'Andale Mono', 'DejaVu Sans Mono', monospace;
  font-size: 15px;
  font-size: 0.9375rem;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
  box-sizing: border-box;
  overflow-x: hidden;
  scroll-behavior: smooth;

  /* Le fond océan couvre la page (une image d'une seule couleur, sans répétition) ; autour, le fond
     « infini » est paon. Quand on tire la page au-delà du haut (rebond, pour recharger), c'est lui qui apparaît
     au-dessus de la nébuleuse paon, de la même couleur : les deux ne se détachent plus. Le bas du footer finit
     aussi dans ce turquoise. (Sur body, ce fond passerait par-dessus les nébuleuses.) */
  background: #18606b /* Paon */ linear-gradient(#163557, #163557) /* Océan */ no-repeat;
}

*,
*:before,
*:after {
  /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  box-sizing: inherit;
}

body {
  color: white;
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

#page.site {
  min-height: 100vh;

  /* Résoudre le problème de scroll horizontal sur certains navigateurs
	(peut arriver avec des éléments en vw, par exemple les .width-full) */
  width: 100%;
  overflow: hidden;

  /* coller le footer en bas de la page même si elle est moins haute que la fenêtre */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.nebuleuse {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -999;
}

.nebuleuse.paon {
  bottom: 50%;

  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#18606b+0,18606b+100&1+1,0.5+20,0+63 */
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#18606b+0,18606b+100&1+1,0.5+20,0+63 */
  background: -moz-linear-gradient(
    top,
    rgba(24, 96, 107, 1) 0%,
    rgba(24, 96, 107, 1) 1%,
    rgba(24, 96, 107, 0.5) 20%,
    rgba(24, 96, 107, 0) 63%,
    rgba(24, 96, 107, 0) 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    top,
    rgba(24, 96, 107, 1) 0%,
    rgba(24, 96, 107, 1) 1%,
    rgba(24, 96, 107, 0.5) 20%,
    rgba(24, 96, 107, 0) 63%,
    rgba(24, 96, 107, 0) 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to bottom,
    rgba(24, 96, 107, 1) 0%,
    rgba(24, 96, 107, 1) 1%,
    rgba(24, 96, 107, 0.5) 20%,
    rgba(24, 96, 107, 0) 63%,
    rgba(24, 96, 107, 0) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#18606b', endColorstr='#0018606b',GradientType=0 ); /* IE6-9 */
}

.nebuleuse.prune {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#483166+0,483166+100&0+40,1+100 */
  background: -moz-linear-gradient(
    100deg,
    rgba(72, 49, 102, 0) 0%,
    rgba(72, 49, 102, 0) 40%,
    rgba(72, 49, 102, 1) 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    100deg,
    rgba(72, 49, 102, 0) 0%,
    rgba(72, 49, 102, 0) 40%,
    rgba(72, 49, 102, 1) 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    100deg,
    rgba(72, 49, 102, 0) 0%,
    rgba(72, 49, 102, 0) 40%,
    rgba(72, 49, 102, 1) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00483166', endColorstr='#483166',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.nebuleuse.olivine {
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#a0ba95+0,a0ba95+100&0.9+0,0+80 */
  background: -moz-linear-gradient(
    65deg,
    rgba(160, 186, 149, 0.9) 0%,
    rgba(160, 186, 149, 0) 80%,
    rgba(160, 186, 149, 0) 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    65deg,
    rgba(160, 186, 149, 0.9) 0%,
    rgba(160, 186, 149, 0) 80%,
    rgba(160, 186, 149, 0) 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    65deg,
    rgba(160, 186, 149, 0.9) 0%,
    rgba(160, 186, 149, 0) 80%,
    rgba(160, 186, 149, 0) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6a0ba95', endColorstr='#00a0ba95',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.galaxie {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 55%;
  max-width: 44rem;
  background-size: 100%;
  background-repeat: no-repeat;
  z-index: -999;
  transition: background-position 0.25s ease-out; /* lissage du parallaxe */
}

.galaxie.alpha {
  right: 0;
  background-image: url("images/galaxie_alpha.svg");
  background-position-x: right !important;
  background-position-y: top;
}

.galaxie.beta {
  left: 0;
  background-image: url("images/galaxie_beta.svg");
  background-position-x: -1.5rem !important;
  background-position-y: top;
}

/*--------------------------------------------------------------
# Colours
--------------------------------------------------------------*/

/* Océan */
.color-ocean {
  color: #163557;
}
.bg-ocean {
  background-color: #163557;
}

/* Paon */
.color-paon {
  color: #18606b;
}
.bg-paon {
  background-color: #18606b;
}

/* Olivine */
.color-olivine {
  color: #a0ba95;
}
.bg-olivine {
  background-color: #a0ba95;
}

/* Prune */
.color-prune {
  color: #483166;
}
.bg-prune {
  background-color: #483166;
}

/* Lavande */
.color-lavande {
  color: #cbb6e7;
}
.bg-lavande {
  background-color: #cbb6e7;
}

/* Pêche */
.color-peche {
  color: #edb99d;
}
.bg-peche {
  background-color: #edb99d;
}

/* Noir */
.color-noir {
  color: #000000;
}
.bg-noir {
  background-color: #000000;
}

/* Blanc */
.color-blanc {
  color: #ffffff;
}
.bg-blanc {
  background-color: #ffffff;
}

/*------------------------------------------------------------*/
hr {
  background-color: white;
  border: 0;
  height: 1px;
  margin: 3rem 0 3rem;
}

ul,
ol {
  margin: 0 0 1rem 0;
  padding: 0 0 0 1rem;
}

ul {
  list-style: disc;
}

li {
  margin-bottom: 0.3em;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: bold;
}

dd {
  margin: 0 1.5em 1.5em;
}

img {
  height: auto;
  /* Make sure images are scaled correctly. */
  max-width: 100%;
  /* Adhere to container width. */
}

figure {
  margin: 1em 0;
  /* Extra wide images within figure tags don't overflow the content area. */
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
button,
input[type='button'],
input[type='reset'],
input[type='submit'] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

input[type='submit'] {
  display: inline-block;
  background-color: transparent;
  background-image: url("images/btn-next.svg");
  border: none;
  width: 3rem;
  height: 3rem;
  color: transparent;
  transition: transform 0.5s ease;
}

input[type='submit']:hover {
  background-image: none !important;
  background-color: #cbb6e7; /* lavande */
  -webkit-mask-image: url("images/btn-next.svg");
  mask-image: url("images/btn-next.svg");
}

input[type='submit']:focus {
  transform: scale(0.95);
  outline: none;
}

input[type='submit']:active {
  transform: scale(0.9);
  outline: none;
}

/* on ne peut pas mettre ces propriétés ensemble en un bloc séparées par des virgules car si une seule est invalide pour un navigateur, il ignore tout le bloc */
::-webkit-input-placeholder {
  /* WebKit, Blink, Edge */
  color: #bbb;
}
:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #bbb;
  opacity: 1;
}
::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #bbb;
  opacity: 1;
}
:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #bbb;
}
::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #bbb;
}

::placeholder {
  /* Most modern browsers support this now. */
  color: #bbb;
}

button:hover,
input[type='button']:hover,
input[type='reset']:hover,
input[type='submit']:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type='button']:active,
input[type='button']:focus,
input[type='reset']:active,
input[type='reset']:focus,
input[type='submit']:active,
input[type='submit']:focus {
  border-color: #aaa #bbb #bbb;
}

input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='search'],
input[type='number'],
input[type='tel'],
input[type='range'],
input[type='date'],
input[type='month'],
input[type='week'],
input[type='time'],
input[type='datetime'],
input[type='datetime-local'],
input[type='color'],
textarea {
  color: white;
  background: rgba(255, 255, 255, 0.02);
  padding: 0.75rem 1rem;
  border: 1px solid white;
  border-radius: 0.2rem;
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-variation-settings: 'wdth' 120, 'XOPQ' 64, 'YOPQ' 63;
  transition: background 0.25s ease-out;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='url']:focus,
input[type='password']:focus,
input[type='search']:focus,
input[type='number']:focus,
input[type='tel']:focus,
input[type='range']:focus,
input[type='date']:focus,
input[type='month']:focus,
input[type='week']:focus,
input[type='time']:focus,
input[type='datetime']:focus,
input[type='datetime-local']:focus,
input[type='color']:focus,
textarea:focus {
  background: rgba(255, 255, 255, 0.06);
}

select {
  border: 1px solid #465159; /* acier */
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a,
a:visited {
  color: inherit;
  text-decoration: underline;
}

a:hover,
a:focus,
a:active {
  color: #cbb6e7; /* lavande */
}

a:focus {
  outline: none;
}

a:hover,
a:active {
  outline: 0;
}

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
  clear: both;
  display: none;
  float: left;
  width: 100%;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  left: 100%;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  float: left;
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }
  .main-navigation ul {
    display: block;
  }
}

.site-main .nav-links {
  margin: 0 0 1.5em;
  overflow: hidden;
}

.nav-links .nav-previous {
  float: left;
  width: 50%;
}

.nav-links .nav-next {
  float: right;
  text-align: right;
  width: 50%;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.visually-hidden {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.visually-hidden:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#content[tabindex='-1']:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.centered {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.group-slider .centered > * {
  margin: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
  content: '';
  display: table;
  table-layout: fixed;
}

.clear:after,
.site-header:after,
.site-content:after,
.site-footer:after {
  clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/

.widget select {
  max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

/* ====ALIGNMENTS==== */

.wrapper {
  padding: 0 2rem;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ALIGN NARROW */
.wrapper > *.width-narrow,
.wrapper > .footer-content {
  max-width: 480px;
}

/* ALIGN STANDARD */
.wrapper > * {
  width: 100%;
  max-width: 960px;
}

/* ALIGN WIDE */
.wrapper > *.width-wide {
  max-width: 1280px;
}

/* ALIGN FULL */
.wrapper > *.width-full {
  max-width: 100%; /* Fallback in case vw not supported */
  /* This tells the browser to calculate 50% of the its container’s width (ex: 900px) and subtract from it 50% of the viewport width (ex: 1600px). This results in a negative margin that pulls the element to the edges of the screen.
	Make sure you have width: 100%; overflow: hidden; on your site container. In some browsers, the 100vw doesn’t consider the vertical scrollbar so it will make your page a bit too wide, adding a horizontal scrollbar. >> #page.site */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}

.wrapper .wrapper {
  /* nested wrappers */
  max-width: 100%;
  padding: 0;
}

/* =================== */

.page-header {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 1rem 0;
}

.boutons-header {
  margin: 0.5rem 2rem 0 0;
  width: calc(25% - 2rem);
}

.boutons-header a {
  margin-bottom: 0.5rem;
}
.excerpt {
  width: 50%;
  max-width: 50%;
  text-align: center;
}

/* The introduction is centred under the title (on the left on phones, see max-width: 640px), not justified, with
   words cut at the end of a line (French, from lang="fr") for a more even edge. */
.excerpt p {
  -webkit-hyphens: auto;
  hyphens: auto;
  /* Cut only words of 6 letters or more, leaving at least 3 letters on each line (Chrome, Edge, Firefox; Safari:
     -webkit-hyphenate-limit-before/after), never 2 lines in a row (Safari only), and let the browser balance the last
     lines (no lonely word, fewer cuts and gaps: text-wrap: pretty). */
  hyphenate-limit-chars: 6 3 3;
  -webkit-hyphenate-limit-before: 3;
  -webkit-hyphenate-limit-after: 3;
  -webkit-hyphenate-limit-lines: 1;
  text-wrap: pretty;
}

/* The home page's introduction stays centred. */
body.home .excerpt p {
  text-align: center;
}

body.home .excerpt {
  width: 57%;
  max-width: 57%;
  margin: 0 auto;
  padding: 0 2rem;
}

.excerpt h1 {
  font-size: 2.55rem;
  font-variation-settings: 'wdth' 151, 'XTRA' 540, 'XOPQ' 50, 'YOPQ' 45;
  margin: 0 0 0.5rem;
}

.archive-meta b {
  font-family: 'Roboto Flex', sans-serif;
  font-variation-settings: 'wdth' 100, 'XOPQ' 70, 'YOPQ' 69;
  text-transform: uppercase;
  font-size: 1.15rem;
  display: block;
  margin: 0.2rem 0 0.8rem;
}

.page-header p {
  margin: 0;
}

body.page .single-date,
body.page nav.post-navigation {
  display: none;
}

/*=====BANDEAU=CATEGORIES=DÉFILANT=====*/

.homecats {
  margin-top: 1rem;
}

.cat-bandeau {
  color: white !important;
  display: block;
  text-decoration: none;
  background-color: #18606b; /* paon */
  margin-bottom: 2rem;
  position: relative;
  min-height: 12rem;
}

.cat-bandeau h2,
.cat-bandeau h3,
.cat-bandeau h4 {
  margin: 0;
}

.cat-bandeau .wrapper {
  position: relative;
  z-index: 999;
}

/* The name and the project's title are centred on the icon, whatever the font's line heights */
.cat-info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.cat-logo {
  width: 6rem;
  height: 6rem;
  margin: 3rem 0;
}

.cat-content {
  width: calc(100% - 7.75rem);
  margin: 0;
}

.cat-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: calc(50% - 1px);

  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#18606b+59,18606b+90&1+5,0.8+35,0+90 */
  background: -moz-linear-gradient(
    left,
    rgba(24, 96, 107, 1) 5%,
    rgba(24, 96, 107, 0.8) 35%,
    rgba(24, 96, 107, 0.45) 59%,
    rgba(24, 96, 107, 0) 90%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    left,
    rgba(24, 96, 107, 1) 5%,
    rgba(24, 96, 107, 0.8) 35%,
    rgba(24, 96, 107, 0.45) 59%,
    rgba(24, 96, 107, 0) 90%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to right,
    rgba(24, 96, 107, 1) 5%,
    rgba(24, 96, 107, 0.8) 35%,
    rgba(24, 96, 107, 0.45) 59%,
    rgba(24, 96, 107, 0) 90%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#18606b', endColorstr='#0018606b',GradientType=1 ); /* IE6-9 */
}

.bandeau-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  opacity: 1;
  -webkit-transition: opacity 1s ease;
  -moz-transition: opacity 1s ease;
  -o-transition: opacity 1s ease;
  transition: opacity 1s ease;

  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#cbb6e7+0,18606b+80&1+5,0.6+62 */
  background: -moz-linear-gradient(
    5deg,
    rgba(160, 186, 149, 1) 0%,
    rgba(152, 180, 146, 1) 5%,
    rgba(55, 116, 116, 0.6) 62%,
    rgba(24, 96, 107, 0.6) 80%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    5deg,
    rgba(160, 186, 149, 1) 0%,
    rgba(152, 180, 146, 1) 5%,
    rgba(55, 116, 116, 0.6) 62%,
    rgba(24, 96, 107, 0.6) 80%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    5deg,
    rgba(160, 186, 149, 1) 0%,
    rgba(152, 180, 146, 1) 5%,
    rgba(55, 116, 116, 0.6) 62%,
    rgba(24, 96, 107, 0.6) 80%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cbb6e7', endColorstr='#9918606b',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.bandeau-overlay.survol {
  /* prune boostée et pêche */
  opacity: 0;

  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#edb99d+0,2b1056+80&0.8+5,0.6+62 */
  background: -moz-linear-gradient(
    10deg,
    rgba(237, 185, 157, 0.8) 0%,
    rgba(225, 174, 153, 0.8) 5%,
    rgba(87, 54, 102, 0.6) 62%,
    rgba(43, 16, 86, 0.6) 80%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    10deg,
    rgba(237, 185, 157, 0.8) 0%,
    rgba(225, 174, 153, 0.8) 5%,
    rgba(87, 54, 102, 0.6) 62%,
    rgba(43, 16, 86, 0.6) 80%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    10deg,
    rgba(237, 185, 157, 0.8) 0%,
    rgba(225, 174, 153, 0.8) 5%,
    rgba(87, 54, 102, 0.6) 62%,
    rgba(43, 16, 86, 0.6) 80%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ccedb99d', endColorstr='#992b1056',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.cat-bandeau:hover .bandeau-overlay {
  opacity: 0;
}

.cat-bandeau:hover .bandeau-overlay.survol {
  opacity: 1;
}

.post-thumbnail {
  position: absolute !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 50%;
}

.post-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.post-thumbnail .slick-list,
.post-thumbnail .slick-track {
  position: absolute !important;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

@media screen and (min-width: 460px) {
  /* ----- ALTERNANCE DRAPEAU ----- */

  .cat-bandeau:nth-child(even) .cat-info {
    flex-direction: row-reverse;
    text-align: right;
  }

  /* retourner les éléments en miroir horizontal */
  .cat-bandeau:nth-child(even) .bandeau-overlay,
  .cat-bandeau:nth-child(even) .cat-overlay {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: 'FlipH';
  }

  /* Mirror of the odd banners: the image takes the left half, and its gradient 1px more, so that no line shows at
     the edge of the image */
  .cat-bandeau:nth-child(even) .cat-overlay,
  .cat-bandeau:nth-child(even) .post-thumbnail {
    top: 0;
    left: 0;
    bottom: 0;
    right: 50%;
  }

  .cat-bandeau:nth-child(even) .cat-overlay {
    right: calc(50% - 1px);
  }

  .cat-bandeau .cat-content {
    margin: auto 0;
  }
}

/*=======================================*/

/*=====VIGNETTES=====*/

.nav-posts {
  order: 10;
}

#main > .cubegrid {
  order: 9; /* mettre la boucle des articles après
	les bandeaux des sous-catégories (sinon bug de query) */
}

#vignettes {
  order: 9; /* mettre la boucle des articles après
		les bandeaux des sous-catégories (sinon bug de query) */

  display: flex;
  flex-wrap: wrap;
  max-width: 960px;
  margin-left: calc((100% - 960px) / 2);
  margin-bottom: 1rem;
}

.vignette {
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 33.333%;
  background-color: white;
  position: relative;
}

.vignette:after {
  content: '';
  display: block;
  padding-bottom: 56.25%; /* 16:9 aspect ratio tant que la hauteur du parent n'est pas définie */
}

.vignette a {
  color: white;
  font-size: 0.9rem !important;
  text-align: justify;
  text-decoration: none;
  word-break: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  -o-hyphens: auto;
  hyphens: auto;

  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;

  padding: 1rem;
  overflow: hidden;

  /* paon et olivine */
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#cbb6e7+0,18606b+66&1+0,0.8+100 */
  background: -moz-linear-gradient(
    15deg,
    rgba(160, 186, 149, 1) 0%,
    rgba(24, 96, 107, 0.87) 66%,
    rgba(24, 96, 107, 0.8) 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    15deg,
    rgba(160, 186, 149, 1) 0%,
    rgba(24, 96, 107, 0.87) 66%,
    rgba(24, 96, 107, 0.8) 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    15deg,
    rgba(160, 186, 149, 1) 0%,
    rgba(24, 96, 107, 0.87) 66%,
    rgba(24, 96, 107, 0.8) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cbb6e7', endColorstr='#cc18606b',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */

  opacity: 0;
  -webkit-transition: opacity 0.25s ease;
  -moz-transition: opacity 0.25s ease;
  -o-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.vignette a:hover {
  opacity: 1;
}

.vignette a h3 {
  margin-top: 0;
}

.trop-long {
  position: absolute;
  height: 5rem;
  right: 0;
  left: 0;
  bottom: 0;

  /* olivine */
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#a0ba95+0,a0ba95+100&0+10,0.25+40,0.5+65,1+95 */
  background: -moz-linear-gradient(
    -178deg,
    rgba(160, 186, 149, 0) 0%,
    rgba(160, 186, 149, 0) 10%,
    rgba(160, 186, 149, 0.25) 40%,
    rgba(160, 186, 149, 0.5) 65%,
    rgba(160, 186, 149, 1) 95%,
    rgba(160, 186, 149, 1) 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    -178deg,
    rgba(160, 186, 149, 0) 0%,
    rgba(160, 186, 149, 0) 10%,
    rgba(160, 186, 149, 0.25) 40%,
    rgba(160, 186, 149, 0.5) 65%,
    rgba(160, 186, 149, 1) 95%,
    rgba(160, 186, 149, 1) 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    -178deg,
    rgba(160, 186, 149, 0) 0%,
    rgba(160, 186, 149, 0) 10%,
    rgba(160, 186, 149, 0.25) 40%,
    rgba(160, 186, 149, 0.5) 65%,
    rgba(160, 186, 149, 1) 95%,
    rgba(160, 186, 149, 1) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00a0ba95', endColorstr='#a0ba95',GradientType=0 ); /* IE6-9 */
}

/* ==================== */

/*=====BLOCKS=====*/

/* Solve empty <p> generated by Gutenberg */
p:empty {
  display: none;
}

figure {
  margin: 0;
}

.image {
  margin: 0;
}

.video {
  margin-bottom: 2rem;
}

video {
  display: block;
}

.cover {
  height: auto;
}

/* cancel margin top in first group items */
.column > *:first-child,
.group-inner > *:first-child {
  margin-top: 0;
}
/* cancel margin bottom in last group items */
.column > *:last-child,
.group-inner > *:last-child {
  margin-bottom: 0;
}
/* cancel margin top and bottom in only child group items */
.column > *:only-child,
.group-inner > *:only-child {
  margin-top: 0;
  margin-bottom: 0;
}

.wrapper > .group {
  margin-top: 1rem;
}

/* Group's "Disposition" (Goupil): its blocks side by side (group-row) or stacked (group-stack) in a flexible box,
   aligned with group-x-* (horizontally) and group-y-* (vertically, side by side only), spaced by group-gap-*.
   Side by side, phones stack them (unless group-keep-row). */
.group-row > .group-inner,
.group-stack > .group-inner {
  display: flex;
  gap: 1.5rem;
}
.group-row > .group-inner {
  flex-direction: row;
  align-items: center;
}
.group-stack > .group-inner {
  flex-direction: column;
}
/* Side by side, the blocks' own margins would shift them (an image of limited size is centred with "auto" margins,
   which would take all the free space): the gap spaces them instead. */
.group-row > .group-inner > * {
  flex: 0 1 auto;
  min-width: 0;
  margin: 0;
}
/* Sharing the line: aligned left (or "Normal"), the last block (a title next to an image…) takes the rest of the
   line, and at least half of it, so that a big image never squeezes it; aligned right, the first block. Centred or
   spaced, each block keeps its own size. */
.group-row:not(.group-x-end, .group-x-center, .group-x-between) > .group-inner > :last-child,
.group-row.group-x-end > .group-inner > :first-child {
  flex: 1 1 0;
  min-width: 50%;
}
/* …except an image of limited size: it keeps its size (the rest of the line stays free). */
.group.group-row > .group-inner > :is(.media-icon, .media-xs, .media-s, .media-m, .media-l, .media-custom) {
  min-width: 0;
}
.group-wrap > .group-inner {
  flex-wrap: wrap;
}
.group-gap-0 > .group-inner {
  gap: 0;
}
.group-gap-s > .group-inner {
  gap: 0.75rem;
}
.group-gap-l > .group-inner {
  gap: 3rem;
}
.group-row.group-x-start > .group-inner {
  justify-content: flex-start;
}
.group-row.group-x-center > .group-inner {
  justify-content: center;
}
.group-row.group-x-end > .group-inner {
  justify-content: flex-end;
}
.group-row.group-x-between > .group-inner {
  justify-content: space-between;
}
.group-row.group-y-start > .group-inner {
  align-items: flex-start;
}
.group-row.group-y-end > .group-inner {
  align-items: flex-end;
}
.group-row.group-y-stretch > .group-inner {
  align-items: stretch;
}
/* Stacked and aligned, an image of limited size follows the alignment instead of centring itself ("auto" margins). */
.group-stack:is(.group-x-start, .group-x-end) > .group-inner > * {
  margin-left: 0;
  margin-right: 0;
}
.group-stack.group-x-start > .group-inner {
  align-items: flex-start;
  text-align: left;
}
.group-stack.group-x-center > .group-inner {
  align-items: center;
  text-align: center;
}
.group-stack.group-x-end > .group-inner {
  align-items: flex-end;
  text-align: right;
}
@media (max-width: 599px) {
  .group-row:not(.group-keep-row) > .group-inner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  /* One under the other: each block takes the whole width again.
     (".group.group-row": to win over the rule that lets the last or first block take the rest of the line.) */
  .group.group-row:not(.group-keep-row) > .group-inner > * {
    flex: 0 1 auto;
    min-width: 0;
  }
  /* The group's alignment stays as on wide screens: an image of limited size and the texts on the left ("Normal",
     "À gauche", "Espacés"), in the middle ("Au centre", or an image "Centrée"), on the right ("À droite"). */
  .group-row:not(.group-keep-row) > .group-inner > :is(.media-icon, .media-xs, .media-s, .media-m, .media-l, .media-custom) {
    margin-left: 0;
    margin-right: auto;
  }
  .group-row.group-x-center:not(.group-keep-row) > .group-inner > :is(.media-icon, .media-xs, .media-s, .media-m, .media-l, .media-custom),
  .group-row:not(.group-keep-row) > .group-inner > .centered:is(.media-icon, .media-xs, .media-s, .media-m, .media-l, .media-custom) {
    margin-left: auto;
    margin-right: auto;
  }
  .group-row.group-x-end:not(.group-keep-row) > .group-inner > :is(.media-icon, .media-xs, .media-s, .media-m, .media-l, .media-custom) {
    margin-left: auto;
    margin-right: 0;
  }
  .group-row.group-x-center:not(.group-keep-row) > .group-inner {
    text-align: center;
  }
  .group-row.group-x-end:not(.group-keep-row) > .group-inner {
    text-align: right;
  }
}

.cover + .cover {
  margin-top: 2rem;
}

.columns {
  margin-bottom: 0;
}
.column {
  margin-bottom: 2rem;
}

@media (max-width: 781px) and (min-width: 600px) {
  .column .column {
    flex-basis: auto;
  }
}

.separator.dots {
  margin: 0.5rem 0;
}

.nomargin,
.nomargin figure {
  margin-top: 0;
  margin-bottom: 0;
}

.pictitle {
  margin-bottom: 3rem;
}

.pictitle .group-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.pictitle figure {
  margin-top: 1.5rem !important;
}

.pictitle h2 {
  margin: 1rem;
}

@media (max-width: 599px) {
  .pictitle .group-inner {
    flex-direction: column;
    text-align: center;
  }

  .centered-on-mobile {
    text-align: center;
  }

  .centered-on-mobile li {
    list-style-type: none;
  }
}

/*================*/

/*=====SLIDERS=====*/

/*Minicards*/

.minicards,
.minicards ul,
.minicards ul li {
  display: block;
  margin: 0 !important;
}

.minicards ul li img,
.minicards ul li video {
  max-height: 438px;
  max-width: 190px;
  object-fit: contain !important;
}

/* Scrolling (site.js): the images in one row, each as wide as the script says. */
.minicards.is-scrolling {
  overflow: hidden;
}
.minicards.is-scrolling ul {
  display: flex;
  flex-wrap: nowrap;
}
.minicards.is-scrolling ul li {
  flex: none;
  min-width: 0;
}
.minicards.is-scrolling img,
.minicards.is-scrolling video {
  display: block;
  -webkit-user-drag: none;
}
/* Scrolled by hand (unless .slider-no-drag): dragged sideways, swiped on a phone. */
.minicards.is-scrolling:not(.slider-no-drag) {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
/* Diaporama en fondu: a click shows the next image (unless .slider-no-click). Speeds: site.js (.slider-slow, .slider-fast);
   holding the click pauses the slideshow unless .slider-no-hold. */
.group-slider:not(.slider-no-click) .slick-slide {
  cursor: pointer;
}

/*================*/

.site-footer {
  margin-top: 3rem;

  /* paon et océan */
  /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#163557+22,18606b+100 */
  background: rgb(22, 53, 87); /* Old browsers */
  background: -moz-linear-gradient(
    170deg,
    rgba(22, 53, 87, 1) 22%,
    rgba(24, 96, 107, 1) 100%
  ); /* FF3.6-15 */
  background: -webkit-linear-gradient(
    170deg,
    rgba(22, 53, 87, 1) 22%,
    rgba(24, 96, 107, 1) 100%
  ); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    170deg,
    rgba(22, 53, 87, 1) 22%,
    rgba(24, 96, 107, 1) 100%
  ); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#163557', endColorstr='#18606b',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.site-footer .wrapper {
  display: flex;
  flex-direction: column;
}

.site-footer .footer-content {
  display: inline-block;
  margin: 3rem auto;
  text-align: center;
}

.site-footer .site-info {
  margin: 0;
}

/* Footer spacing: 2rem between groups, 0.5rem inside a group */
#footer-widget-area {
  margin: 2rem 0;
}

#footer-widget-area section h5 {
  margin: 0 0 0.5rem;
}

/* Footer menu: smaller text, so thicker strokes for the same 1.1px (see Typography) */
#menu-footer a {
  font-variation-settings: 'wdth' 100, 'XOPQ' 85, 'YOPQ' 85;
}

/* Search: "Perdu ?" + field + round ▷ button, in the footer and on "Tous les projets" (src/assets/search.js) */
/* The field is centred on the page (under the logo), whatever is on its sides: the label on the left, the button on
   the right, in two columns of the same width */
.search-form {
  display: grid;
  grid-template-columns: 1fr minmax(0, 15rem) 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
}

.search-form .search-label {
  grid-column: 1;
  justify-self: end;
}

.search-form .search-field {
  grid-column: 2;
}

.search-form .search-submit {
  grid-column: 3;
  justify-self: start;
}

.search-label {
  font-family: 'Roboto Flex', sans-serif;
  font-weight: 400;
  font-variation-settings: 'wdth' 151, 'XOPQ' 63, 'YOPQ' 65;
  font-size: 1.2rem;
}

.search-field {
  width: 100%;
  min-width: 0;
  margin: 0;
  font-size: 1rem;
}

.search-field::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

/* The round ▷ button: the theme's round submit button (images/btn-next.svg), as in the original site */
.search-submit {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent url('images/btn-next.svg') center / contain no-repeat;
  cursor: pointer;
  transition: transform 0.5s ease;
}

.search-submit:hover {
  background-image: none;
  background-color: #cbb6e7; /* lavande */
  -webkit-mask: url('images/btn-next.svg') center / contain no-repeat;
  mask: url('images/btn-next.svg') center / contain no-repeat;
}

.search-submit:focus {
  transform: scale(0.95);
}

.search-submit:active {
  transform: scale(0.9);
}

.portfolio-search {
  margin: 1.5rem 0 0;
}

.excerpt .search-status {
  min-height: 1.5em;
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.search-empty {
  margin: 3rem auto 4rem;
  text-align: center;
}

.search-empty[hidden],
.cubegrid[hidden] {
  display: none;
}

.search-empty p {
  margin: 0 0 1.5rem;
}

.search-empty .button {
  display: inline-block;
}
.site-footer .menu {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 2rem;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.site-footer .menu li {
  display: inline-block;
}

.entry {
  margin: 0 0 1.5em;
}

.updated:not(.published) {
  display: none;
}
/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/

#comments {
  display: none;
}
/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

iframe {
  border: 0;
}

/* Make sure logo link wraps around logo image. */

.site-branding {
  display: flex;
  margin: 2rem 0 0;
}

.logo-link {
  display: block;
  width: 100%;
}

.logo-link img {
  width: 100%;
  height: 95px; /* il faut renseigner une hauteur sinon l'img ne s'affiche pas sur FF mobile */
}

.centered > figcaption {
  text-align: center;
}

/*===============MEDIA=QUERIES===============*/

@media screen and (max-width: 1600px) {
}

@media screen and (max-width: 1280px) {
}

@media screen and (max-width: 960px) {
  #vignettes {
    margin-left: 0;
  }

  .galaxie.alpha,
  .galaxie.beta {
    /* les galaxies passent sous le 1er dégradé : elles approchent des boutons et du titre */
    z-index: -1000;
  }

  .nebuleuse.paon {
    /* un peu allégé (80 % au lieu de 100 %), pour que les étoiles qui pétillent se voient à travers ; mais tout en
       haut il reste plein, de la couleur de la barre du navigateur (theme-color, autour de l'encoche), et s'allège
       en douceur sur les 40 premiers pixels */
    background: linear-gradient(
      to bottom,
      rgba(24, 96, 107, 1) 0,
      rgba(24, 96, 107, 0.8) 40px,
      rgba(24, 96, 107, 0.4) 20%,
      rgba(24, 96, 107, 0) 63%
    );
  }

  body.home .excerpt {
    width: 75%;
    max-width: 75%;
  }
}

@media screen and (max-width: 720px) {
  .site-branding {
    margin: 1rem 0 0;
  }

  .galaxie.alpha {
    /* la galaxie alpha prend plus de place, mais passe sous le 1er dégradé */
    width: 100%;
    max-width: 100vw;
    z-index: -1000;
  }

  .galaxie.beta {
    /* la galaxie beta disparaît */
    display: none;
  }

  .vignette {
    width: 50%;
  }
}

@media screen and (max-width: 640px) {
  /* Big titles: a long word is cut (« profession-nelle ») rather than going past the screen */
  h1,
  h2 {
    -webkit-hyphens: auto;
    hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
    -webkit-hyphenate-limit-before: 3;
    -webkit-hyphenate-limit-after: 3;
  }

  /* All the content on the left, also what is centred or on the right on wide screens (not the home page) */
  body:not(.home) .entry .text-center,
  body:not(.home) .entry .text-right {
    text-align: left;
  }

  body:not(.home) .entry .text-center > a.dl,
  body:not(.home) .entry .text-right > a.dl {
    margin-inline: 0;
  }

  /* ...except a "Lien avec icône" in a column: it keeps the alignment chosen for it. */
  body:not(.home) .entry .column .text-center > a.dl {
    margin-inline: auto;
  }

  body:not(.home) .entry .column .text-right > a.dl {
    margin-left: auto;
  }

  html {
    font-size: 15px;
  }

  /* The text stays at its size on computers (20.8px, its strokes measured for it: Typography), only the rest gets
     smaller. */
  body {
    font-size: 20.8px;
  }

  .cat-bandeau h2 {
    font-size: 1.75rem;
  }

  .cat-bandeau h3 {
    font-size: 0.85em;
  }

  .boutons-header {
    min-width: 30%;
  }

  .excerpt {
    width: 100%;
    max-width: 100%;
    margin-bottom: 2rem;
    text-align: left;
  }


  .excerpt h1 {
    text-align: left;
  }

  /* The search of "Tous les projets" lines up with its title, on the left */
  .portfolio-search {
    grid-template-columns: minmax(0, 15rem) auto;
    justify-content: start;
  }

  .portfolio-search .search-field {
    grid-column: 1;
  }

  .portfolio-search .search-submit {
    grid-column: 2;
  }

  .excerpt .search-status {
    text-align: left;
  }

  /* "Perdu ?" above the field, so that the field and its button stay side by side */
  .widget-search .search-label {
    grid-column: 1 / -1;
    justify-self: center;
  }

  body.home .excerpt {
    width: 100%;
    max-width: 100%;
  }

  body.home .excerpt,
  body.home .excerpt p {
    text-align: center;
  }
}

@media screen and (max-width: 480px) {
  .site-branding {
    margin: 2rem 0 1rem;
  }

  .page-header {
    flex-direction: column;
  }

  .page-header .wrapper {
    flex-direction: column;
  }

  .boutons-header {
    margin: 0;
  }

  body.home .excerpt {
    padding: 0;
  }

  .boutons-header {
    margin-bottom: 2rem;
  }

  .vignette {
    width: 100%;
  }

  .site-footer .footer-content {
    font-size: 0.85rem;
  }

  .site-footer .site-info span {
    display: block;
  }
}

@media screen and (max-width: 420px) {
  html {
    font-size: 14px;
  }

  h2.font-sugeng {
    /* le texte de base passe à 14 px : sans cela, la Sugeng rapetisse et son trait, déjà fin, s'affine encore ;
       un peu plus grande ici (au-delà, « Projets récents » passerait sur deux lignes) */
    font-size: 5.6rem;
  }

  .galaxie.alpha {
    max-width: 150%;
    width: 150%;
    opacity: 0.6;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .page-num {
    order: -1;
    width: 100% !important;
    text-align: center;
    display: inline-block;
  }

  .nav-previous,
  .nav-next {
    width: 50%;
  }
}

@media screen and (max-width: 320px) {
  html {
    font-size: 13px;
  }

  .nebuleuse.paon {
    bottom: 65%;
  }
}

@media screen and (max-width: 240px) {
}

/*--------------------------------------------------------------
# Article patterns
--------------------------------------------------------------
Reusable classes for article bodies (articles cannot use style="...").
Every pattern, with a ready-to-copy example, is listed in docs/article-patterns.md.

Container widths (only on blocks placed directly in the article):
  width-narrow = small (480px), no class = medium (960px),
  width-wide = large (1280px), width-full = full screen width.
  These are defined in the "Layout" section above (.wrapper > *).
*/

/* Responsive images (<picture>, made by the build) lay out exactly like a plain <img>,
   so gallery, cover and slider styles written for <img> keep working. */
picture {
  display: contents;
}

/* Media widths: an image, caption, video or embed narrower than its container, centred.
   icon 32px, xs 160px, s 320px, m 480px, l 640px (a maximum: smaller images keep their own size).
   media-custom: any other size, written in the block's style ("max-width: 400px"), centred the same way.
   Add "fill" to stretch a small image (or an SVG drawing) to the whole width of its block. */
/* (".wrapper > .media-…": a block placed directly in the article also has a width, "width-wide"... which must not
   replace its media size: the smaller of the two wins.) */
.media-icon,
.media-xs,
.media-s,
.media-m,
.media-l,
.media-custom {
  margin-left: auto;
  margin-right: auto;
}
.media-icon,
.wrapper > .media-icon {
  max-width: min(32px, 100%);
}
.media-xs,
.wrapper > .media-xs {
  max-width: min(160px, 100%);
}
.media-s,
.wrapper > .media-s {
  max-width: min(320px, 100%);
}
.media-m,
.wrapper > .media-m {
  max-width: min(480px, 100%);
}
.media-l,
.wrapper > .media-l {
  max-width: min(640px, 100%);
}
.wrapper > .width-full:is(.media-icon, .media-xs, .media-s, .media-m, .media-l, .media-custom) {
  margin-left: auto;
  margin-right: auto;
}
.image .fill,
.image.fill {
  width: 100%;
}

/* Centred image ("centered"): the block is as wide as its image (at most its media size),
   and the caption wraps under the image. */
figure.image.centered {
  display: table;
  margin-left: auto;
  margin-right: auto;
  text-align: inherit;
}
figure.image.centered:not(.fill) {
  width: auto;
}
figure.image.centered > figcaption {
  display: table-caption;
  caption-side: bottom;
}
.fill img {
  width: 100%;
}

/* Image on the left ("align-left"): like a centred image (as wide as its image, the caption wrapped under it), but
   from the left edge of the article. */
figure.image.align-left:not(.width-full) {
  display: table;
  margin-left: 0;
  margin-right: auto;
}
/* Placed directly in the article: from the left edge of its width (960 px, or 480 / 1280), as the text. */
.wrapper > figure.image.align-left:not(.width-full) {
  margin-left: calc((100% - min(100%, 960px)) / 2);
}
.wrapper > figure.image.align-left.width-narrow {
  margin-left: calc((100% - min(100%, 480px)) / 2);
}
.wrapper > figure.image.align-left.width-wide {
  margin-left: calc((100% - min(100%, 1280px)) / 2);
}
figure.image.align-left:not(.fill) {
  width: auto;
}
figure.image.align-left > figcaption {
  display: table-caption;
  caption-side: bottom;
}

/* Image shapes: rounded corners, circle, square crop (a thumbnail cut from a bigger image). */
.image.rounded img {
  /* The same corners as a spaced Mosaic's images (blocks.css). */
  border-radius: 16px;
}
.image.circle img {
  border-radius: 9999px;
}
/* A circle is a perfect circle: the image is cropped to a square around its centre (a square image is unchanged). */
.image.circle img,
.image.square img,
img.square {
  aspect-ratio: 1;
  object-fit: cover;
}

/* "Ombre portée": around the drawing of the image (a PNG's transparency) when it has no frame of its own, otherwise
   around its frame (rounded corners, circle, square, screen). */
.image.shadow img {
  filter: drop-shadow(0 0.5rem 0.9rem rgba(0, 0, 0, 0.45));
}
.image.shadow.rounded img,
.image.shadow.circle img,
.image.shadow.square img {
  filter: none;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.45);
}
.image.shadow.device img {
  filter: none;
}
.image.shadow .device-screen {
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.45);
}

/* Image in a screen ("device"): a long screenshot of a website scrolls inside a thin white frame with rounded corners
   (like the buttons), 16:9 for a computer ("device-desktop"), 9:19.5 for a phone like a recent iPhone ("device-mobile",
   narrower, centred).
   <figure class="image device device-desktop"><div class="device-screen"><img …></div><figcaption>…</figcaption></figure>
   No scrollbar: the site's triangle arrow at the bottom of the screen, moving up and down, shows that it scrolls; it
   fades out at the end of the image. */
.device-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid white;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.2);
  scrollbar-width: none;
}
.device-screen::-webkit-scrollbar {
  display: none;
}
.device-screen img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0 !important;
}
.device-screen > a {
  display: block;
}
.device > figcaption {
  margin-top: 0.75rem;
  text-align: center;
}
.device-desktop .device-screen {
  aspect-ratio: 16 / 9;
}
.device-mobile {
  max-width: min(320px, 100%);
  margin-left: auto;
  margin-right: auto;
}
.device-mobile .device-screen {
  aspect-ratio: 9 / 19.5;
}
.device-screen::after {
  content: "";
  position: sticky;
  bottom: 12px;
  display: block;
  width: 22px;
  height: 19px;
  margin: -31px auto 12px;
  background: url("images/arrow-down.svg") center / contain no-repeat;
  /* A faint outline, so that the white arrow shows on a white screenshot too */
  filter: drop-shadow(0 0 1.5px rgba(0, 0, 0, 0.5));
  pointer-events: none;
  animation: device-bounce 1.6s ease-in-out infinite;
}
@keyframes device-bounce {
  0%,
  100% {
    translate: 0 -3px;
  }
  50% {
    translate: 0 4px;
  }
}
@supports (animation-timeline: scroll()) {
  .device-screen::after {
    animation:
      device-bounce 1.6s ease-in-out infinite,
      device-hint linear both;
    animation-timeline: auto, scroll(nearest block);
  }
  @keyframes device-hint {
    0%,
    85% {
      opacity: 1;
    }
    100% {
      opacity: 0;
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .device-screen::after {
    animation-name: none, device-hint;
  }
}

/* Vertical space: <div class="spacer spacer-32" aria-hidden="true"></div> */
.spacer.spacer-16 {
  height: 16px;
}
.spacer.spacer-24 {
  height: 24px;
}
.spacer.spacer-32 {
  height: 32px;
}
.spacer.spacer-48 {
  height: 48px;
}
.spacer.spacer-64 {
  height: 64px;
}
.spacer.spacer-96 {
  height: 96px;
}
.spacer.spacer-128 {
  height: 128px;
}

/* Column widths, in % of the row (computers only: on tablets columns go 2 by 2, on phones one below the other).
   Columns without a class share the remaining space equally. */
@media (min-width: 782px) {
  .column.column-20 {
    flex-basis: 20%;
    flex-grow: 0;
  }
  .column.column-25 {
    flex-basis: 25%;
    flex-grow: 0;
  }
  .column.column-30 {
    flex-basis: 30%;
    flex-grow: 0;
  }
  .column.column-33 {
    flex-basis: 33.33%;
    flex-grow: 0;
  }
  .column.column-40 {
    flex-basis: 40%;
    flex-grow: 0;
  }
  .column.column-50 {
    flex-basis: 50%;
    flex-grow: 0;
  }
  .column.column-60 {
    flex-basis: 60%;
    flex-grow: 0;
  }
  .column.column-67 {
    flex-basis: 66.66%;
    flex-grow: 0;
  }
  .column.column-70 {
    flex-basis: 70%;
    flex-grow: 0;
  }
  .column.column-75 {
    flex-basis: 75%;
    flex-grow: 0;
  }
  .column.column-80 {
    flex-basis: 79.5%;
    flex-grow: 0;
  }
}

/* Cover with a fixed background ("parallax"): the image stays still while the page scrolls.
   The clip-path keeps the image inside the cover; the mask cuts the line of 1px that the clip-path can leave
   above it when the cover does not start on a whole pixel. */
.cover.parallax {
  clip-path: inset(0);
  -webkit-mask-image: linear-gradient(#000 0 0);
  mask-image: linear-gradient(#000 0 0);
}
.cover.parallax img.cover-image {
  position: fixed;
}

/* Extra palette colour (the other colours are in the "Colours" section). */
.bg-brume {
  background-color: #b4c5d5;
}

/* Social network icons without inline SVG: <li class="social-link social-facebook"><a href="…" aria-label="Facebook"></a></li> */
.social-link a:empty::before {
  content: '';
  display: block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  mask: var(--social-icon) center / contain no-repeat;
}
.social-facebook {
  --social-icon: url('images/social-facebook.svg');
}
.social-instagram {
  --social-icon: url('images/social-instagram.svg');
}
.social-etsy {
  --social-icon: url('images/social-etsy.svg');
}
.social-dribbble {
  --social-icon: url('images/social-dribbble.svg');
}
.social-deviantart {
  --social-icon: url('images/social-deviantart.svg');
}

/* A private article (lib/private-articles.js): its password form, in place of the content until it is decrypted
   (src/assets/private-article.js). The field and the round ▷ button are the search's. */
.private-lock {
  max-width: 26rem;
  margin: 2rem auto 4rem;
  text-align: center;
}

.private-field {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.private-form.busy {
  opacity: 0.6;
}

.private-problem:empty {
  display: none;
}

/* A Flash animation (Goupil's "Animation Flash" block), played by Ruffle (layouts/base.njk): centred, never wider than
   the page (Ruffle keeps its proportions inside). */
.flash {
  margin: 0 0 1.5em;
  text-align: center;
}

.flash object,
.flash ruffle-object {
  display: inline-block;
  max-width: 100%;
}
