/*-----------------------------
		GENERAL
-----------------------------*/

:root {
  --fontSize: 18px;
  --wrapper: 1400px;
  --gutter: 3em;
  --textColor: #000000;
  --black: #000000;
  --color1: #0097af;
  --color2: #2f526e;
  --color3: #b2a97f;
  --trueBlack: #000000;
  --lightGrey: #f6f2ec;
  --grey: #979797;
  --baseFont: 'poppins', sans-serif;
  --titleFont: "freight-big-pro", serif;
  --borderRadius: 1em;
  --boxShadow: 0 0 10px 2px rgba(0,0,0,0.125);
  --lightBoxShadow: 0 0 20px 1px rgba(0,0,0,0.05);
  --veryLightBoxShadow: 0 0 10px 1px rgba(0,0,0,0.035);
  --headerHeight: 185px;
}
@media screen and (max-width: 1300px) {
  :root {
    --gutter: 2.5em;
  }
}
@media screen and (max-width: 1100px) {
  :root {
    --fontSize: 16px;
    --headerHeight: 165px;
  }
}
@media screen and (max-width: 950px) {
  :root {
    --headerHeight: 155px;
  }
}
@media screen and (max-width: 600px) {
  :root {
    --fontSize:14px;
    --headerHeight: 135px;
  }
}
@media screen and (max-width: 450px) {
  :root {
    --gutter: 2em;
  }
}

html {
  overflow-x: clip;
  max-width: 100vw;
}
body {
  color: var(--textColor);
  font-family: var(--baseFont);
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  font-weight: 400;
  font-size: var(--fontSize);
  background-color: #fff;
  overflow-x: clip;
  max-width: 100vw;
}
body:not(.header-light) {
  padding-top: var(--headerHeight);
}
main {
	max-width: 100vw;
}


.wrapper.small-padding {
  padding: 0 var(--gutter);
}


/*******************
	helpers
*******************/

.color1 { color: var(--color1); }
.color2 { color: var(--color2); }
.bg-color1 { background-color: var(--color1); color: #fff; }
.bg-color2 { background-color: var(--color2); color: #fff; }

.white {
  color: #fff;
}

.btn.golden {
  --color: var(--color3);
}
.btn.golden::before {
  background-color: var(--color3) !important;
}

.slider-nav a {
  --s: 5em;
  --sarrow: calc(var(--s) * 0.2);
  position: relative;
  width: calc(var(--s) * 0.7);
  height: calc(var(--s) * 0.3);
  background-image: none;
  background-color: transparent;
}
.slider-nav a::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--sarrow);
  height: var(--sarrow);
  margin-top: calc(var(--sarrow) * -0.5);
  margin-left: calc(var(--sarrow) * -0.5);
  transform: rotate(45deg);
  background-image: url(../../img/arrow.svg);
  background-size: 70% auto;
  background-position: center;
  background-repeat: no-repeat;
}
.slider-nav a:hover {
  background-color: var(--color1);
}
.slider-nav a:hover::after {
  background-image: url(../../img/arrow-white.svg);
}

.ps-heading_cta {
  --g: 1em;
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  text-align: left;
  width: calc(100% + (var(--g) * 2));
  margin: calc(var(--g) * -1);
}
.ps-heading_cta > * {
  padding: var(--g);
}
.ps-heading_cta > .heading {
  flex: 1;
}
.ps-heading_cta > .cta {
  flex: 0 0 25em;
}
@media screen and (max-width: 1100px) {
  .ps-heading_cta > .heading,
  .ps-heading_cta > .cta { flex: 0 0 50%; }
}
@media screen and (max-width: 800px) {
  .ps-heading_cta > .heading,
  .ps-heading_cta > .cta { flex: 0 0 100%; }
}

.the-form input:not([type="submit"]),
.the-form textarea,
.the-form select {
  border-radius: 0.5em;
}
.the-form .mandatory {
  color: var(--color1);
}
.the-form input[type="submit"] {
  background-color: var(--color1);
  border-radius: 9999px;
  color: #fff;
  border: none;
  font-weight: 400;
  padding: 1em 2em;
}
.the-form input[type="submit"]:hover {
  background-color: var(--color2);
  color: #fff;
}

.back-to-top {
  background-image: url(../../img/rarr.svg);
  background-size: 50% auto;
  transform: rotate(-90deg);
}

.text p, .text ul, .text ol {
  line-height: 1.55em;
}

.text a,
.gutenberg p a {
  color: var(--color1);
}
.text a:hover,
.gutenberg p a:hover {
  color: var(--color3);
}

.text strong {
  font-weight: 600;
}
.text.colorOnStrong strong {
  color: var(--color1);
}

.ps-image.w-caption + .text {
  margin-top: 0.75em;
}
.ps-image.scale-down {
  transform: scale(0.8);
}
.ps-image.scale-down.w-caption + .text {
  max-width: 80%;
  margin-top: -0.5em;
  margin-left: auto;
  margin-right: auto;
}

.swiper.equal-height .swiper-slide {
  height: auto;
}
.swiper-pagination {
  position: relative;
  bottom: 0 !important;
  margin-top: 1rem;
  --swiper-pagination-bullet-size: 0.85rem;
}
.swiper {
  --swiper-theme-color: var(--color1);
  --swiper-pagination-bullet-inactive-opacity: 0.1;
}

.swiper-navigation {
  --swiper-navigation-sides-offset: 1em;
}
.swiper-button-disabled {
  opacity: 0 !important;
}
.swiper-button::after {
  color: #fff;
}

.gutenberg .logos-gallery .wp-block-image {
  margin-top: auto !important;
  padding: 1em;
}
.gutenberg .logos-gallery .wp-block-image img {
  max-height: 6em !important;
  object-fit: contain;
  object-position: center;
  width: 100% !important;
}

@media screen and (min-width: 1001px) {
  .text.textOnTwoCols {
    column-count: 2;
  }
}

/*******************
  HEADER & FOOTER
*******************/

header {
  padding: 0 2em;
/*  overflow: clip;
*/}
.scrolled header {
  background-color: rgba(255,255,255,0.9);
  backdrop-filter: blur(5px);
}
header .inner {
  position: relative;
  padding: 1em 0;
  border-radius: 0 0 var(--borderRadius) var(--borderRadius);
  display: flex;
  align-items: center;
}
body:not(.scrolled) header .inner {
  padding-top: 3em;
}
header .top-nav {
  z-index: 999;
  position: absolute;
  top: 0;
  right: 0;
  border-bottom: currentColor 1px solid;
  border-left: currentColor 1px solid;
  border-bottom-left-radius: calc(var(--borderRadius) / 2);
  padding: 0.25em 2em 0.25em 1em;
}
header .top-nav ul {
  list-style-type: none;
  display: flex;
  font-size: 0.85em;
}
header .top-nav ul li {
  padding: 0.25em;
}
header .top-nav ul li a {
  display: block;
  padding: 0.25em;
}
header .header-nav {
  position: relative;
  top: -2em;
  flex: 1;
  padding: 0 2em;
  transition: 0.5s;
}
.miniScrolled header .header-nav {
  top: 0;
}
header .header-nav::before {
  content: '';
  position: absolute;
  top: 100%;
  width: 50vw;
  height: 1px;
  background-color: currentColor;
  opacity: 0.5;
}
header .header-nav.left {
  text-align: right;
  padding-left: 0;
}
header .header-nav.left::before {
  right: 0;
}
header .header-nav.right {
  text-align: left;
  padding-right: 0;
}
header .header-nav.right::before {
  left: 0;
}
.main-nav > ul {
  padding-top: 0;
  font-size: 1.125em;
}
.main-nav ul li a {
  padding: 1.5em 1em;
}
.main-nav > ul > li.current-menu-item > a::before,
.main-nav > ul > li.current-menu-ancestor > a::before {
  left: 1em;
  top: calc(100% - 3px);
  width: calc(100% - 2em);
  border-radius: 9999px;
  height: 6px;
  background-color: currentColor;
}
.main-nav > ul > li > ul {
  transform: translateX(0);
  border-radius: 0;
  box-shadow: none;
  font-size: 0.8em;
  text-align: left;
}
.main-nav > ul > li > ul > li:first-child::before {
  left: 2em;
  border-bottom: 4px solid var(--color1);
}
.main-nav > ul > li > ul > li {
  background-color: rgba(0,0,0,0);
  border-radius: 0 !important;
}
.main-nav > ul > li > ul > li:hover,
.main-nav > ul > li > ul > li > ul > li {
  background-color: rgba(0,0,0,0.2);
}
.main-nav > ul > li > ul > li a {
  white-space: normal;
  line-height: 1.2em;
  padding: 1em 0.75em;
  position: relative;
}
.main-nav > ul > li > ul > li a::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(255,255,255,0.3);
}
.main-nav ul li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  background-color: var(--color1);
  min-width: 18em;
  max-width: 30em;
  z-index: 1000;
}
.main-nav ul li:hover > ul {
  display: block;
}
.main-nav ul li ul li ul {
  top: 0;
  left: 100%;
}
.main-nav ul li ul li {
  position: relative;
}
.main-nav ul li ul li a {
  display: block;
  text-decoration: none;
}
.main-nav > ul > li.menu-item-has-children > a::after {
  display: none;
}

header .top-nav a:hover,
header .main-nav ul li a:hover {
  color: var(--color1);
}
.header-light:not(.scrolled) header .top-nav a:hover,
.header-light:not(.scrolled) header .main-nav > ul > li > a:hover {
  color: var(--color1);
  backdrop-filter: blur(2px);
  border-radius: 0.5em 0.5em 0 0;
}
header .header-logo {
  padding: 0;
  text-align: center;
  flex: 0 0 14em;
  padding: 0 0.25em;
}
header .header-logo img {
  position: relative;
  top: -1em;
  max-height: 12em;
  transform: scale(1.5);
  transform-origin: top center;
}
.miniScrolled .header-logo img {
  max-height: 6em;
  transform: scale(1);
  top: 1.5em;
}
.miniScrolled .nav-down .header-logo img {
  top: 0;
}
@media screen and (max-width: 1250px) {
  .miniScrolled .nav-down .header-logo img {
    top: -0.25em;
  }
}

@media screen and (max-width: 1250px) and (min-width: 1101px) {
  .main-nav > ul { font-size: 1em; }
  header .header-logo img { max-height: 10.4em; }
}
@media screen and (max-width: 1000px) {
  header .header-logo img { max-height: 9.5em; }
}
@media screen and (max-width: 950px) {
  .header-hamburger {
    position: absolute;
    top: 1em;
    left: 0;
  }
  header .header-logo {
    flex: 0 0 100%;
  }
  .miniScrolled header .header-logo img { top: 0; }
}
@media screen and (max-width: 750px) {
  header .top-nav { display: none; }
  header .header-logo img { max-height: 6.5em; }
}

.mobile-menu { background-color: var(--color2) }
.mobile-menu .logo img { width: 12em; margin: 1em 0 0.5em 0; }

.mobile-menu nav {
  padding: 1em 0;
}
.mobile-menu nav > ul {
  font-size: 0.9em;
}
.mobile-menu nav > ul > li > ul {
  font-style: normal;
}
.mobile-menu nav > ul > li > ul > li > ul {
  font-size: 0.9em;
}
.mobile-menu nav > ul > li > ul > li > ul > li a {
  padding-left: 5em;
}
.mobile-menu nav > ul > li > ul > li > ul > li a::before {
  width: 2.5em;
}

footer {
  position: relative;
  padding: 2em 0;
  overflow: clip;
}
footer .inner {
  background-color: rgba(4, 81, 112, 0.64);
  color: #fff;
  border-radius: var(--borderRadius);
  padding: 2em;
}
footer .inner > div[class^='wrapper-'],
footer .inner > div[class*=' wrapper-']{
  margin-left: auto;
  margin-right: auto;
}
footer .main-grid > * {
  margin-top: auto;
  margin-bottom: 0;
}
footer .main-grid > .right {
  padding-bottom: 0;
  padding-right: 0;
}
.footer-logo img {
  display: block;
  max-width: 8em;
}
.footer-menu {
  margin-top: 2.5em;
  font-family: var(--titleFont);
}
.footer-menu li {
  font-size: 1.125em;
}
.footer-menu li:last-child {
  margin-bottom: 0;
}
.footer-menu a {
  font-weight: 400;
}
footer .mentions {
  margin-top: 2em;
  margin-bottom: 2em;
  padding-top: 2em;
  border-top: rgba(255,255,255,0.25) 1px solid;
}
footer .mentions .text {
  opacity: 0.70;
  transition: 0.3s;
}
footer .mentions .text:hover {
  opacity: 1;
}
footer .mentions .text a {
  color: currentColor;
  text-decoration: none;
}
footer .mentions .text a:hover {
  text-decoration: underline;
}


@media screen and (max-width:1000px) {
  .footer-menu li {
    font-size: 1em;
  }
}
@media screen and (min-width:801px) {
  footer .main-grid > .right {
    padding-bottom: 0;
    padding-right: 0;
  }
}
@media screen and (max-width:800px) {
  footer .main-grid > * { flex: 0 0 100% }
  footer .main-grid > .left {
    text-align: center;
  }
  .footer-logo img {
    margin: auto;
  }
  .footer-menu {
    margin-top: 0;
  }
  footer .main-grid > .left .footer-menu {
    margin-top: 2em;
  }
}

/*******************
    PAGES LAYOUTS
*******************/

.wrapper-fullfull {
  max-width: 100%;
  padding: 0;
}

.single-layout {
  margin: calc(var(--gutter) * 2) 0;
}
  .page-intro + .page-layout {
    margin: 0;
  }
.single-layout .meta {
  margin-top: 1.5em;
}
.single-layout .page-content {
  position: relative;
  margin-top: 2em;
  padding-top: 2em;
}
.single-layout .page-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 10em;
  height: 1px;
  background-color: currentColor;
  transform: translateX(-50%);
}

body.header-light {
  padding-top: 0;
}
body.header-light:not(.scrolled) header {
  background: transparent;
  color: #fff;
}

.page-intro {
  padding-top: var(--headerHeight);
  width: calc(100% - 2em);
  margin: 0 1em 1em 1em;
  border-radius: 0 0 var(--borderRadius) var(--borderRadius);
  overflow: clip;
}
.page-intro > .ill {
  z-index: 1;
}
.page-intro > .ill > video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
}
.page-intro > .ill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.68;
  transition: 1s 1s;
}
.ready .page-intro > .ill::after {
  opacity: 0.34;
}
.page-intro > .content {
  z-index: 3;
  position: relative;
  padding: calc(var(--gutter) * 1.5) 0 calc(var(--gutter) * 2.5) 0;
  color: #fff;
}

.ps-small-cta {
  position: relative;
  color: #fff;
  border-radius: calc(var(--borderRadius) / 2);
  padding: 2em 1em;
  overflow: clip;
}
.ps-small-cta::before {
  content: '';
  display: block;
  padding: 20%;
}
.ps-small-cta > .ill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.2;
}
.ps-small-cta > .content {
  z-index: 3;
  position: relative;
}


.ps-page-nav ul {
  list-style-type: none;
  text-align: left;
  font-size: 1.125em;
  margin-left: 0 !important;
}
.ps-page-nav ul li:not(:last-child) {
  margin-bottom: 0.5em;
}
.ps-page-nav a {
  z-index: 2;
  position: relative;
  display: block;
  border: var(--color1) 1px solid;
  border-radius: var(--borderRadius);
  padding: 1em 3em 0.75em 1.5em;
  line-height: 1.25em;
  overflow: clip;
  text-decoration: none !important;
  transition: 0.5s;
}
.ps-page-nav a::before {
  content: '';
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: var(--color1);
  transition: 0.35s;
}
.ps-page-nav a::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 3em;
  height: 100%;
  background-image: url(../../img/rarr.svg);
  background-position: center;
  background-size: 1em auto;
  background-repeat: no-repeat;
  filter: invert(44%) sepia(24%) saturate(7230%) hue-rotate(160deg) brightness(92%) contrast(101%);
}
.ps-page-nav a.active,
.ps-page-nav a:hover {
  color: #fff !important;
  border-color: var(--color1);
}
.ps-page-nav a.active::before,
.ps-page-nav a:hover::before {
  width: 100%;
}
.ps-page-nav a.active::after,
.ps-page-nav a:hover::after {
  filter: brightness(0) invert(1);
}
.ps-page-nav .hide { font-size: 0; }

.ps-w-sidebar {
  --g: 2.5em;
}
.ps-w-sidebar > sidebar {
  flex: 0 0 30em;
}
.ps-w-sidebar > sidebar > *:not(:last-child) {
  margin-bottom: 3em;
}
.ps-w-sidebar > sidebar .sticky,
.sidebar .sticky {
  position: sticky;
  top: 2em;
}

.ps-w-sidebar > .content {
  flex: 1;
  text-align: left;
}
.ps-w-sidebar > .content > *:first-child {
  margin-top: var(--g);
}
.ps-w-sidebar > .content > *:not(:last-child) {
  margin-bottom: var(--g);
}
@media screen and (max-width: 1600px) {
  .ps-w-sidebar > sidebar { flex: 0 0 25em; }
  .ps-page-nav ul { font-size: 1em; }
}
@media screen and (max-width: 900px) {
  .ps-w-sidebar { --g: 1em; }
  .ps-w-sidebar > sidebar { flex: 0 0 20em; }
}
@media screen and (max-width: 750px) {
  .ps-w-sidebar > sidebar {
    flex: 0 0 25em;
    margin: auto;
  }
  .ps-w-sidebar > .content { flex: 0 0 100%; }
}
@media screen and (max-width: 27em) {
  .ps-w-sidebar > sidebar {
    flex: 0 0 100%;
  }
}


.big-cta {
  --g: var(--gutter);
  position: relative;
  width: calc(100% - (var(--g) * 2));
  margin: calc(var(--g) * 1.5) var(--g);
}
.big-cta > .ill {
  border-radius: var(--borderRadius);
  overflow: clip;
}
.big-cta > .ill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  opacity: 0.6;
  transition: 1s 1s;
}
.big-cta > .ill img {
  filter: blur(20px);
  border-radius: var(--borderRadius);
  overflow: clip;
  transition: 1s 1s;
}
.reveal .big-cta > .ill::after {
  opacity: 0.5;
}
.reveal .big-cta > .ill img {
  filter: blur(0);
}
.big-cta > .content {
  z-index: 2;
  position: relative;
  padding: calc(var(--gutter) * 3) 0;
  color: #fff;
  filter: blur(20px);
  transition: 1s 0.5s;
}
.reveal .big-cta > .content {
  filter: blur(0);
}
.big-cta > a.fulldiv {
  z-index: 5;
}
.big-cta .js-movingBtn {
  z-index: 4;
  position: absolute;
  top: -3vh;
  right: -3vw;
  color: #fff;
  transition: top 1s ease, right 1s ease;
}
.big-cta:hover .js-movingBtn {
  transition: top 0.1s ease, right 0.1s ease;
}

.ps-shop-tags {
  --g: 0.5em;
  justify-content: center;
}
.ps-shop-tags > * {
  flex: unset;
  list-style-type: none;
}
.ps-shop-tags li {
	display: inline-block;
}
.ps-shop-tag,
.ps-shop-tags li a {
  display: inline-block;
  padding: 0.6em 1em 0.5em 1em;
  background-color: var(--lightGrey);
  border-radius: 9999px;
  line-height: 1em;
  min-width: 7em;
}
.ps-shop-tag:hover,
.ps-shop-tag.active,
.ps-shop-tags li a:hover,
.ps-shop-tags li.current-menu-item a {
  background-color: var(--color1);
  color: #fff;
}



.box-course {
  background-color: var(--lightGrey);
  padding: 3em;
  border-radius: calc(var(--borderRadius) * 1.125);
  text-align: left;
  max-width: 33em;
  display: flex;
  flex-wrap: wrap;
}
  .bg-lightGrey .box-course {
    background-color: #fff;
  }
  .swiper .box-course { width: 100%; height: 100%; margin: auto; }
.box-course > * {
	flex: 0 0 100%;
}
.box-course .heading {
  padding-bottom: 2em;
}
.course-level > * {
  font-size: 1.6em;
  line-height: 1.2em;
}
.course-title > * {
  font-size: 1.6em;
  line-height: 1.2em;
  font-weight: 600;
  color: var(--color1);
  margin-top: 0.125rem;
}
.course-slogan > * {
  font-size: 1.25em;
  line-height: 1.2em;
  margin-top: 0.65rem;
}
.box-course .text a {
  color: var(--color1);
}
.box-course .action {
  margin-top: auto;
}
@media screen and (max-width: 1800px) {
  .box-course {
    font-size: 0.95em;
  }
}
@media screen and (max-width: 1600px) {
  .box-course {
    font-size: 0.9em;
  }
}
@media screen and (max-width: 1300px) {
  .box-course {
    font-size: 0.85em;
  }
}
@media screen and (max-width: 1100px) {
  .box-course {
    font-size: 0.95em;
  }
}
@media screen and (max-width: 700px) {
  .box-course {
    font-size: 1em;
  }
}


.box-book {
 position: relative;
 max-width: 15em;
 width: 100%;
 text-align: left;
}
.box-book .ill {
  position: relative;
}
.box-book .ill::after {
  content: '';
  display: block;
  padding-bottom: 125%;
}
.box-book .ill img {
  object-position: top left;
}
.box-book .ill.w-border img {
  border: #666 1px solid;
  object-fit: cover;
}
.box-book .content {
  position: relative;
  padding: 1.5em 1em 1.5em 0;
}
.book-title > * {
  font-weight: 600;
  line-height: 1.3em;
}
.book-author > * {
  font-style: italic;
  line-height: 1.3em;
}
.box-book .not-available {
  font-style: italic;
}
.livres-grid {
/*  justify-content: center;
*/}
.livres-grid > * {
  flex: 0 0 25%;
}
.livres-grid .box-book {
  margin: auto;
}
@media screen and (max-width: 1000px) {
  .livres-grid > * {
    flex: 0 0 50%;
  }
}
@media screen and (max-width: 500px) {
  .livres-grid > * {
    flex: 0 0 100%;
  }
  .box-book .ill::after {
    display: none;
  }
  .box-book .ill picture {
    position: relative;
  }
  .box-book .ill img {
    position: relative;
    height: auto;
  }
}

.seminaires-grid > * {
  flex: 0 0 100%;
}

.box-seminaire {
  border-radius: var(--borderRadius);
  overflow: clip;
  display: flex;
  flex-wrap: wrap;
  background-color: var(--lightGrey);
}
.bg-lightGrey .box-seminaire {
  background-color: #fff;
}
.box-seminaire .ill {
  position: relative;
  flex: 0 0 30%;
}
.box-seminaire .content {
  position: relative;
  flex: 0 0 70%;
  padding: calc(4.5% * 1.15) calc(4.5% * 0.7) calc(4.5% * 0.7) calc(4.5% * 0.7);
  text-align: left;
}
.box-seminaire .title {
  margin-bottom: 2rem;
}
.box-seminaire .text {
  margin-bottom: 1rem;
}
.box-seminaire .action {
  margin-top: 2rem;
}
.box-seminaire .woo-action {
  position: absolute;
  top: 0.8em;
  right: 0.8em;
}
@media screen and (max-width: 1000px) {
  .seminaires-grid > * {
    flex: 0 0 50%;
  }
  .box-seminaire > .ill {
    flex: 0 0 100%;
    height: 35vw;
  }
  .box-seminaire .content {
    flex: 0 0 100%;
    padding: 1.5em;
  }
  .box-seminaire .action {
    margin-top: 0;
  }
  .box-seminaire .woo-action {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 2rem;
  }
}
@media screen and (max-width: 700px) {
  .seminaires-grid > * {
    flex: 0 0 100%;
  }
  .box-seminaire > .ill { height: 70vw; max-height: 400px; }
}


.section-inner-nav {
  z-index: 10;
  position: sticky;
  top: 0;
  padding: 0.75em 0 0 0;
  margin: 3em 0;
  background-color: #fff;
}
.course-inner-nav ul {
  display: flex;
  justify-content: center;
  list-style-type: none;
}
.course-inner-nav li {
  padding: 0 1em;
}
  .course-inner-nav li.hide { display: none; }
.course-inner-nav a {
  display: block;
  white-space: nowrap;
  padding: 0.5em 0;
  line-height: 1em;
}
.course-inner-nav a:hover {
  color: var(--color1);
}
.course-inner-nav a.active {
  border-bottom: var(--color1) 3px solid;
}
@media screen and (max-width: 1000px) {
  .section-inner-nav { position: relative; top: 0; }
  .course-inner-nav ul { flex-wrap: wrap; }
}

.course-presentation {
  --g: 1.5em;
  margin-bottom: 3em;
}
.course-presentation .main {
  flex: 0 0 60%;
  position: relative;
}
.videos-slider {
}
.videos-slider .swiper-slide {
  position: relative;
}
.videos-slider .video-wrapper::after {
  content: '';
  display: block;
  padding-bottom: 56.2%;
}
.videos-slider iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--borderRadius);
}

.course-presentation .aside {
  flex: 0 0 40%;
  text-align: left;
}
.course-presentation .videos-nav {
  margin-bottom: 2em;
}
.course-presentation .videos-nav ul {
  list-style-type: none;
}
.course-presentation .videos-nav li {
  display: block;
  margin-bottom: 0.75em;
}
.course-presentation .videos-nav a {
  display: block;
  color: #fff;
  padding: 1.4em 1em 1.2em 4em;
  border-radius: var(--borderRadius);
  background-color: var(--color1);
  background-image: url(../../img/icon-play-white.svg);
  background-position: center left 1em;
  background-size: 2em auto;
  background-repeat: no-repeat;
}
.course-presentation .summary {
  max-width: 28em;
}
.course-presentation-title {
  padding-bottom: 0.5em;
  border-bottom: var(--color1) 2px solid;
}
.course-presentation-title > * {
  font-size: 1.5em;
  line-height: 1.4em;
}
.course-presentation .focuses {
  --g: 0.25em;
  margin-top: 1em;
  margin-bottom: 1em;
}
.course-presentation .focuses > * {
  flex: 0 0 50%;
}
.course-presentation .focus {
  position: relative;
  padding: 1rem 0 1rem 3rem;
  font-size: 1.125em;
  white-space: nowrap;
}
.course-presentation .focus img {
  position: absolute;
  top: 50%;
  left: 0;
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  object-position: left center;
  transform: translateY(-50%);
}
@media screen and (max-width: 1200px) and (min-width: 901px) {
  .course-presentation .focuses > * {
    flex: 0 0 100%;
  }
  .course-presentation .main {
    position: sticky;
    top: 50px;
    align-self: start;
  }
}
@media screen and (max-width: 900px) {
  .course-presentation .main { flex: 0 0 100%; }
  .course-presentation .aside { flex: 0 0 100%; }
}
@media screen and (max-width: 500px) {
  .course-presentation .focuses > * {
    flex: 0 0 100%;
  }
}

.section-bg picture::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2e5168;
  opacity: 1;
  transition: 0.5s 0.5s;
}
.reveal .section-bg picture::after {
  opacity: 0.75;
}
.section-bg.no-overlay picture::after {
  display: none;
}

.box-expand {
  position: relative;
  background-color: #fff;
  border-radius: var(--borderRadius);
  padding: 3em;
  text-align: left;
}
.box-expand + .box-expand {
  margin-top: 2em;
}
.box-expand .expand-action {
  --s: 3em;
  position: absolute;
  top: 2.2em;
  right: 1em;
  width: var(--s);
  height: var(--s);
  background-image: url(../../img/arrow-ihs-alt.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(90deg);
  transition: 0.5s;
}
.box-expand.expanded .expand-action {
  transform: rotate(-90deg);
}
.box-expand .expand-title {
}
.box-expand .expand-title > * {
  font-size: 1.5em;
  color: var(--color1);
  font-weight: 600;
}
.box-expand:not(.expanded) .expand-content {
  display: none;
  margin-top: 0;
}
.box-expand .expand-content {
  margin-top: 1.5em;
  transition: 0.5s;
}

.ps-layout {
  --g: 3em;
}
/*.ps-layout .ill{
  min-height: 40vw;
}*/
.ps-layout .inner {
  height: 100%;
  position: relative;
}
.ps-layout .inner img {
  border-radius: var(--borderRadius);
}
.ps-layout .ill.w-stamp .inner::after {
  content: '';
  position: absolute;
  top: -4em;
  left: -4em;
  width: 10em;
  height: 10em;
  background-image: url(../../img/stamp-ihs.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
/*  animation:spin 12s linear infinite;
*/}
@keyframes spin { 
    100% { 
        -webkit-transform: rotate(360deg); 
        transform:rotate(360deg); 
    } 
}
.ps-layout .content .ps-content {
  margin-top: 4em;
}
@media screen and (min-width: 801px) {
  .ps-layout.alt .ill {
    order: 2;
  } 
  .ps-layout.alt .content {
    order: 1;
  }
}
@media screen and (max-width: 1000px) {
  .ps-layout { --g: 1.5em; }
}
@media screen and (max-width: 800px) {
  .ps-layout { --g: 1em; }
  .ps-layout > * { flex: 0 0 100%; }
  .ps-layout .ill {
    min-height: 70vw;
  }
  .ps-layout .ill.w-stamp .inner::after {
    top: 1em;
    left: 1em;
  }
  .ps-layout .content .ps-content { margin-top: 0; }
}

.rounded-bg {
  border-radius: var(--borderRadius);
  overflow: clip;
}
.rounded-bg + .content {
  z-index: 3;
  position: relative;
  margin: auto;
}
.rounded-bg.black-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  opacity: 0.45;
}

.included-grid {
  --g: 1em;
}
.included-grid > * {
  flex: 0 0 25%;
}
.included-grid .included img {
  display: block;
  margin: 0 auto 0.75em auto;
  width: 4em;
  height: 4em;
  object-fit: contain;
  object-position: center;
}
.included > * {
  font-size: 1.125em;
  line-height: 1.25em;
}
@media screen and (max-width: 800px) {
  .included-grid > * { flex: 0 0 50%; }
}

.faq-layout .question {
  padding-left: 0;
}
.faq-layout .answer {
  padding-left: 0;
}
.faq-layout .question::before, .faq-layout .question::after {
  color: var(--color1);
  font-size: 13.5px;
}
.faq-layout .question > * {
  font-family: var(--baseFont);
}
.faq-layout .line {
  border-bottom: var(--color1) 1px solid;
}
.faq-layout .line.active {
  border-color: var(--color1);
}

.btn.corner {
  position: absolute;
  top: 2em;
  right: 2em;
}

.page-intro.home-intro {
  min-height: 100vh;
  transition: 0.3s;
}
@media screen and (min-height: 1000px) {
  .page-intro.home-intro {
    min-height: 1000px;
  }
}
body .page-intro.home-intro {
  width: 100%;
  margin: 0;
  border-radius: 0;
}

.home-intro [class*="delayed-"] {
  opacity: 0;
  transition: 0.5s 2.5s;
}
.ready .home-intro [class*="delayed-"] {
  opacity: 1;
}
.home-intro .delayed-2 {
  transition-delay: 3.5s;
}
.home-intro .delayed-3 {
  transition-delay: 4.5s;
}


.ihs-edito {
  padding: 2em 0;
}
.ihs-edito .ill {
  width: 8em;
  margin: auto;
}
.ihs-edito .ill img {
  display: block;
  width: 100%;
  height: 100%;
}
.edito-pretitle {
  margin: 1em 0;
}
.edito-pretitle > * {
  font-size: 1em;
  color: var(--color1);
  text-transform: uppercase;
}
.the-edito {
  font-family: var(--titleFont);
  font-size: 2em;
  line-height: 1.25em;
}
.the-edito > *:not(:last-child) {
  margin-bottom: 1rem;
}
.edito-signature {
  margin: 3em auto;
  max-width: 700px;
}
.signature > .ill {
  --s: 11em;
  flex: 0 0 var(--s);
}
.signature .medal {
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  overflow: clip;
}
.signature > .content {
  flex: 1;
  padding: 0.5em 0 1em 2em;
  text-align: left;
}
.signature .the-author {
  display: inline-block;
  font-size: 1.5em;
  text-transform: uppercase;
  padding: 0 0.5rem 1rem 0;
  border-bottom: var(--color1) 1px solid;
  margin-bottom: 1rem;
}
.signature .the-author strong {
  font-weight: 600;
}
.signature .author-position {
  font-size: 1.125em;
  line-height: 1.4em;
}
.signature .author-position a {
  color: var(--color1);
  text-decoration: underline;
}
@media screen and (max-width: 800px) {
  .signature > .ill {
    --s: 8em;
  }
  .signature .the-author {
    font-size: 1.25em;
  }
}
@media screen and (max-width: 450px) {
  .signature > .content {
    flex: 0 0 100%;
    text-align: center;
    margin-top: 2em;
    padding: 0;
  }
  .signature .the-author {
    display: block;
  }
}

.home-courses-slider .swiper-slide {
  height: auto;
}
.home-courses {
  position: relative;
  left: -1px;
  width: calc(100% + 1px);
  border-top: rgba(255,255,255,0.5) 1px solid;
}
.home-courses .box-course {
  background-color: rgba(0,0,0,0.35);
  border-radius: 0;
  border: rgba(255,255,255,0.5) 1px solid;
  color: #fff;
  padding: calc(1em + 3.5vw) calc(0.5em + 3vw) calc(5em + 3.5vw) calc(0.5em + 3vw);
  text-align: center;
  max-width: 100%;
  transition: 0.3s;
}
.home-courses .box-course .course-level {
  margin-bottom: 1em;
}
.home-courses .course-title > * {
  font-family: var(--titleFont);
  color: inherit;
  font-weight: 400;
  font-size: 2.5em;
}
.course-title > * {
  font-family: var(--titleFont);
  font-weight: 400;
  font-size: 2.5em;
}
.home-courses .colorOnStrong strong {
  color: inherit;
}
.home-courses .action {
  position: absolute;
  bottom: 2em;
  left: calc(0.5em + 3vw);
}
.home-courses .box-course:hover {
  background-color: rgba(9,150,173,0.65);
}
.home-courses .box-course:hover .action .btn.ihs-arrow {
  transform: rotate(-25deg);
}

.home-learn .ill {
  position: sticky;
  top: 5em;
  align-self: start;
  flex: 0 0 20em;
  padding-right: var(--gutter);
}
.home-learn .ill img {
/*  animation:spin 12s linear infinite;
*/}
.home-learn .hl-content {
  flex: 1;
}
@media screen and (min-width: 1201px) {
  .home-learn { padding-right: calc(var(--gutter) * 2); }
}
@media screen and (max-width: 1000px) {
  .home-learn .ill { flex: 0 0 15em; }
}
@media screen and (max-width: 700px) {
  .home-learn {
    padding-right: var(--gutter);
  }
  .home-learn .ill {
    position: relative;
    top: 0;
    margin: auto;
    order: 1;
    padding-right: var(--g);
  }
  .home-learn .hl-content {
    flex: 0 0 100%;
    order: 2;
  }
}

.special-list ul {
  list-style-type: none;
  margin-left: 0;
}
.special-list li {
  position: relative;
  padding: 0 0 1em 2.5em;
  font-weight: 300;
}
.special-list li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 1.75em;
  height: 1.75em;
  background-image: url(../../img/icon-tick.svg);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.special-list strong {
  font-size: 1.5em;
  font-weight: 400;
}

.home-cta .grid {
  --g: 3em;
  justify-content: center;
  align-items: center;
  margin-top: calc(var(--g) * -0.5);
  margin-bottom: calc(var(--g) * -0.5);
}
.home-cta::before {
  content: '';
  z-index: 1;
  position: absolute;
  right: 80%;
  top: 30%;
  width: 50%;
  height: 80%;
  background-image: url(../../img/chevalier.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  opacity: 0.4;
}
.home-cta .grid .ill {
  flex: 0 0 21em;
}
.home-cta .grid .ill img {
  transform: scale(1.1);
}
.home-cta .grid .home-cta-content {
  flex: 1;
}
.home-cta .buttons {
  font-size: 1.25em;
}
@media screen and (max-width: 1000px) {
  .home-cta .grid { --g: 1.5em; }
  .home-cta .grid .ill { flex: 0 0 15em; }
}
@media screen and (max-width: 700px) {
  .home-cta .grid { --g: 1em; }
  .home-cta .grid .ill { flex: 0 0 15em; margin: auto; }
  .home-cta .grid .home-cta-content { flex: 0 0 100%; }
  .home-cta .grid .home-cta-content .ps-content { text-align: center; }
  .home-cta .buttons { justify-content: center; }
}

.box-resource {
  position: relative;
}
.box-resource .ill {
  position: relative;
}
.box-resource .ill::after {
  content: '';
  display: block;
  padding-bottom: 125%;
}
.box-resource .ill picture {
  border-radius: var(--borderRadius);
  overflow: clip;
}
.box-resource .ill picture.contain::before {
  content: '';
  z-index: -1;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url(../../img/texture.jpg);
  background-size: cover;
  opacity: 0.5;
}
.box-resource .ill picture.contain img {
  transform: scale(0.85);
}
.box-resource .ill a {
  position: absolute;
  bottom: 1em;
  right: 1em;
  font-size: 1em;
}
.box-resource .content {
  padding: 1em 0;
  text-align: left;
}
.br-date {
  font-family: var(--titleFont);
  margin: 1rem auto;
  font-size: 1.25em;
}
.br-excerpt {
  line-height: 1.4em;
  font-weight: 300;
}
.br-tags {
  margin-top: 0.25em;
  color: var(--color1);
}
.br-tags a {
  display: inline-block;
  margin: 0 0.5em 0.5em 0;
  font-weight: 300;
}
.box-resource:hover .br-tags a,
.br-tags a:hover {
  color: var(--color1);
}
.br-tags a::before {
  content: '#';
}

.resources-grid {
  --g: 1em;
}
.resources-grid > * {
  flex: 0 0 25%;
}
@media screen and (max-width: 950px) {
  .resources-grid > * { flex: 0 0 33.333%; }
}
@media screen and (max-width: 800px) {
  .resources-grid { --g: 0.75em; }
}
@media screen and (max-width: 700px) {
  .resources-grid > * { flex: 0 0 50%; }
}
@media screen and (max-width: 450px) {
  .resources-grid > * { flex: 0 0 100%; }
}



@media screen and (min-width: 783px) {
  .gutenberg .wp-block-column.sidebar {
    padding-right: calc(var(--gutter) * 0.75);
  }
}
@media screen and (max-width: 782px) {
  .gutenberg .wp-block-column.sidebar {
    max-width: 400px;
    margin: auto;
  }
}


.text table {
  border-collapse: collapse;
  max-width: 100% !important;
}
.text table, .text th, .text td {
  border: 1px solid;
}
.text th, .text td {
  padding: 0.33em;
  line-height: 1.2em;
}

.intro-shop {
  z-index: 4;
  position: sticky;
  top: 0;
  background-color: #fff;
}


.single-intro {
  margin-top: var(--gutter);
  margin-bottom: var(--gutter);
}
.single-intro .inner {
  position: relative;
  overflow: clip;
  border-radius: var(--borderRadius);
}
.single-intro.w-ill .inner {
  padding-top: calc(var(--gutter) * 3);
  padding-bottom: calc(var(--gutter) * 3);
}
.single-intro .ill {
  z-index: 1;
}
.single-intro .ill img {
/*  filter: blur(30px);
*/}
.single-intro .ill::after {
  content: '';
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%);
  opacity: 0.75;
}
.single-intro .content {
  z-index: 3;
  position: relative;
  margin: auto;
  max-width: 1100px;
  padding: 0 var(--gutter);
}
.single-intro.w-ill {
  color: #fff;
}
.single-intro a {
  color: var(--currentColor);
}
@media screen and (min-width: 1510px) {
  .single-intro {
    margin: var(--gutter) auto;
  }
}


/* Style de l'élément parent (langue active) */
.weglot-parent-menu-item > a {
  padding: 10px 15px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}

/* Icône flèche si tu veux */
.weglot-parent-menu-item > a::after {
  content: "▾";
  font-size: 12px;
  margin-left: 6px;
  transition: transform 0.2s ease;
}

/* Rotation de la flèche au survol */
.weglot-parent-menu-item:hover > a::after {
  transform: rotate(180deg);
}

/* Sous-menu des langues */
.weglot-parent-menu-item .sub-menu {
  list-style: none;
  margin: 0;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  display: none; /* masqué par défaut */
  z-index: 9999;
}

/* Affichage au survol */
.weglot-parent-menu-item:hover .sub-menu {
  display: block;
}

/* Chaque option de langue */
.weglot-parent-menu-item .sub-menu li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 13px;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
}

/* Hover sur une langue */
.weglot-parent-menu-item .sub-menu li a:hover {
  background: #f5f5f5;
  color: #000;
}

.weglot-parent-menu-item {
  position: relative;
  top: -3px;
}
.weglot-parent-menu-item > a {
  color: currentColor;
}


/* Woocommerce styles */

/* Boutons Ajouter au panier */
.woocommerce .add_to_cart_button,
.woocommerce .single_add_to_cart_button,
.woocommerce .button.product_type_simple {
  background-color: var(--color3) !important;
  color: var(--textColor) !important;
  font-weight: 400 !important;
  border-radius: 9999px !important;
  text-align: center !important;
}
/* Effet au survol */
.woocommerce .add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce .button.product_type_simple:hover {
  background-color: var(--color1) !important;
  color: #fff !important;
}


.box-course .add_to_cart_inline {
	border: none !important;
	padding: 0 !important;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	--g: 0.5rem;
	width: calc(100% + (var(--g) * 2));
	margin-left: calc(var(--g) * -1);
}
.box-course .add_to_cart_inline > .amount {
	flex: 1;
	padding: var(--g);
	text-align: left;
	color: var(--color1);
	font-weight: 600;
	font-size: 1.25em;
}
.box-course .add_to_cart_inline > .add_to_cart_button {
	flex: 1;
	padding: 1em;
}
.box-course .add_to_cart_inline > .add_to_cart_button.added {
	padding: 1em 0;
	background-color: var(--lightGrey);
}
.box-course .add_to_cart_inline > .added_to_cart {
	flex: 0 0 100%;
	margin-left: var(--g);
	color: var(--color1);
}


.box-book .add_to_cart_inline {
  border: none !important;
  padding: 0 !important;
}
.box-book .add_to_cart_inline > .amount {
  text-align: left;
  color: var(--color1);
  font-weight: 600;
  font-size: 1.05em;
  display: block;
  margin-bottom: 0.5rem;
}
.box-book .add_to_cart_inline > .button.added {
  padding: 1em 0;
  background-color: var(--lightGrey);
}
.box-book .add_to_cart_inline > .added_to_cart {
  color: var(--color1);
}

.box-seminaire .woo-action .amount {
  color: var(--color1);
  font-weight: 600;
  font-size: 1.05em;
  display: block;
}

.wc-block-components-button::before,
.wc-block-components-button::after {
  display: none !important;
}
.wc-block-components-button:hover {
  color: var(--color1);
  border-color: var(--color1);
}

.single-product form.cart {
    display: block;
    margin-top: 1em;
}
.single-product form.cart .quantity {
    margin: 3px 6px 0 0 !important;
}

.woocommerce div.product form.cart div.quantity input[type="number"] {
    width: 70px;
    padding: 8px 12px;
    font-size: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #fafafa;
    color: #333;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    outline: none;
    font-family: var(--baseFont);
    padding: 0.5em;
}

.woocommerce div.product form.cart div.quantity input[type="number"]:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.15);
    background: #fff;
}
.woocommerce div.product form.cart .button {
  font-family: var(--baseFont);
  padding: 1em;
}

.woocommerce div.product form.cart .variations,
.woocommerce div.product form.cart .single_variation_wrap {
  font-size: 0.9em;
  margin-bottom: 0.5rem;
}

.woocommerce div.product form.cart .variations label {
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
    padding-right: 0.5em;
    padding-top: 0.35em;
}

.woocommerce div.product form.cart .variations select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background: #f5f7fa;
    font-size: 1em;
    margin-bottom: 1em;
    transition: border-color 0.2s;
}

.woocommerce div.product form.cart .variations select:focus {
    border-color: #0073aa;
    background: #fff;
}
.woocommerce div.product form.cart .variations a.reset_variations {
  display: none !important;
}

.single-product .woocommerce-tabs {
  margin: 4rem auto;
}
.single-product .related.products {
  border-top: var(--lightGrey) 1px solid;
  padding-top: 4rem;
}
.single-product .related::before {
  content: '';
  z-index: -1;
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  margin-left: -50vw;
  background-image: url(../../img/texture.jpg);
  background-size: cover;
  opacity: 0.5;
}


.single-product .woocommerce-Tabs-panel > h2,
.single-product .related.products > h2 {
  font-weight: 400;
  font-family: var(--titleFont);
  line-height: 1em !important;
  font-size: 2.2em;
  margin-bottom: 2rem;
}

.single-product .woocommerce-Tabs-panel > h3 {
  font-weight: 400;
  font-family: var(--titleFont);
  line-height: 1em !important;
  font-size: 1.8em;
  margin-bottom: 1rem;
}

.single-product .woocommerce-Tabs-panel > h4 {
  font-weight: 400;
  font-family: var(--titleFont);
  line-height: 1em !important;
  font-size: 1.4em;
  margin-bottom: 1rem;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, 
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) ul.products li.product .price {
  color: var(--color1);
}

.wc-block-components-order-summary-item .wc-block-components-product-metadata {
  display: none;
}

/* Conteneur du récapitulatif */
.wp-block-woocommerce-checkout-order-summary-block {
  background: #fff;                  /* fond clair */
  border: 1px solid #e5e5e5;         /* bordure légère */
  border-radius: 12px;               /* coins arrondis */
  padding: 20px;
  margin-bottom: 20px;
}

/* Titres internes (ex: "Votre commande") */
.wp-block-woocommerce-checkout-order-summary-block h2,
.wp-block-woocommerce-checkout-order-summary-block h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 15px;
  border-bottom: 2px solid #f2f2f2;
  padding-bottom: 8px;
}

/* Tableau récapitulatif des produits */
.wp-block-woocommerce-checkout-order-summary-block table {
  width: 100%;
  border: none;
}

.wp-block-woocommerce-checkout-order-summary-block table th,
.wp-block-woocommerce-checkout-order-summary-block table td {
  padding: 10px 0;
  border: none;
  font-size: 0.95rem;
}

/* Séparation entre les lignes */
.wp-block-woocommerce-checkout-order-summary-block table tr {
  border-bottom: 1px solid #f2f2f2;
}
.wp-block-woocommerce-checkout-order-summary-block table tr:last-child {
  border-bottom: none;
}

/* Total plus visible */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item.wc-block-components-totals-item--order_total {
  font-weight: 700;
  font-size: 1.1rem;
  color: #333;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px solid #ddd;
}

/* Lignes intermédiaires (sous-total, livraison, TVA) */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item {
  display: flex;
  justify-content: space-between;
  margin: 6px 0;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
  .wp-block-woocommerce-checkout-order-summary-block {
    padding: 15px;
  }

  .wp-block-woocommerce-checkout-order-summary-block table th,
  .wp-block-woocommerce-checkout-order-summary-block table td {
    font-size: 0.9rem;
  }
}

/* Chaque produit dans le récap */
.wc-block-components-order-summary-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between; /* produit à gauche, prix à droite */
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f2f2f2;
}

/* Supprimer la bordure pour le dernier produit */
.wc-block-components-order-summary-item:last-child {
  border-bottom: none;
}

/* Nom du produit */
.wc-block-components-order-summary-item > div:first-child {
  flex: 0 0 48px;
  font-size: 0.95rem;
  color: #333;
  margin-right: 10px;
  word-break: break-word; /* évite les superpositions si nom long */
}

/* Qté × Prix */
.wc-block-components-order-summary-item > div:last-child {
  white-space: nowrap; /* reste sur une ligne */
  font-weight: 600;
  font-size: 0.95rem;
  color: #111;
  flex: 0 0 100%;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__description {
  flex: 0 0 calc(100% - 48px - 24px);
  padding-right: 0 !important;
}

.wc-block-components-order-summary-item__individual-prices {
  font-size: 0.75em;
  padding-top: 0;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item {
  padding-bottom: 1.5rem !important;
}

.wp-block-woocommerce-checkout-order-summary-block h2,
.wp-block-woocommerce-checkout-order-summary-block h3 {
  border-width: 1px !important;
}

.wc-block-cart-item__product .wc-block-components-product-metadata__description {
  display: none;
}

.gutenberg .woocommerce .summary p:not(:last-child) {
  margin-bottom: 0.75rem;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image a {
  border: currentColor 1px solid;
  width: calc(100% - 2px);
}
.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    gap: 14px;
    justify-content: center;
    padding: 12px 0;
    list-style: none;
    margin: 0;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s, transform 0.2s;
    cursor: pointer;
}

.woocommerce div.product div.images .flex-control-thumbs li:hover,
.woocommerce div.product div.images .flex-control-thumbs li.active {
    box-shadow: 0 4px 12px rgba(0,115,170,0.12);
    transform: scale(1.06);
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    display: block;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}

.woocommerce div.product div.images .flex-control-thumbs li.active img {
    border-color: #0073aa;
}


.page-template-page-shop .woocommerce-breadcrumb {
  display: none;
}

.ressources-layout {
  display: flex;
  flex-wrap: nowrap;
}
.ressources-filters {
  flex: 0 0 13em;
  align-self: start;
  position: sticky;
  top: 1em;
}
.ressources-filters > * {
  margin-top: calc(var(--gutter) * 0.5);
}
.ressources-filters .search-filter-label {
  --search-filter-label-scale-font-size: 0.9em;
}
.ressources-filters .search-filter-base {
  --search-filter-scale-font-size: 0.9em;
}
.ressources-posts {
  flex: 1;
  padding-left: calc(var(--gutter) * 1.25);
}
.search-filter-query-posts {
  --g: 1em;
}
.search-filter-query-posts > *:not(.pagination) {
  flex: 0 0 33.333%;
}
.search-filter-query-posts > .pagination {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.search-filter-query-posts > .pagination > * {
  padding: 0.25em;
}
.search-filter-query-posts .pagination .current,
.search-filter-query-posts .pagination a:hover {
  color: var(--color1);
}
@media screen and (max-width: 1300px) {
  .search-filter-query-posts > *:not(.pagination) {
    flex: 0 0 50%;
  }
}
@media screen and (max-width: 1000px) {
  .ressources-filters {
    font-size: 0.9em;
    flex: 0 0 11em;
  }
}
@media screen and (max-width: 800px) {
  .search-filter-query-posts > *:not(.pagination) {
    flex: 0 0 100%;
  }
}

.woocommerce form .form-row .woocommerce-checkout-dynamic-checkbox input {
  display: inline !important;
  margin: -2px 8px 0 0;
  text-align: center;
  vertical-align: middle;
}
.woocommerce form .form-row .woocommerce-checkout-dynamic-checkbox label {
  display: inline !important;
  line-height: 1.25em;
}

.woocommerce-checkout h3 {
  font-size: 1.75em;
  font-family: var(--titleFont);
  line-height: 1.2em;
}

.woocommerce-checkout #order_comments {
  min-height: 8em;
}

.woocommerce-billing-fields__field-wrapper p {
  margin-bottom: 0.5em !important;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button {
   border-radius: 9999px;
   padding: 0.9em 1.25em;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt {
  background-color: var(--color1);
  font-weight: 400;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce #respond input#submit.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce a.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce button.button.alt:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor)) .woocommerce input.button.alt:hover {
  background-color: var(--color3);
  color: var(--textColor);
}


.wp-block-woocommerce-cart-order-summary-block .wp-block-woocommerce-cart-order-summary-shipping-block {
  display: none;
}


.wp-block-woocommerce-empty-cart-block h2.with-empty-cart-icon {
  font-size: 1.75em;
}
.wp-block-woocommerce-empty-cart-block .wp-block-separator,
.wp-block-woocommerce-empty-cart-block h2:not(.with-empty-cart-icon),
.wp-block-woocommerce-empty-cart-block .wc-block-grid {
  display: none;
}

/* ---------- Mise en page générale pour la page protégée ---------- */
/* S'applique si le thème affiche uniquement le formulaire sur la page */
.post-password-required,
.post-password-form,
.entry-content .post-password-form {
  /* tout centrer verticalement/horizontalement */
  min-height: 50vh;
  display: grid;
  place-items: center;
  padding: 2rem;
  box-sizing: border-box;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,252,0.98));
}

/* card contenant le formulaire */
.post-password-form .password-card,
.entry-content .post-password-form .password-card {
  width: min(740px, 96%);
  background: white;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(16,24,40,0.12);
  padding: 2rem;
  display: grid;
  gap: 1rem;
  align-items: center;
  border: 1px solid rgba(16,24,40,0.04);
}

/* titre/texte explicatif */
.post-password-form p,
.entry-content .post-password-form p {
  margin: 0;
  color: #0f172a; /* presque noir */
  font-family: var(--baseFont);
  font-size: 1rem;
  line-height: 1.45;
  opacity: 0.95;
}

/* conteneur pour input + bouton en ligne (responsive) */
.post-password-form .pw-row,
.entry-content .post-password-form .pw-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
}

/* champ mot de passe */
.post-password-form input[type="password"],
.entry-content .post-password-form input[type="password"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border: 1px solid rgba(16,24,40,0.12);
  background: #fbfdff;
  font-family: var(--baseFont);
  font-size: 1rem;
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 120ms ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
  outline: none;
}

/* focus accessible */
.post-password-form input[type="password"]:focus,
.entry-content .post-password-form input[type="password"]:focus {
  border-color: rgba(59,130,246,0.9);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.12);
}

/* bouton envoyer */
.post-password-form input[type="submit"],
.entry-content .post-password-form input[type="submit"] {
  flex: 0 0 auto;
  padding: 0.5em 1em;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  font-family: var(--titleFont);
  font-weight: 400;
  font-size: 1.5em;
  background: var(--color1);
  color: #fff;
  transition: 0.3s;
}

/* hover/active */
.post-password-form input[type="submit"]:hover,
.entry-content .post-password-form input[type="submit"]:hover {
  background-color: var(--color3);
}

/* labels (si présents) */
.post-password-form label,
.entry-content .post-password-form label {
  display: block;
  font-size: 0.875rem;
  color: #334155;
  font-family: var(--baseFont);
  margin-bottom: 0.25rem;
}

/* petite aide / message d'erreur */
.post-password-form .pw-note,
.entry-content .post-password-form .pw-note {
  font-size: 0.875rem;
  color: #6b7280;
  font-family: var(--baseFont);
}

/* responsive : empiler sur petits écrans */
@media (max-width: 520px) {
  .post-password-form .pw-row,
  .entry-content .post-password-form .pw-row {
    flex-direction: column;
    gap: 0.6rem;
  }

  .post-password-form input[type="submit"],
  .entry-content .post-password-form input[type="submit"] {
    width: 100%;
  }
}

/* respect préférences de réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
  .post-password-form *,
  .entry-content .post-password-form * {
    transition: none !important;
  }
}

/* Cas où le thème n'utilise pas .post-password-form : ciblage plus générique */
body:has(form input[name="post_password"]) .post-password-form,
body:has(form input[name="post_password"]) .password-card {
  /* garde la règle générique pour thèmes modernes */
}

.lh-regular-forced {
  line-height: 1.3em !important;
}