/*!
Theme Name: cslm
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: cslm
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

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

cslm is based on Underscores https://underscores.me/, (C) 2012-2020 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:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Ninja Forms
--------------------------------------------- */
.nf-before-form-content,
.ninja-forms-req-symbol{
	display: none;
}
nf-field ::placeholder{
	color: transparent;
}
#infos #ninja_forms_required_items, 
#infos .nf-field-container,
#infos .label-above .nf-field-label{
	margin: 0;
}
#infos .nf-error .ninja-forms-field, .nf-error.listimage-wrap .nf-field-element ul {
	border-color: var(--orange);
}
#infos .nf-error-msg {
	color: var(--orange);
}
nf-fields-wrap {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	grid-gap: 15px;
	--text-color: #FFF;
}
nf-field div.nf-field-label {
	position: absolute;
	left: 15px;
	top: 5px;
	z-index: 1;
	transition: all ease 0.3s;
}
nf-fields-wrap input[type="submit"] {
	--gradient-accent: var(--orange);
	background-size: contain;
	background-repeat: no-repeat;
	background: 
		url(img/chevron.svg), 
		linear-gradient(to left,var(--gradient-accent,var(--blue)),var(--gradient-accent,var(--blue)), var(--btn-bg, #FFF), var(--btn-bg, #FFF));
	background-size: 22px, 300%;
	background-repeat: no-repeat;
	background-position: 90%, 0;
	padding-inline-end: 32px;
}
nf-fields-wrap input[type="submit"]:hover {
	--gradient-accent: var(--orange);
	background: 
		url(img/chevron-white.svg), 
		linear-gradient(to left,var(--gradient-accent,var(--blue)),var(--gradient-accent,var(--blue)), var(--btn-bg, #FFF), var(--btn-bg, #FFF));
	background-size: 22px, 300%;
	background-repeat: no-repeat;
	background-position: 90%, 100%;
}
nf-field:has(input:valid) div.nf-field-label,
nf-field:has(input:focus) div.nf-field-label,
nf-field:has(textarea:valid) div.nf-field-label,
nf-field:has(textarea:focus) div.nf-field-label,
nf-field:has(input:not(:placeholder-shown)) div.nf-field-label{
	top: -0.875rem;
	transform: scale(0.75);
	transform-origin: left;
}
nf-field input:invalid:focus {
	color: #FFF;
}
input:focus,
input:active {
	outline: none;
	color: #FFF;
}
.nf-error-msg {
	font-size: 0.875rem;
}
nf-field:has(.hr-container),
nf-field:has(.html-wrap),
nf-field:has(.repeater-container),
nf-field:has(.listcheckbox-container){
	grid-column: 1 / -1;
}
.html-wrap {
	font-family: "Quattrocento";
	font-weight: bold;
}
nf-field .nf-field-container {
	margin: 0;
}
.listcheckbox-container ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: .5rem;
}
.listcheckbox-container input {
	display: none;
}
nf-field .list-checkbox-wrap .nf-field-element li label, nf-field .list-image-wrap .nf-field-element li label, nf-field .list-radio-wrap .nf-field-element li label {
	background: #CCC;
	margin-left: 0;
	padding: 3px 10px;
	border-radius: 10px;
}
nf-field .list-checkbox-wrap .nf-field-element li input:checked + label, nf-field .list-image-wrap .nf-field-element li input:checked + label, nf-field .list-radio-wrap .nf-field-element li input:checked + label {
	background: var(--color-secondary-500);
	color: #FFF;
	margin-left: 0;
	padding: 3px 10px;
	border-radius: 10px;
}


/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

:root {
	--color-primary-100: hsl(209, 68%, 12%);
	--color-primary-300: hsl(209, 68%, 32%);
	--color-primary-500: hsl(209, 68%, 52%);
	--color-secondary-300: hsl(41, 29%, 37%);
	--color-secondary-500: hsl(41, 29%, 57%);
	--color-secondary-700: hsl(41, 29%, 77%);
	
	--side-padding: 3.75rem
}

/* Typography
--------------------------------------------- */
@font-face {
    font-family: 'Quattrocento Sans';
    src: url('webfonts/QuattrocentoSans-Bold.woff2') format('woff2'),
        url('webfonts/QuattrocentoSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quattrocento Sans';
    src: url('webfonts/QuattrocentoSans-Italic.woff2') format('woff2'),
        url('webfonts/QuattrocentoSans-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Quattrocento Sans';
    src: url('webfonts/QuattrocentoSans.woff2') format('woff2'),
        url('webfonts/QuattrocentoSans.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quattrocento';
    src: url('webfonts/Quattrocento-Bold.woff2') format('woff2'),
        url('webfonts/Quattrocento-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Quattrocento';
    src: url('webfonts/Quattrocento.woff2') format('woff2'),
        url('webfonts/Quattrocento.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'Quattrocento Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1.125rem;
	line-height: 1.875rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Quattrocento';
	clear: both;
	font-weight: normal;
	text-wrap: balance;
	color: var(--color-primary-100);
}
.home h2 {
	font-size: 2.5rem;
	line-height: 3rem;
}

p {
	margin-bottom: 1.5em;
	text-wrap: pretty;
	text-align: justify;
}

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;
	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;
}

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

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

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: var(--color-primary-100);
	text-decoration: none;
}

a:visited {
	color: var(--color-primary-100);
}

a:hover,
a:focus,
a:active {
	text-decoration: underline;
}

a:focus {
	outline: thin dotted;
}

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

/* 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);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

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 {
	background: #efefef;
	color: #666;
	border: none;
	border-radius: 3px;
	padding: 3px 1rem;;
}

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 {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/* Homepage
--------------------------------------------- */
.home main {
	position: relative;
	--bg-color: #F6F6F6;
	background: var(--bg-color);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
	margin: 5vw 0 7vw;
	padding-inline: var(--side-padding);
	gap: var(--side-padding);
}
.home #content {
	margin: -5vw 0 3vw;
}
.home #content article {
	max-width: 600px;
	margin: 0 auto;
}
#highlight {
	display: grid;
	align-items: center;
}
#highlight article {
	max-width: 720px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1.5rem;
}
#highlight img {
	border-radius: 10px;
}
#highlight h2 {
	font-size: 1.875rem;
	line-height: 2rem;
	margin: 0;
	padding: 0;
}
#highlight .text-box {
	margin: 1rem 0 0 -3rem;
	background: rgba(255 255 255 / 0.9);
	backdrop-filter: blur(5px);
	border-radius: 10px;
	padding: 1.5rem;
	position: relative;
}
#highlight .text-box a {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding: 1rem;
	overflow: hidden;
	border-radius: 10px;
  transition: color ease 0.3s;
}
#highlight .text-box a:after {
	--size: 0px;
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: var(--size);
	height: var(--size);
	border-radius: 1000px;
	background: var(--color-secondary-500);
	z-index: -1;
	translate: 50% 50%;
	transition: all linear(0, -0.007 8.3%, -0.04 14.3%, -0.11 20.2%, -0.309 32.1%, -0.333 35.2%, -0.324 37.8%, -0.293 39.7%, -0.241 41.5%, -0.065 44.8%, 0.198 47.7%, 0.97 54%, 1.18 57.1%, 1.298 60.5%, 1.331 63.2%, 1.326 66.2%, 1.278 70.1%, 1.107 80%, 1.048 84.8%, 1.009 91.2%, 1) 0.3s;
}
#highlight .text-box a:hover {
	color: #FFF;
	text-decoration: none;
}
#highlight .text-box a:hover:after {
	--size: 140px;
}

#highlight p {
	margin: 0 0 10px;
	line-height: 1.5;
}
.quick-links ul {
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 2rem;
	list-style-type: none;
}
.quick-links li:nth-child(6n+1) {
	--bg-url: url(img/bubble-01.svg);
	--circ-url: url(img/circle-05.svg);
	--bubble-anim-angle: -7deg;
	--bubble-anim-x-scale: 0.97;
	--bubble-anim-y-scale: 1;
	--circle-anim-angle: -4deg;
	--circle-anim-x-scale: 0.97;
	--circle-anim-y-scale: 1.03;
}
.quick-links li:nth-child(6n+2) {
	--bg-url: url(img/bubble-02.svg);
	--circ-url: url(img/circle-04.svg);
	--bubble-anim-angle: 5deg;
	--bubble-anim-x-scale: 1;
	--bubble-anim-y-scale: 1.06;
	--circle-anim-angle: -7deg;
	--circle-anim-x-scale: 0.97;
	--circle-anim-y-scale: 1;
}
.quick-links li:nth-child(6n+3) {
	--bg-url: url(img/bubble-03.svg);
	--circ-url: url(img/circle-01.svg);
	--bubble-anim-angle: -3deg;
	--bubble-anim-x-scale: 1.03;
	--bubble-anim-y-scale: 0.98;
	--circle-anim-angle: 5deg;
	--circle-anim-x-scale: 1;
	--circle-anim-y-scale: 1.06;
}
.quick-links li:nth-child(6n+4) {
	--bg-url: url(img/bubble-04.svg);
	--circ-url: url(img/circle-06.svg);
	--bubble-anim-angle: 5deg;
	--bubble-anim-x-scale: 0.95;
	--bubble-anim-y-scale: 1.05;
	--circle-anim-angle: -3deg;
	--circle-anim-x-scale: 1.03;
	--circle-anim-y-scale: 0.98;
}
.quick-links li:nth-child(6n+5) {
	--bg-url: url(img/bubble-05.svg);
	--circ-url: url(img/circle-02.svg);
	--bubble-anim-angle: 3deg;
	--bubble-anim-x-scale: 1.04;
	--bubble-anim-y-scale: 0.96;
	--circle-anim-angle: 5deg;
	--circle-anim-x-scale: 0.95;
	--circle-anim-y-scale: 1.05;
}
.quick-links li:nth-child(6n+6) {
	--bg-url: url(img/bubble-06.svg);
	--circ-url: url(img/circle-04.svg);
	--bubble-anim-angle: -4deg;
	--bubble-anim-x-scale: 0.97;
	--bubble-anim-y-scale: 1.03;
	--circle-anim-angle: 3deg;
	--circle-anim-x-scale: 1.04;
	--circle-anim-y-scale: 0.96;
}
.quick-links li {
	display: flex;
	align-content: center;
	justify-content: center;
	align-items: center;
	align-content: center;
	color: #FFF;
	aspect-ratio: 1;
	position: relative;
	isolation: isolate;
}
.quick-links li:before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--bg-url) no-repeat center;
	z-index: -1;
	transition: all linear(0, -0.007 8.3%, -0.04 14.3%, -0.11 20.2%, -0.309 32.1%, -0.333 35.2%, -0.324 37.8%, -0.293 39.7%, -0.241 41.5%, -0.065 44.8%, 0.198 47.7%, 0.97 54%, 1.18 57.1%, 1.298 60.5%, 1.331 63.2%, 1.326 66.2%, 1.278 70.1%, 1.107 80%, 1.048 84.8%, 1.009 91.2%, 1) .5s;
}
.quick-links li:after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--circ-url) no-repeat center;
	z-index: -2;
	transition: all linear(0, -0.007 8.3%, -0.04 14.3%, -0.11 20.2%, -0.309 32.1%, -0.333 35.2%, -0.324 37.8%, -0.293 39.7%, -0.241 41.5%, -0.065 44.8%, 0.198 47.7%, 0.97 54%, 1.18 57.1%, 1.298 60.5%, 1.331 63.2%, 1.326 66.2%, 1.278 70.1%, 1.107 80%, 1.048 84.8%, 1.009 91.2%, 1) .5s;
}
.quick-links li:has(a:hover):before {
	rotate: var(--bubble-anim-angle, 10deg);
  scale: var(--bubble-anim-x-scale, 0.95) var(--bubble-anim-y-scale, 1.05);
}
.quick-links li:has(a:hover):after {
	rotate: var(--circle-anim-angle, 10deg);
  scale: var(--circle-anim-x-scale, 0.95) var(--circle-anim-y-scale, 1.05);
}
.quick-links a {
	color: #FFF;
}
.home main svg {
	position: absolute;
	fill: var(--bg-color, transparent);
}
.home .arrow {
	height: 7px;
	justify-content: center;
	display: flex;
	margin: 5px 0 0;
}
main .quick-links svg {
	fill: none;
	stroke: #FFF;
	width: 15px;
	stroke-width: 1px;
	display: block;
	margin: 0 auto;
}
svg#top-curve {
	bottom: calc(100% - 1px);
	z-index: -1;
}
svg#bottom-curve {
	top: calc(100% - 1px);
	z-index: -1;
}

/* Page
--------------------------------------------- */
body:not(.home) main {
	padding: var(--side-padding)
}
body:not(.home) main > article {
	max-width: 1000px;
	margin: 0 auto;
}

/* Archive
--------------------------------------------- */
body.archive section {
	max-width: 1000px;
	margin: 0 auto;
}

.cours-filtres {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1rem 0 1.5rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1.5rem;
}

/* Lessons & teachers
--------------------------------------------- */
.lesson-filters {
    display: flex;
    gap: 1rem;
}
ul#filter {
	display: flex;
	flex-wrap: wrap;
	list-style-type: none;
	padding: 0;
	margin: 0;
	gap: 3Px;
	margin: 0 0 20px;
}
.cours-toggle,
ul#filter button{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: transparent;
    color: #555;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cours-toggle:hover {
    background: #f5f5f5;
    border-color: #999;
}
.cours-toggle.active {
    background: var(--color-primary-100);
    color: #fff;
    border-color: transparent;
}
.cours-filtres__age {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 200px;
}
.cours-filtres__age label {
    font-size: 14px;
    color: #555;
    white-space: nowrap;
}
.cours-filtres__age input[type="range"] {
    flex: 1;
    accent-color: #111;
}
.cours-compteur {
    font-size: 13px;
    color: #888;
    margin-bottom: 1.25rem;
    min-height: 1.2em;
}
.cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-gap: 1rem;
}
.card {
	aspect-ratio: 1 / 1;
	position: relative;
	overflow: hidden;
	border-radius: 10px;
}
.card img {
	position: absolute;
	inset: 0;
	object-fit: cover;
	height: 100%;
	z-index: -1;
	border-radius: 10px;
	width: 100%;
	display: block;
	filter: blur(0px);
	transition: filter ease 0.3s;
}
.card .entry-title {
	position: absolute;
	inset: 10px;
	top: auto;
	font-size: 1.2rem;
	line-height: 1.5rem;
	display: block;
	background: hsl(from var(--color-primary-100) h s l / 0.5);
	backdrop-filter: blur(5px);
	color: #FFF;
	padding: 5px 1rem;
	border-radius: 5px;
	margin: 0;
	box-shadow: 
		inset -1px -1px 0px rgba(0 0 0 / .2),
		inset 1px 1px 0px rgba(256 256 256 / .3)
		;
	transition: translate ease 0.3s;
}
.card .tags {
	position: absolute;
	right: 10px;
	top: 10px;
	display: grid;
  grid-template-columns: 1fr 1fr;
	gap: .5rem;
	transition: translate ease 0.3s;
}
.card .tags > div {
	display: block;
	border-radius: 1000px;
	color: #FFF;
	background: rgba(0 0 0 / 0.5);
	backdrop-filter: blur(5px);
	color: #FFF;
	margin: 0;
	min-width: 30px;
	text-align: center;
	font-size: .875rem;
	padding: 0 3px;
	box-shadow: 
		inset -1px -1px 0px rgba(0 0 0 / .2),
		inset 1px 1px 0px rgba(256 256 256 / .3)
		;
}
.card a {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	isolation: isolate;
	border-radius: 10px;
	overflow: hidden;
	color: #FFF;
	font-weight: bold;
	opacity: 0;
	transition: opacity ease 0.3s;
}
.card a:before {
	content:"";
	position: absolute;
	left: 0;
	top: 0;
	background: hsl(from var(--color-primary-500) h s l / 0.5);
	width: 100%;
	height: 100%;
	z-index: -1;
	transform-origin: center;
	transition: opacity ease 0.3s;
}
.card:hover .entry-title {
	translate: 0 200%;	
}
.card:hover .tags {
	translate: 0 -200%;	
}
.card:hover a,
.card:hover a:before{
	opacity: 1;
}
.card:hover img {
	filter: blur(10px);
}

/* SINGLE PAGES */
body.professeurs-template-default h1 {
	text-align: center;
}
body.professeurs-template-default .post-thumbnail img {
	display: block;
	max-width: 200px;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 10px;
	margin: 0 auto;
}

/* Contact
--------------------------------------------- */
body.page-template-page_contact .info {
  text-align: center;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 0 0 1rem;
	align-content: center;
	justify-content: center;
	justify-items: center;
}
body.page-template-page_contact .info > div {
	display: grid;
	align-content: center;
	justify-items: center;
}
body.page-template-page_contact i {
	color: var(--color-secondary-500);
}
body.page-template-page_contact .info i {
	display: block;
	margin: 0 0 5px;
	color: var(--color-secondary-500);
}
.people {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
.people > div {
	display: grid;
	grid-template-columns: 150px 1fr;
	gap: 1rem;
	font-size: 1rem;
	line-height: 1.5rem;
}
.people img {
	aspect-ratio: 1;
	object-fit: cover;
	object-position: top;
	border-radius: 10px;
}
.people .nom {
	font-weight: bold;
	font-size: 1.125rem;
}
.people .description {
	margin: 0 0 5px;
}
.locations {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 1rem;
}
.locations img {
	aspect-ratio: 1;
	object-fit: cover;
	object-position: top;
	border-radius: 10px
}
.locations .nom {
	font-weight: bold;
}


/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Header
--------------------------------------------- */
#masthead {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-content: center;
	position: relative;
}
body:not(.home) #masthead:after {
	content: "";
	display: block;
	width: 100%;
	background: url(img/wave.svg) no-repeat center;
	background-size: cover;
	aspect-ratio: 1920 / 364;
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0.1;
	z-index: -1;
}
.home .site-branding {
	position: absolute;
	left: var(--side-padding, 3rem);
	top: 32%;
	display: block;
}
.site-branding {
	--logo-width: 100px;
	--title-size: 2.5rem;
	--slogan-size: 1.5rem;
	display: flex;
	align-items: center;
	padding: var(--side-padding);
}
.home .site-branding {
	--logo-width: clamp(100px,10vw,160px);
	--logo-spacing: 0 0 clamp(1rem, 2vw, 2.5rem);
	--title-size: clamp(2.5rem,4.5vw,5rem);
	--slogan-size: clamp(1.125rem,2vw,2.25rem);
	padding: 0;
}
.site-branding img {
  max-width: var(--logo-width);
	margin:var(--logo-spacing, 0 2rem 0 0);
  display: block;
}
.site-title {
	font-family: 'Quattrocento';
	font-size: var(--title-size);
	line-height: var(--title-size);
	margin: 0 0 15px;
	color: var(--color-primary-100);
	font-weight: normal;
}
.site-description {
	font-size: var(--slogan-size);
	line-height: var(--slogan-size);
	margin: 0;
	color: var(--color-secondary-500, #FFF);
}
#masthead > .home-header {
	position: relative;
	padding: 0;
	width: 100%;
	/*! z-index: -1; */
	aspect-ratio: 1920 / 683;
	background: url(img/home-waves.svg);
	background-size: cover;
	grid-column: 1 / -1;
}
.home-header .banner img {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	width: 100%;
	mask-image: url(img/home-mask.svg);
	mask-size: cover;
	z-index: -1;
}


/* Top bar
--------------------------------------------- */
#top-bar {
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #FFF;
	grid-column: 1 / -1;
	box-shadow: 0 0 3px rgba(0 0 0 / 0.2);
	padding: 0 var(--side-padding);
}
#top-bar > div {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 30px;
}
#top-bar > .right {
	justify-content: flex-end;
	font-size: 0.875rem;
	text-transform: uppercase;
	font-weight: bold;
}
#top-bar ul {
	display: flex;
	margin: 0;
	padding: 0;
	list-style-type: none;
	gap: 0;
	align-items: center;
}
#top-bar a.icon:hover  {
	color: var(--color-primary-100);
}
#top-bar .right a {
	--gradient-color-2: var(--color-primary-100);
	padding: 0.5rem 0.875rem;
	background: linear-gradient(to bottom, var(--gradient-color-1, #FFF), var(--gradient-color-1, #FFF) 50%,var(--gradient-color-2)  50%, var(--gradient-color-2));
	background-size: 300% 200%;
	transition: all linear(0, 1 44.7%, 0.898 51.8%, 0.874 55.1%, 0.866 58.4%, 0.888 64.3%, 1 77.4%, 0.98 84.5%, 1) 0.3S;
	display: inline-block;
}
#top-bar .right  a:hover {
	color: #FFF;
	text-decoration: none;
	background-position: 0 100%;
}
#top-bar .icon {
	color: var(--color-secondary-500, #FFF);
	display: inline;
	margin: 0 10px 0 0;
}
#top-bar .wpml-ls-item a {
	color: #FFF;
	--gradient-color-1: var(--color-primary-100);
	--gradient-color-2: var(--color-secondary-500);
}


/* Navigation
--------------------------------------------- */
.main-navigation {
	font-size: 1.0625rem;
	font-family: 'Quattrocento';
	text-transform: uppercase;
	font-weight: bold;
	padding: var(--side-padding);
}
.home .main-navigation {
	position: absolute;
	top: var(--side-padding, 3rem);
	right: var(--side-padding, 3rem);
	background: rgba(256 256 256 / 0.95);
	border-radius: 1000px;
	padding: 0 1.5rem;
	box-shadow: 
		1px 1px 3px rgba(0 0 0 / 0.2),
		inset 1px 1px 3px rgba(256 256 256 / 1)
		;
}
.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
	gap: 0;
	justify-content: flex-end;
}

.main-navigation ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 99999;
	translate: -50%;
}

ul#main:before {
	content: "";
	display: block;
	position: absolute;
	left: anchor(left);
	right: anchor(right);
	bottom: anchor(bottom);
	background: var(--color-primary-100);
	position-anchor: --hovered-link;
	min-height: 2px;
	transition: all linear(0, 0.029 1.3%, 0.119 2.8%, 0.659 8.7%, 0.871 11.6%, 1.009 14.6%, 1.052 16.2%, 1.078 17.9%, 1.088 19.7%, 1.085 21.7%, 1.014 31.4%, 0.993 38%, 1.001 57.6%, 1) 0.3s;
	border-radius: 1000px;
}
ul#main > li.current-menu-item,
ul#main > li:hover,
ul#main:has(li:hover) > li.current-menu-item:hover{
	anchor-name: --hovered-link;
}
ul#main:has(li:hover) li.current-menu-item {
	anchor-name: none;
}
ul#main:has(li:hover):before {
	top: calc(anchor(top) + 5px);
	bottom: calc(anchor(bottom) + 5px);
	left: calc(anchor(left) - 5px);
	right: calc(anchor(right) - 5px);
}
ul#main > li:hover > a {
	color: #FFF;
}
.main-navigation ul ul a {
	width: 200px;
	background: rgba(255 255 255 / 0.9);
	margin: 0.25rem;
	border-radius: 1000px;
	padding-inline: 1rem;
	line-height: 25Px;
	position: relative;
	transition: all ease 0.3s;
	box-shadow: 
		1px 1px 3px rgba(0 0 0 / 0.2),
		inset 1px 1px 3px rgba(256 256 256 / 1)
		;
}
.main-navigation ul ul a:hover {
	padding-left: 1.5rem;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	display: block;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	padding: 0.625rem 1rem;
	line-height: 30px;
	transition: all ease 0.3s;
}


/* 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: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* FAQ/accordions
--------------------------------------------- */
.questions {
	display: grid;
	grid-gap: 15px;
}
.question {
	background: var(--bg, rgba(255 255 255 / 0.1));
	border-radius: 10px;
	overflow: hidden;
	transition: all cubic-bezier(0.86, 0, 0.14, 1) 0.3s;
}
.question .header {
	padding: 16px 20px;
	color: var(--title-color, var(--orange));
	font-weight: var(--title-weight,normal);
	font-size: 1.4rem;
	border-bottom: 2px solid var(--border, var(--orange));
	display: grid;
	align-items: center;
	grid-template-columns: 1fr 20px;
	gap: 20px;
	line-height: 1.875rem;
	cursor: pointer;
}
.question .header:has(.icon) {
	grid-template-columns: 20px 1fr 20px;
}
.question .header:hover {
	background: var(--bg, rgba(255 255 255 / 0.1));
}
.question .title {
	flex-grow: 1;
}
.question .description {
	padding: 10px 20px 20px;
}
.question p:last-child {
	margin: 0;
}
.question i {
	transition: all linear(0, 0.03 1.1%, 0.125 2.4%, 0.906 9.8%, 1.046 12.3%, 1.11 15%, 1.116 16.3%, 1.11 17.8%, 1.014 25.8%, 0.987 31.2%, 1.001 47.2%, 1) 0.3s;
	display: block;
}
.question.open i[class*="chevron"] {
	rotate: 90deg;
}
@media (width < 1000px) {
	.question .header {
		font-size: 1.125rem;
		line-height: 1.375rem;
	}
	.question i[class*='chevron'] {
		color: var(--blue);
	}
}

/* Awards
--------------------------------------------- */
.winners {
  display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 1px;
}
.winner {
	background: #efefef;
	padding: .5rem 1rem;
	border-radius: 5px;
}
.winner .name {
	font-size: 1.25rem;
	font-weight: bold;
}
.winner .year {
	font-size: 0.875rem;
	color: lightcoral;
	font-weight: normal;
}
.winner .description {
	font-size: 0.875rem;
	font-style: italic;
	
}

/* Footer
--------------------------------------------- */
.site-footer {
	text-align: center;
	display: grid;
	gap: 1rem;
}
.site-footer img {
	max-width: 100px;
	margin: 0;
	display: block;
}
.site-footer ul {
	display: flex;
	align-items: center;
	justify-content: center;
	list-style-type: none;
	padding: 0;
	margin: 0;
  gap: 1.5rem;
	font-family: "Quattrocento";
}
.site-info {
	font-size: .875rem;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

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

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	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;
}

.screen-reader-text: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: 0.875rem;
	font-weight: 700;
	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. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}


