/*
Theme Name: MIYU Distribution
Author: Studio des formes / Gaël Gouault
Author URI: https://studiodesformes.net/
Description: Theme conçu pour le site MIYU Distribution.
Version: 1.2.0
Scan: https://wave.webaim.org | https://accessibe.com
*/

   /*/°\
  !& & (@
 ,-\-- /--,
! _!°°° !_ !
!_/!-__-!25/
  /°./\.°\
/===!  !==*/

:root {
	--color: #000;
	--color-grey: #aaa;
	--bkgrd: #fff;
	--bkgrd-grey: #f8f8f8;
	--border-width: 0;
	--line-height: 1.4;

	--font-reg: 'AntiqueOliveStd';
	--font-regIta: 'AntiqueOliveStdItalic';
}


/**
 * 1.0 - Typography
 */

@font-face {
    font-family: 'AntiqueOliveStd';
    src: url('fonts/antique-olive-std-roman.eot');
    src: url('fonts/antique-olive-std-roman.eot?#iefix') format('embedded-opentype'),
         url('fonts/antique-olive-std-roman.woff2') format('woff2'),
         url('fonts/antique-olive-std-roman.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AntiqueOliveStdItalic';
    src: url('fonts/antique-olive-std-italic.eot');
    src: url('fonts/antique-olive-std-italic.eot?#iefix') format('embedded-opentype'),
         url('fonts/antique-olive-std-italic.woff2') format('woff2'),
         url('fonts/antique-olive-std-italic.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/**
 * 2.0 - Normalize
 */

html {
	font-family: var(--font-reg), sans-serif;
	font-size: 62.5%;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

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

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

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

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img,
iframe,
object {
	border: 0;
}

hr {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

body,
button,
input,
select,
textarea {
	font-family: var(--font-reg);
	font-size: 16px;
	font-size: 1rem;
	color: var(--color);
	line-height: var(--line-height);
	border-radius: 0;
	-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

::placeholder {
	color: var(--color);
	opacity: 1;
}

:-ms-input-placeholder {
	color: var(--color);
}

::-ms-input-placeholder {
	color: var(--color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-size: 1.6em;
	font-weight: normal;
	text-transform: uppercase;
	margin: 0;
}

b,
strong {
	font-weight: normal;
}

em,
i {
	font-family: var(--font-regIta);
	font-style: normal;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}


/**
 * 2.1 - Elements
 */

*,
*:before,
*:after {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-ms-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
	font-smoothing: antialiased;
}


hr {
	background: var(--color);
	border: 0;
	height: 1px;
	margin: 0 0 1em;
}

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

.hidden {
	display: none;
}


/**
 * 2.2 - Links
 */

a {
	color: var(--color);
	text-decoration: none;
}

a:hover,
a:active {
	color: var(--color);
}


/**
 * 3.0 - Header
 */

#masthead {
	position: fixed;
	width: 100%;
	/*height: 8.28em;*/
	height: 10em;
	display: flex;
	justify-content: space-between;
	/*gap: 0 3em;*/
	padding: 1em 1.5em;
	color: var(--color);
	background: var(--bkgrd);
	z-index: 9;
}

/*body #masthead {
	background: transparent;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAAdklEQVQoz42QQQ7AIAgEF/T/D+kbq/RWAlnQyyazA4aoAB4FsBSA/bFjuF1EOL7VbrIrBuusmrt4ZZORfb6ehbWdnRHEIiITaEUKa5EJqUakRSaEYBJSCY2dEstQY7AuxahwXFrvZmWl2rh4JZ07z9dLtesfNj5q0FU3A5ObbwAAAABJRU5ErkJggg==);
	background-size: 100% 200%;
}*/

body:not(.opt-access--contrast):not(.opt-access--contrast-2) #masthead {
	background: transparent;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAADGCAYAAAAT+OqFAAAACXBIWXMAAAsTAAALEwEAmpwYAAAE9GlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgOS4xLWMwMDIgNzkuZjM1NGVmYzcwLCAyMDIzLzExLzA5LTEyOjA1OjUzICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjUuNSAoTWFjaW50b3NoKSIgeG1wOkNyZWF0ZURhdGU9IjIwMjQtMDItMjhUMTU6MTk6MDArMDE6MDAiIHhtcDpNb2RpZnlEYXRlPSIyMDI0LTAyLTI4VDE1OjE5OjQ3KzAxOjAwIiB4bXA6TWV0YWRhdGFEYXRlPSIyMDI0LTAyLTI4VDE1OjE5OjQ3KzAxOjAwIiBkYzpmb3JtYXQ9ImltYWdlL3BuZyIgcGhvdG9zaG9wOkNvbG9yTW9kZT0iMyIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDoyMmEzMzQ2NS02ZmY1LTRmOWQtYmMwNC1jNTkwNGQ3OTA2NjciIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MjJhMzM0NjUtNmZmNS00ZjlkLWJjMDQtYzU5MDRkNzkwNjY3IiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6MjJhMzM0NjUtNmZmNS00ZjlkLWJjMDQtYzU5MDRkNzkwNjY3Ij4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDoyMmEzMzQ2NS02ZmY1LTRmOWQtYmMwNC1jNTkwNGQ3OTA2NjciIHN0RXZ0OndoZW49IjIwMjQtMDItMjhUMTU6MTk6MDArMDE6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCAyNS41IChNYWNpbnRvc2gpIi8+IDwvcmRmOlNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PnOdm34AAAB7SURBVCiRjZBRCsAwCEOj3f0PsjOudR+DFSWR/oQmT62IiLgdwHQA8cvKsukkYNtH9RY6s7AsVN3BlEVKJF2tsGtEfvUWhCJbBtCCItFaBkyVWGsZMGILYCXmADxnTiiznoVlRYay45Du7FLUVMfBlLLupRZy8hu7xkdf7CVYMiN7mcgAAAAASUVORK5CYII=);
	background-size: 100% 200%;
}

.site-title {
	display: flex;
}

.site-title h1,
.site-title p {
	display: none;
	visibility: hidden;
}

.site-logo {
	display: flex;
}

.site-logo svg {
	width: auto;
	height: 5em;
	margin: 0.15em 0;
}

.site-logo svg path {
	fill: var(--color);
}

.site-logo a:hover svg path {
	fill: var(--color-grey);
}

.site-logo .hub {
	padding: 0.25em 1.5em;
	cursor: default;
}

.site-logo .hub li {
	font-size: 1.6em;
	text-transform: uppercase;
	list-style-type: none;
	line-height: 1;
	margin-bottom: 0.2rem;
	opacity: .25;
}

.site-logo .hub li.current {
	opacity: 1;
}


/*--- Menu ---*/

#site-navigation .menu,
#option-navigation .menu,
#phone-navigation .menu {
	font-size: 1.6em;
	line-height: 1.2;
	text-transform: uppercase;
	display: flex;
}

#site-navigation .menu {
	display: flex;
	flex-wrap: wrap;
}

#phone-navigation .menu {
	justify-content: flex-end;
}

#site-navigation .menu li,
#option-navigation .menu li {
	list-style-type: none;
	margin-right: 1.5em;
	white-space: nowrap;
}

#phone-navigation .menu li {
	list-style-type: none;
	margin-right: 0;
	cursor: pointer;
}

#site-navigation .menu li.menu-item a,
#option-navigation .menu li.menu-item a {
	border-bottom: 1px solid transparent;
	transition: border .25s;
}

#site-navigation .menu li.current-menu-item a,
#site-navigation .menu li.current-menu-parent a,
#site-navigation .menu li.menu-item a:hover,
#option-navigation .menu li.menu-item a:hover {
	border-bottom-color: inherit;
}

#option-navigation .dashicons-before:before {
	vertical-align: -0.25em;
	margin-right: 0.5em;
}


/*--- Option ---*/

#option-navigation .menu {
	justify-content: flex-end;
}

#option-navigation .menu li.menu-item {
	margin: 0;
}

#option-navigation .menu li.menu-item-search {
	position: relative;
	display: inline-block;
	width: 1em;
	height: 1em;
	margin-left: 1em;
	cursor: pointer;
	transform: translateY(0.125em);
}

#option-navigation .menu li.menu-item-search a {
    width: 100%;
    height: 100%;
    display: table;
    border-bottom: none;
}

#option-navigation .menu li.menu-item-search svg {
	position: absolute;
	width: 100%;
	height: 100%;
}

#option-navigation .menu li.menu-item-search svg * {
	stroke: var(--color);
}

/*--- Search ---*/

#site-navigation .menu .menu-item-search {
	width: 100%;
	margin: 0;
}

#site-navigation .menu .search-form {
	display: flex;
	border-bottom: 1px solid var(--color);
}

#site-navigation .menu .search-field,
#site-navigation .menu .search-submit {
	font-size: 1em;
	text-transform: uppercase;
	border: 0;
	padding: 0;
	background: transparent;
}

#site-navigation .menu .search-field {
	flex: 1;
    width: 100%;
    outline: none;
}

#site-navigation .menu .search-submit {
	margin-left: 0.5em;
	background: transparent;
	cursor: pointer;
}


/*--- Content ---*/

#content {
	width: 100%;
	min-height: 100vh;
	padding-top: 10em;
	background: var(--bkgrd);
}

.admin-bar #content {
	min-height: calc(100vh - 32px);
}




/* Sous-menu */

.taxonomy-term {
	padding: 3em 1.5em 1em 1.5em;
}

.button-single {
	padding: 3em 0 2em 0;
}

.taxonomy-term ul,
.button-single ul {
	font-size: 1.6em;
	text-transform: uppercase;
	display: flex;
	flex-wrap: wrap;
}

.taxonomy-term li,
.button-single li {
	list-style-type: none;
	margin-right: 1.5em;
}

.taxonomy-term li.term-item a,
.button-single li.term-item a {
	border-bottom: 1px solid transparent;
	transition: border .25s;
}

.taxonomy-term li.term-item.current a,
.taxonomy-term li.term-item a:hover,
.button-single li.term-item.current a,
.button-single li.term-item a:hover {
	border-bottom-color: var(--color);
}


/* --- Grid ---*/

.content-grid {
	width: 100%;
	height: auto;
	padding: 0 1.5em 6em 1.5em;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(auto-fill, auto);
	gap: 1em;
}

.type-post .content-grid {
	padding: 0;
}

.content-grid .grid header .entry-title h2 {
	font-size: 1.6em;
	text-transform: uppercase;
	line-height: 1.2;
	margin: 0;
}

.content-grid .grid header .entry-title a {
	color: var(--color-grey);
	transition: color .25s;
}

.content-grid .grid:hover header .entry-title a {
	color: var(--color);
}

.content-grid .grid .entry-image {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	margin: 0.5em 0;
	/*border-radius: 0.5em;
	overflow: hidden;*/
	background: var(--bkgrd-grey);
}

.content-grid .grid .entry-image img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.content-grid .post-hidden {
    opacity: 0;
    transform: translateY(3em);
}

.content-grid .post-visible {
    opacity: 1;
    transform: translateY(0);
    transition: all .5s ease;
}

.block-button {
	width: 100%;
	display: flex;
	justify-content: center;
}


/* --- Post type type-post --- */

.single .type-post:not(.grid) {
	width: 100%;
	height: auto;
	padding: 3em 1.5em 0 1.5em;
}

.type-post header {
	display: grid; 
	grid-template-columns: 1fr; 
	gap: 4em 1.5em; 
}

.type-post header .entry-title h1 {
	font-size: 6.6em;
	line-height: 0.95;
	margin-left: -0.075em;
}

.type-post header .entry-link ul {
	font-size: 1.6em;
	text-transform: uppercase;
	display: flex;
}

.type-post header .entry-link li {
	list-style-type: none;
	margin-right: 0.5em;
}

.type-post header .entry-link li:not(.entry-link ul:first-child li) {
	margin-top: 0.6em;
}

.type-post header .entry-link li a {
	display: inline-block;
	border: 1px solid var(--color);
	padding: 0.1em 0.4em 0 0.4em;
	margin-top: -0.9em;
	color: var(--bkgrd);
	background: var(--color);
	transition: color .24s, background .25s;

	/*padding: 0.8rem 1.125rem 0.7rem 1.5rem;
	border-radius: 1rem;*/
}

.type-post header .entry-link li a:after {
	display: inline-block;
	content: "";
	width: 1em;
	height: 1em;
	margin-left: 0.35em;
	background: #000;
	background: url(icons/link.svg) no-repeat;
	background-size: contain;
	filter: invert(1);
	transition: filter .25s;
}

.type-post header .entry-link li.link__dl a:after {
	background: url(icons/download.svg) no-repeat;
	background-size: contain;
}

.type-post header .entry-link li a:hover {
	color: var(--color);
	background: var(--bkgrd);
}

.type-post header .entry-link li a:hover:after,
.opt-access--contrast .type-post header .entry-link li a:after,
.opt-access--contrast-2 .type-post header .entry-link li a:after {
	filter: invert(0);
}

.opt-access--contrast .type-post header .entry-link li a:hover:after,
.opt-access--contrast-2 .type-post header .entry-link li a:hover:after {
	filter: invert(1);
}

.type-post header .entry-link li span {
	position: relative;
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
}

.type-post header .entry-link li span svg {
	position: absolute;
	width: 100%;
	height: 100%;
}

.type-post header .entry-link li span svg * {
	stroke: var(--color);
}

.type-post header .entry-link li a:hover span svg * {
	stroke: var(--bkgrd);
}

/* .entry-image */

.type-post .entry-image {
	margin: 0.75em 0;
}

.type-post .entry-image.column-2 {
	margin: 6em 0;
}

.type-post .entry-image img {
	width: 100%;
	height: auto;
	/*border-radius: 0.5em;*/
}

.type-post .entry-video {
	position: relative;
	margin: 0.75em 0;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	background: var(--bkgrd-grey);
	overflow: hidden;
}

.type-post .entry-video iframe {
	position: absolute;
	width: 100%;
	height: 100%;
	/*border-radius: 0.5em;*/
}

/* .entry-content */

.type-post .entry-list {
	margin-top: -0.125em!important;
}

.type-post .entry-list li,
.type-page .entry-list li {
	display: flex;
	margin-left: 0;
	border-bottom: 1px solid var(--color);
	padding: 0.25rem 0;
	gap: 0 1.5em;
}

.type-post .entry-list li:first-child,
.type-page .entry-list li:first-child {
	border-top: 1px solid var(--color);
}

.type-page .entry-list {
	font-size: 1.6em;
	width: 100%;
}

.type-post .entry-list li > span {
	min-width: 12em;
}

.type-page .entry-list li > span {
	width: 50%;
}

.type-page .wpcf7-form {
	margin-top: 5.5em;
}

.type-post .entry-list li > a {
	text-decoration: none;
}

.type-post .entry-list li:before {
	content: none;
}

.type-post .entry-content {
	margin-top: 1em;
}

.type-post .entry-content.font-size-2 p,
.type-page .entry-content.font-size-2 p {
	font-size: 2em;
	line-height: 1.2;
}

.type-post .entry-content > *:first-child,
.home .type-page .entry-content > *:first-child,
.page .type-page .entry-content > *:first-child {
	margin-top: 0;
}

.type-post .entry-relation {
	width: 100%;
	margin: 6em 0;
}

.type-post .entry-relation h2 {
	font-size: 6.6em;
	line-height: 0.95;
	margin-left: -0.075em;
}


/* .column */

.column-4 {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 3em;
}

.column-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 3em;
}

.column-4 .column-1-2 {
	grid-column-start: 1;
}

.column-75 {
	width: 75%;
}

.margin-bottom {
	margin-bottom: 9em;
}

.column-4 .column-2-3 {
	grid-column-start: 2;
	grid-column-end: span 3;
}

.artist-single .entry-content .column-2-3 {
	padding-right: 10%;
} 


/**
 * 5.0 - Site content
 */

.site-inner {
	background: var(--bkgrd);
}

.content-area .site-main {
	width: 100%;
}

.entry-content p {
	font-size: 1.6em;
}

.entry-content a {
	text-decoration: underline;
}

.entry-content a[target=_blank]:after {
	display: inline-block;
	content: "";
	width: 1em;
	height: 1em;
	margin: 0 0 -1px 0.25em;
	background: url(icons/link.svg) no-repeat;
	background-size: contain;
}

.opt-access--contrast .entry-content a[target=_blank]:after {
	background: url('icons/link-w.svg') no-repeat;
	background-size: contain;
}

.entry-content ul {
	margin: 1em 0;
}

.entry-content li {
	font-size: 1.6em;
	margin-left: 1em;
	list-style-type: none;
}

.entry-content li:before {
	content: '–';
	position: absolute;
	margin-left: -1em;
}

.entry-content blockquote {
	margin: 0;
	padding-left: 2em;
	border-left: 3px solid var(--color);
}

.entry-content blockquote cite {
	font-size: 1em;
	font-style: normal;
}


/**
 * 5.1 - Video
 */

.yt-rss-feed {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1em;
}

.yt-rss-feed .wp-block-embed__undefined .mb-h6 {
	font-size: 2rem;
}

.wp-block-embed-video {
	position: relative;
	width: 50%;
	height: 0;
	padding-bottom: 28.125%;
	margin: 2em 0;
	overflow: hidden;
}

.home .wp-block-embed-video,
.yt-rss-feed .wp-block-embed-video {
	width: 100%;
	padding-bottom: 56.25%;
	margin: 0.5em 0;
}

.wp-block-embed-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/*border-radius: 0.5em;*/
}



/*--- Flickity ---*/

.gallery-image {
	width: calc(100% + 3em);
	margin: 9em 0 3em -1.5em;
}

.gallery-image .item-image {
	margin: 0 0.75em;
}

.gallery-image .item-image:first-child {
	padding-left: 1.5em;
}

.gallery-image .item-image:last-child {
	padding-right: 1.5em;
}

.gallery-image .item-image figure {
	margin: 0 0 0.125em 0;
}

.gallery-image .item-image figure img {
	width: auto;
	height: 36em;
	/*border-radius: 0.5em;*/
}

.gallery-image .counter {
	font-size: 1.6em;
	margin: 0 1.5rem;
}



/*--- Page ---*/

.home .type-page {
	width: 100%;
	padding: 0 1.5em;
}

.home .section-search {
	margin: 8em 0;
}

.section-search .entry-result {
	margin-top: 6em;
}

.section-search .entry-name {
	padding: 3em 1.5em;
}

.section-search .entry-name h2 {
	font-size: 6.6em;
	line-height: 0.95;
	margin-left: -0.075em;
}

.section-search .entry-content {
	padding: 1.5em;
}

.section-search .entry-content p {
	color: var(--color-grey);
}

.page:not(.home) .type-page {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0 1.5em;
	padding: 3em 1.5em 8em 1.5em;
}

.page:not(.home) .type-page-50 {
	grid-template-columns: repeat(2, 1fr);
	gap: 0 3em;
}

.page:not(.home) .type-page .entry-content {
	grid-column-start: 2;
	grid-column-end: span 3;
}

.page .type-page .entry-content h2 {
	font-size: 3.5em;
	line-height: 1;
}

.page .type-page .entry-content h2:not(h2:first-child) {
	margin-top: 1.5em;
}


/*--- Page About ---*/

.page.page-template-template-about .type-page,
.page.page-template-template-press .type-page {
	grid-template-columns: 1fr;
}

.page .type-page-50 h1,
.page .entry-hat h2 {
	font-size: 6.6em;
	line-height: 0.95;
	margin-left: -0.075em;
	margin-bottom: 2rem;
}

.page .type-team {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 3em 1em;
}

.page .team-content {
	cursor: pointer;
}

.page .team-content .thumb {
	position: relative;
	width: 100%;
	padding-bottom: 50%;
	height: 0;
	overflow: hidden;
}

.page .team-content .thumb {
	position: relative;
	width: 100%;
	padding-bottom: 100%;
	height: 0;
	margin: 0.5em 0 1em 0;
	/*border-radius: 0.5em;
	overflow: hidden;*/
	background: var(--bkgrd-grey);
}

.page .team-content .thumb img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.page .team-content h3 {
	font-size: 2rem;
}

.page .team-content p {
	font-size: 1.6em;
	margin: 0;
}

.page .team-content .bio {
	display: none;
}

.page .team-content .bio p {
	margin: 1em 0;
}


/*--- Page Press ---*/

.type-press ul {
	font-size: 1.6em;
}

.type-press .entry-list li:first-child {
	border-top: 1px solid var(--color);
}

.type-press .entry-list li {
	list-style-type: none;
	margin-left: 0;
	border-bottom: 1px solid var(--color);
	padding: 0.25rem 0;
}

.type-press .entry-list li > a {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0 1em;
	width: 100%;
	transition: color .25s;
}

.type-press .entry-list li > a:hover {
	color: var(--color-grey);
}

.type-press .entry-list li span.f-f {
	font-family: 'AntiqueOliveStdItalic';
}

.type-press .entry-list li span.f-d {
	text-align: right;
}

.type-press .entry-list li span.f-d:after {
	display: inline-block;
	content: "";
	width: 1em;
	height: 1em;
	margin: 0 0 -1px 0.25em;
	background: url(icons/download.svg) no-repeat;
	background-size: contain;
	opacity: 1;
	transition: opacity .25s;
}

.page-template-template-press:not(.opt-access--contrast):not(.opt-access--contrast-2) .type-press .entry-list li a:hover span.f-d:after {
	opacity: .33;
}
.opt-access--contrast .type-press .entry-list li span.f-d:after,
.opt-access--contrast-2 .type-press .entry-list li span.f-d:after {
	filter: invert(1);
}


/*--- Formulaire ---*/

.page .type-page.formulaire {
	display: block;
}

.page .type-page.formulaire .entry-header {
	display: none;
}

.page .type-page.formulaire .wpcf7-form {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0 1.5em;
}

.page .type-page.formulaire .wpcf7-form p {
	margin: 0;
}

.page .type-page.formulaire .form-right {
	grid-column: 2 span;
}

.page .type-page.formulaire .wpcf7-form input {
	font-size: 1em;
	width: 100%;
	padding: 0.25em 0.5em 0.1em 0.5em;
	margin-bottom: 0.5em;
	border: 1px solid var(--color);
	outline: none;
}

.page .type-page.formulaire .wpcf7-form textarea {
	font-size: 1em;
	width: 100%;
	padding: 0.2em 0.5em 0.1em 0.5em;
	resize: none;
	outline: none;
}

.page .type-page.formulaire .wpcf7-form input[type="submit"] {
	width: auto;
	color: var(--bkgrd);
	background: var(--color);
	transition: color .25s, background .25s;
	cursor: pointer;
}

.page .type-page.formulaire .wpcf7-form input[type="submit"]:hover {
	color: var(--color);
	background: var(--bkgrd);
}

.page .wpcf7-load {
	pointer-events: none;
}

.wpcf7 form .wpcf7-not-valid-tip {
	font-size: 1.2rem;
}

.wpcf7 form .wpcf7-response-output {
	font-size: 1.2rem;
	color: #dc3232;
	padding: 0;
	margin: 0;
	border: none;
	grid-column: 2;
}

.wpcf7 form.submitting .wpcf7-spinner {
	visibility: visible;
	transform: translateY(0.4em);
	background: var(--color-grey);
}


/*--- Not Found ---*/

.not-found .entry-header {
	text-align: center;
}

.no-results .entry-title h1 {
	font-size: 3.5em;
}

.error-404 .entry-header {
	padding: 3em 1.5em 0 1.5em;
}

.error-404 .entry-title {
	margin-bottom: 3em;
}

.error-404 .entry-title h1 {
	font-size: 6.6em;
	line-height: 0.95;
}


/*--- Site map ---*/

.sitemap .entry-content ul {
	margin-top: 0;
	margin-bottom: 1.5em;
}

.search .entry-content ul {
	margin-bottom: 0;
}

.sitemap .entry-content ul > ul {
	padding-left: 1.5em;
}

.sitemap .entry-content li {
	font-size: 1.6rem;
	line-height: 1.6;
	text-transform: uppercase;
}

.sitemap .entry-content > ul li:before {
	content: none;
	text-underline-position: under;
}

.sitemap .entry-content li a {
	text-underline-position: under;
}

.sitemap .entry-content li span {
	font-family: var(--font-reg);
	color: var(--color-grey);
}

.sitemap .item-tax-store .item-post-work {
	font-family: var(--font-regIta);
}


/*--- Footer ---*/

#footer {
	width: 100%;
	margin-top: 8em;
	background: var(--bkgrd);
}

.footer-navigation {
	padding: 3em 1.5em;
}

.footer-navigation .menu {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-flow: dense;
	gap: 0 1.5em;
}

.footer-navigation .menu li {
	font-size: 1.6em;
	text-transform: uppercase;
	line-height: calc(var(--line-height) / 1.25);
	list-style-type: none;
	margin: 0.1em 0;
}

.footer-navigation .menu li.current-menu-item a,
.footer-navigation .menu li a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.footer-navigation .menu li {
	display: flex;
	list-style-type: none;
}

.footer-navigation .menu li.column-1 {
	grid-column: 1;
}

.footer-navigation .menu li.column-2 {
	grid-column: 2;
}

.footer-navigation .menu li.column-3 {
	grid-column: 3;
}

.footer-navigation .menu ul.column-4,
.footer-navigation .menu li.column-4 {
	grid-column: 4;
}

.footer-navigation .menu ul.sub-menu-item-social {
	position: relative;
}

.footer-navigation .menu ul.sub-menu-item-social span {
	position: absolute;
	display: flex;
}

.footer-navigation .menu li.menu-item-type-social {
	position: relative;
	width: 2.5rem;
	height: 2.5rem;
	margin-right: 0.5rem;
}

.footer-navigation .menu li.menu-item-type-social a {
	width: 100%;
	border-bottom: none;
}

.footer-navigation .menu li.menu-item-type-social svg {
	position: absolute;
	width: 100%;
	height: 100%;
}

.footer-navigation .menu li.menu-item-type-social svg * {
	fill: var(--color);
}

.footer-navigation .menu li.menu-item-type-custom a[target=_blank]:after {
	display: inline-block;
	content: "";
	width: 0.9em;
	height: 0.9em;
	margin: 0 0 0 0.25em;
	background: url(icons/link.svg) no-repeat;
	background-size: contain;
}

.opt-access--contrast .footer-navigation .menu li.menu-item-type-custom a[target=_blank]:after,
.opt-access--contrast-2 .footer-navigation .menu li.menu-item-type-custom a[target=_blank]:after {
	filter: invert(1);
}

/*--- Footer Access ---*/

.footer-navigation-access {
	padding: 1.5em;
	border-top: 1px solid var(--color-grey);
}

.footer-navigation-access .menu {
	display: flex;
	flex-wrap: wrap;
}

.footer-navigation-access .menu li {
	font-size: 1.2em;
	list-style-type: none;
	margin-right: 2em;
}

/*.footer-navigation-access .menu li:not(:last-child):after {
	content: "";
	display: inline-block;
	vertical-align: middle;
	position: relative;
	width: 1px;
	height: 1em;
	margin: 0 1.5em;
	background: var(--color-grey);
}*/

.footer-navigation-access .menu li a {
	color: var(--color-grey);
}

.footer-navigation-access .menu li.current-menu-item a,
.footer-navigation-access .menu li a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-position: under;
}

.footer-navigation-access .menu li.copyright a {
	text-decoration: none;
	pointer-events: none;
}


/*--- home animate ---*/
.home #masteranim {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: 9999;
	pointer-events: none;
	animation: animMaster 2s ease-in-out;
}
.home #masteranim .anim__title {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 1em 1.5em;
	z-index: 1;
}
.home #masteranim .anim__image img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/*--- Media Queries ---*/

@-ms-viewport {
	width: device-width;
}

@viewport {
	width: device-width;
}


/*--- >= 710px ---*/

@media screen and (min-width: 1600px) {
	html {
		font-size: 84%;
	}
}

@media screen and (max-width: 1280px), print {
	.page .type-team {
		grid-template-columns: repeat(3, 1fr);
	}
	.yt-rss-feed {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 1024px), print {
	html { 
		font-size: 58%;
	}
	#masthead {
		height: 6em;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: 1fr auto;
		/* padding: 1.5em; */
	}
	#masthead:not(.open) .main-navigation {
		display: none;
	}
	#masthead.open {
		height: 100vh;
		/* height: -webkit-fill-available; */
		background: var(--bkgrd)!important;
	}
	.admin-bar #masthead.open {
		height: calc(100vh - 32px);
	}
	/*#masthead.open.search-open #option-navigation {
		display: none!important;
	}*/
	#site-navigation {
		display: block;
	}
	#option-navigation {
		grid-column: 2 span;
	}
	#site-navigation .menu,
	#option-navigation .menu {
		font-size: 4em;
		line-height: 1;
		flex-direction: column;
	}
	#site-navigation .menu li, 
	#option-navigation .menu li {
		white-space: normal;
	}
	#site-navigation .menu li.current-menu-item a,
	#option-navigation .menu li.current-menu-item a {
		color: var(--color-grey);
		border-bottom: none;
	}
	#site-navigation .menu li.menu-item a,
	#option-navigation .menu li.menu-item a {
		border-bottom: none;
	}
	#site-navigation .menu li.menu-item,
	#option-navigation .menu li.menu-item {
		margin: 0;
	}
	#option-navigation .menu li.menu-item-search .icon {
		display: none;
	}
	#phone-navigation {
		grid-column: 2;
		grid-row: 1;
	}
	#main form {
		grid-template-columns: repeat(2, 1fr);
	}
	#main form .item-100 {
		grid-column: span 2;
	}
	.content-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.type-post header {
		grid-template-columns: 1fr;
	}
	.type-post header .entry-title, 
	.type-post header .entry-link,
	.type-page .entry-list {
		/*grid-column: 1;*/
		width: 100%;
	}

	/*--- home animate ---*/
	.home #masteranim .anim__title svg {
		width: 23.25em;
		height: auto;
		animation: animTitle 2s ease-in-out;
	}
	.home #masteranim .anim__title svg path {
		fill: var(--bkgrd);
	}
	@keyframes animMaster {
		0%, 80% { opacity: 1; }
		100% { opacity: 0; }
	}
	@keyframes animTitle {
		0%, 60% { width: 100%; height: auto;}
		80% { width: 23.25em; height: auto; }
	}
}

@media screen and (max-width: 780px), print {
	.admin-bar #masthead.open {
		height: calc(100vh - 46px);
		padding-bottom: 1.5em;
	}
	.site-logo svg {
		height: 3em;
		margin: 0;
		transform: translateY(0.15em);
	}
	.column-4,
	.page .type-team {
		grid-template-columns: repeat(2, 1fr);
	}
	.column-2 {
		grid-template-columns: 1fr;
		gap: 1.5em 3em;
	}
	.column-4 .column-1-2 {
		grid-column-end: span 3;
	}
	.column-4 .column-2-3 {
		grid-column-start: 1;
	}
	.section-search .entry-name h2,
	.type-post header .entry-title h1,
	.page .type-page-50 h1,
	.page .entry-hat h2 {
		font-size: 4em;
	}
	.type-post .entry-list li > span {
		min-width: 50%;
	}
	.page:not(.home) .type-page, 
	.search .type-page {
		display: flex;
		flex-direction: column;
	}
	.page:not(.home) .type-page .entry-title {
		margin-bottom: 3rem;
	}
	.page:not(.home) .type-page .entry-content {
		grid-column: span 2;
	}
	.footer-navigation .menu,
	.yt-rss-feed {
		grid-template-columns: 1fr;
	}
	.footer-navigation .menu li.column-1,
	.footer-navigation .menu li.column-3 {
		grid-column: 1;
	}
	.footer-navigation .menu li.column-2,
	.footer-navigation .menu ul.column-4,
	.footer-navigation .menu li.column-4 {
		grid-column: 2;
	}
	.footer-navigation .menu li.first-column {
		margin-top: 1.5em;
	}

	/*--- home animate ---*/
	.home #masteranim .anim__title svg {
		position: absolute;
		top: 1em; 
		left: 1.5em;
		width: 11.75em;
		height: auto;
		transform: translate(0, 0);
		animation: animTitle 2s ease-in-out;
	}
	.home #masteranim .anim__title svg path {
		fill: var(--color);
		animation: animTitleChild 2s ease-in-out;
	}
	@keyframes animMaster {
		0%, 80% { opacity: 1; }
		100% { opacity: 0; }
	}
	@keyframes animTitle {
		0%, 60% { top: 50%; left: 50%; width: 100%; transform: translate(-50%, -50%) rotate(90deg); fill: var(--bkgrd); }
		80% { top: 1em; left: 1.5em; width: 11.75em; transform: translate(0, 0); fill: var(--color); }
	}
	@keyframes animTitleChild {
		0%, 80% { fill: var(--bkgrd); }
		100% { fill: var(--color); }
	}
}

@media screen and (max-width: 600px) {
	#wpadminbar {
		position: fixed;
	}
	#main form {
		grid-template-columns: 1fr;
	}
	#main form .item-100 {
		grid-column: span 1;
	}
	#main form.wpcf7-form {
		display: flex;
		flex-wrap: wrap;
	}
	#main form.wpcf7-form > *,
	.column-75 {
		width: 100%;
	}
	.content-grid {
		grid-template-columns: 1fr;
	}
}

@media (hover: none), (any-hover: none) {
	#site-navigation .menu li.menu-item a:hover, 
	#option-navigation .menu li.menu-item a:hover,
	.footer-navigation .menu li a:hover {
		border-bottom-color: transparent;
	}
	header .entry-link li a {
		color: var(--color);
	}
}

@media print {
	#masthead {
		position: relative;
	}
	#site-navigation,
	#option-navigation {
		visibility: hidden;
	}
	.post-single header .entry-title h2, 
	.home header .entry-title h2,
	.error-404 .entry-title h1 {
		font-size: 4em;
	}
	.taxonomy-term,
	article .entry-link,
	article .entry-nav,
	#footer {
		display: none;
	}

}


