/**
 * Theme Name: jerepare2025
 * Theme URI: https://github.com/cinq/jerepare/
 * Author:       Quentin BOULIC-MAILLARD
 * Author URI:   http://whatquentindoes.fr/
 * Description: A custom theme designed and built for jerepare.fr.
 * Version:      1.0.0
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Tags: 
 * Tested up to: 6.5
 * Requires PHP: 8.2
 * Text Domain: armateursdefrance
 * Domain Path: /languages
 *
 * This theme, like WordPress, is licensed under the GPL.
 * Use it to make something cool, have fun, and share what you've learned with others. 😎
 **/

*,
*::before,
*::after {
  box-sizing: border-box;
  text-wrap: balance;
}
:root {
  interpolate-size: allow-keywords;
  --main-color: #0d7f48;
  --secondary-color: #ddff7b;
  --bg-color: #fff1fa;
  --radius: 60px;
  --anim-duration: 0.3s;
  --anim-curve: linear;
}
body {
  font-family: "Gabarito", sans-serif;
  font-weight: 400;
  color: var(--main-color);
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
}
@media (max-width: 959px) {
  body {
    --main-color: #0d7f48;
    --secondary-color: #ddff7b;
    --bg-color: #fff1fa;
    --radius: 30px;
  }
}
a {
  text-decoration: none;
}
p {
  margin: 0;
  padding: 0;
  text-wrap: wrap;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
input:focus {
  outline: none;
}
h1,
h2,
h3 {
  padding: 0;
  margin: 0;
  font-weight: 400;
}
h1 {
  font-family: ABC Camera Unlicensed Trial;
  font-weight: 400;
  font-size: 110px;
  letter-spacing: -2%;
  line-height: 100%;
  text-align: center;
  margin: 0 auto 16px;
  max-width: 1200px;
}
h1 + p {
  font-size: 24px;
  line-height: 140%;
  text-align: center;
  margin: 0;
}
@media (max-width: 959px) {
  h1 {
    font-size: 70px;
    margin-bottom: 12px;
    max-width: unset;
  }
  h1 + p {
    font-size: 20px;
    line-height: 120%;
  }
}
main {
  padding: 10px;
}
a,
a:focus,
a:active,
a:visited {
  color: inherit;
  font-weight: inherit;
}
button,
input[type="submit"],
input[type="reset"] {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}
.flex-row {
  display: flex;
  flex-direction: row;
}
.rounded-container {
  border-radius: var(--radius);
  border: 1px var(--main-color) solid;
  background-color: var(--secondary-color);
  background: linear-gradient(180deg, #ffffff 0%, var(--secondary-color) 300%);
  padding: 40px;
}
@media (max-width: 959px) {
  .rounded-container {
    padding: 20px;
  }
}
.info {
  display: block;
  border-radius: var(--radius);
  padding: 8px 12px;
  background-color: var(--secondary-color);
  font-size: 14px;
  font-weight: 400;
  width: fit-content;
}
a.arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: fit-content;
  padding: 8px 16px;
  position: relative;
  font-size: 16px;
  line-height: 100%;
  height: 43px;
}
a.arrow::after {
  position: absolute;
  left: 100%;
  top: 0;
  content: "";
  height: 100%;
  aspect-ratio: 1;
  font-size: 0;
  line-height: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.7852 3.63445L13.1242 2.5L19.5 10L13.1242 17.5L11.7852 16.3655L16.344 11.1345V10.8824H0.5V9.11765H16.344V8.86555L11.7852 3.63445Z' fill='%230D7F48'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center;
}
a.arrow,
a.arrow::after {
  border: 1px var(--main-color) solid;
  border-radius: var(--radius);
  background-color: var(--secondary-color);
  transition: background var(--anim-duration) var(--anim-curve),
    border var(--anim-duration) var(--anim-curve);
  text-align: center;
  margin-right: 43px;
}
a.arrow:hover,
a.arrow:hover::after {
  background-color: var(--main-color) !important;
  color: white;
}
a.arrow:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.7852 3.63445L13.1242 2.5L19.5 10L13.1242 17.5L11.7852 16.3655L16.344 11.1345V10.8824H0.5V9.11765H16.344V8.86555L11.7852 3.63445Z' fill='white'/%3E%3C/svg%3E%0A");
}
a.arrow-inner {
  display: inline-block;
  width: fit-content;
  padding: 6px 18px 6px 20px;
  font-size: 0.75em;
  line-height: 160%;
  height: 55px;
  border: 1px var(--main-color) solid;
  border-radius: var(--radius);
  background-color: white;
  transition: background var(--anim-duration) var(--anim-curve),
    border var(--anim-duration) var(--anim-curve);
}
a.arrow-inner::after {
  content: "";
  display: block;
  float: right;
  margin-left: 10px;
  height: 100%;
  width: 20px;
  background-image: url("data:image/svg+xml,%3Csvg width='19' height='15' viewBox='0 0 19 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.2852 1.13445L12.6242 0L19 7.5L12.6242 15L11.2852 13.8655L15.844 8.63445V8.38235H0V6.61765H15.844V6.36555L11.2852 1.13445Z' fill='%230D7F48'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform var(--anim-duration) var(--anim-curve);
}
@media (max-width: 959px) {
  a.arrow-inner {
    padding: 4px 14px 4px 16px;
    height: 40px;
  }
  a.arrow-inner::after {
    margin-left: 8px;
  }
}

a.arrow-inner:hover {
  background-color: var(--main-color);
  color: white;
}
a.arrow-inner:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg width='19' height='15' viewBox='0 0 19 15' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.2852 1.13445L12.6242 0L19 7.5L12.6242 15L11.2852 13.8655L15.844 8.63445V8.38235H0V6.61765H15.844V6.36555L11.2852 1.13445Z' fill='white'/%3E%3C/svg%3E%0A");
  transform: translateX(2px);
}
.nav-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
#actus-grid + .pagination {
  margin-bottom: 92px;
}
.page-numbers {
  height: 45px;
  width: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background var(--anim-duration) var(--anim-curve),
    border var(--anim-duration) var(--anim-curve);
}
.page-numbers:not(.next):not(.prev) {
  border-radius: var(--radius);
  border: 1px var(--white) solid;
  background-color: white;
}
.page-numbers.current,
.page-numbers:not(.next):not(.prev):not(.current):hover {
  background-color: var(--main-color) !important;
  border: 1px var(--main-color) solid;
  color: white;
}
.page-numbers.next svg *,
.page-numbers.prev svg * {
  transition: fill var(--anim-duration) var(--anim-curve),
    stroke var(--anim-duration) var(--anim-curve);
}
.page-numbers.next:hover svg *[fill],
.page-numbers.prev:hover svg *[fill] {
  fill: var(--main-color);
}
.page-numbers.next:hover svg *[stroke],
.page-numbers.prev:hover svg *[stroke] {
  stroke: white;
}
/*
* header
*/
header {
  padding: 70px 0 110px;
}

body.search header {
  padding-bottom: 0;
}
@media (max-width: 959px) {
  body.search header {
    padding-bottom: 70px;
  }
}
body.home header,
header:has(> p),
body.mobile-drawer-open header {
  height: calc(100dvh - 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

header #nav_row {
  display: inline-grid;
  grid-template-columns: [first] 110px [center-start] auto [center-end] 20px [button1] 45px [button2] 45px [end];
  width: 100%;
  padding: 12px 50px;
  position: fixed;
  z-index: 10;
  top: 0;
  background-color: rgba(255, 241, 250, 0);
}

header #nav_row .logo {
  grid-column-start: 1;
  grid-column-end: center-start;
  grid-row-start: 1;
  font-family: ABC Camera Unlicensed Trial;
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
header #nav_row .logo span {
  display: none;
}
@media (max-width: 959px) {
  header #nav_row {
    padding: 10px 20px;
  }

  header #nav_row .logo {
    font-size: 32px;
    line-height: 100%;
    letter-spacing: 0%;
  }
}
.scroll {
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding-left: 50px;
}
#search-slideshow .scroll {
  padding-left: 0;
}

header .scroll {
  align-self: self-start;
  position: absolute;
  top: calc(100dvh - 127px);
  left: 0;
}
.scroll::after {
  content: "";
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg width='9' height='11' viewBox='0 0 9 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.12073 6.53356L8.78516 7.30872L4.39254 11L-7.9155e-05 7.30872L0.664351 6.53356L3.72811 9.17282L3.87576 9.17282L3.87576 -2.14597e-07L4.90932 -1.69418e-07V9.17282L5.05697 9.17282L8.12073 6.53356Z' fill='%230D7F48'/%3E%3C/svg%3E%0A");
  background-position: center;
  background-repeat: no-repeat;
  height: 11px;
  width: 9px;
}
@media (max-width: 959px) {
  header .scroll {
    align-self: self-start;
    position: absolute;
    top: calc(100dvh - 135px);
  }
  .scroll {
    padding-left: 30px;
  }
}
body.post-type-archive-actu h1 {
  margin-top: 140px;
  margin-bottom: 0;
}
@media (max-width: 959px) {
  body.post-type-archive-actu h1 {
    margin-top: 110px;
  }
}
/*
* big logo home in header
*/
body.home.mobile-drawer-open header > .logo {
  display: none;
}
body.home header > .logo a {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 11;
  top: 20px;
  left: 0;
  right: calc(100% - 110px - 50px);
  font-family: ABC Camera Unlicensed Trial;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0;
  align-items: center;
  overflow: hidden;
  padding-bottom: 8vw;
  padding-left: 50px;
}
body.home header > .logo span {
  display: unset;
  font-family: Gabarito;
  font-weight: 400;
  font-size: 1.55vw;
  line-height: 120%;
  letter-spacing: 0%;
  position: absolute;
  right: 9.5vw;
  top: calc(15px + 20vw);
}
@media (max-width: 959px) {
  body.home header > .logo a {
    align-items: flex-start;
    padding-right: 20px;
    padding-left: 20px;
  }
  body.home header > .logo span {
    display: unset;
    left: 20px;
    right: 20px;
    top: calc(100px + 20vw);
    bottom: unset;
    font-size: 18px;
    line-height: 140%;
  }
}
header #main-menu-container {
  grid-column-start: center-start;
  grid-column-end: center-end;
  grid-row-start: 1;
}

header #main-menu-container ul {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

header #main-menu-container li {
  margin: 0 15px;
  position: relative;
  transition: color var(--anim-duration) var(--anim-curve);
}

header #main-menu-container li.current_page_item::after {
  display: block;
  content: "";
  background-color: var(--main-color);
  height: 5px;
  width: 5px;
  border-radius: 100%;
  margin-top: 5px;
  position: absolute;
  left: calc(50% - 2.5px);
  bottom: -8px;
  transition: background-color var(--anim-duration) var(--anim-curve);
}

header #main-menu-container li:hover {
  color: #ff4a7d;
}
header #main-menu-container li:hover::after {
  background-color: #ff4a7d;
}
header #main-menu-container a {
  font-size: 18px;
}
header #nav_row a.search-button,
header #nav_row a.quit-search-button {
  width: fit-content;
  grid-column-start: button2;
  grid-column-end: span 1;
  grid-row-start: 1;
}
header #nav_row .search-button,
header #nav_row .quit-search-button {
  display: flex;
  justify-content: center;
  align-items: center;
}
header #nav_row a.quit-search-button {
  display: none;
}
header #nav_row #mobile-drawer-button {
  grid-column-start: button2;
  grid-column-end: span 1;
  grid-row-start: 1;
  display: none;
  justify-content: center;
  align-items: center;
}

@media (max-width: 959px) {
  body:not(.mobile-drawer-open) header #main-menu-container {
    display: none;
  }
  header #nav_row #mobile-drawer-button {
    display: flex;
  }
  header #nav_row #mobile-drawer-button .close {
    display: none;
  }
  header #nav_row a.search-button,
  header #nav_row a.quit-search-button {
    grid-column-start: button1;
  }

  /*
	* mobile drawer open
	*/
  html:has(body.mobile-drawer-open)
    header
    #nav_row
    #mobile-drawer-button
    .close {
    display: block;
  }
  html:has(body.mobile-drawer-open)
    header
    #nav_row
    #mobile-drawer-button
    .open {
    display: none;
  }

  html:has(body.mobile-drawer-open),
  body.mobile-drawer-open {
    margin: 0;
    height: 100%;
    overflow: hidden;
  }
  html:has(body.mobile-drawer-open) header #main-menu-container {
    position: fixed;
    left: 0;
    top: 65px;
    right: 0;
    bottom: 100px;
  }
  html:has(body.mobile-drawer-open) header #main-menu-container ul {
    padding: 20px 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  html:has(body.mobile-drawer-open) header #main-menu-container li {
    margin: 0;
    background-color: white;
    border: 1px var(--main-color) solid;
    border-radius: var(--radius);
    width: 330px;
    max-width: 100%;
  }

  html:has(body.mobile-drawer-open)
    header
    #main-menu-container
    li.current_page_item::after {
    display: none;
  }

  html:has(body.mobile-drawer-open) header #main-menu-container a {
    padding: 32px;
    font-size: 20px;
    line-height: 120%;
    letter-spacing: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  html:has(body.mobile-drawer-open) header h1,
  html:has(body.mobile-drawer-open) header p {
    display: none;
  }
}

body.mobile-drawer-open {
}
.bgdesktop,
.bgmobile,
#slideshow-svgs-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.bgdesktop svg,
.bgmobile svg,
#slideshow-svgs-wrapper {
  width: 100%;
  height: 100%;
}
@media (max-width: 959px) {
  .bgdesktop {
    display: none;
  }
}
@media (min-width: 960px) {
  .bgmobile {
    display: none;
  }
}
/*
* search-slideshow
*/
#search-slideshow {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding: 0 22px;
	gap: 20px;
}
#slideshow-svgs-wrapper {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	overflow: hidden;
}
@media (min-width: 960px) {
	#slideshow-svgs-wrapper svg {
		height: 100%;
		width: 25%;
		flex-shrink: 0;
		flex-grow: 0;
	}
	#slideshow-svgs-wrapper svg:nth-last-of-type(2) {
		height: 100%;
		width: 50%;
	}
	#slideshow-svgs-wrapper svg:first-of-type {
		transform: translateX(-15%);
	}
	#slideshow-svgs-wrapper svg:last-of-type {
		transform: translateX(15%);
	}
	#slideshow-svgs-wrapper:has(.new.picto) svg {
		transition: transform var(--anim-duration) var(--anim-curve);
		transform: translateX(-115%);
	}
	#slideshow-svgs-wrapper:has(.new.picto) svg:last-of-type {
		transform: translateX(-85%);
	}
	#slideshow-svgs-wrapper:has(.new.picto) svg:nth-last-of-type(2) {
		transform: translateX(-50%);
	}
	
	
	#slideshow-svgs-wrapper svg:first-of-type {
		transform: translateX(0);
		margin-left: -10%;
    margin-right: 10%;
	}
	#slideshow-svgs-wrapper svg:last-of-type {
		transform: translateX(0);
		margin-left: 10%;
	}
	
	#slideshow-svgs-wrapper:has(.new.picto) svg {
		transition: transform var(--anim-duration) var(--anim-curve);
		transform: translateX(0%) !important;
	}
	#slideshow-svgs-wrapper:has(.new.picto) svg:first-of-type {
		transform: translateX(-100%) !important;
		transform: translateX(-140%) !important;
	}
	#slideshow-svgs-wrapper:has(.new.picto) svg:nth-of-type(2) {
		transform: translateX(-140%) !important;
	}
	#slideshow-svgs-wrapper:has(.new.picto) svg:nth-last-of-type(2) {
		transform: translateX(-50%) !important;
	}
	#slideshow-svgs-wrapper:has(.new.picto) svg:last-of-type {
		transform: translateX(-100%) !important;
	}
}
@media (max-width: 959px) {
	#slideshow-svgs-wrapper svg {
		height: 100%;
		width: 50%;
		flex-shrink: 0;
		flex-grow: 0;
	}
	#slideshow-svgs-wrapper svg:nth-last-of-type(2) {
		height: 100%;
		width: 80%;
	}
	#slideshow-svgs-wrapper svg:first-of-type {
		transform: translateX(0);
		margin-left: -47%;
    margin-right: 7%;
	}
	#slideshow-svgs-wrapper svg:last-of-type {
		transform: translateX(0);
		margin-left: 7%;
	}
	
	#slideshow-svgs-wrapper:has(.new.picto) svg {
		transition: transform var(--anim-duration) var(--anim-curve);
		transform: translateX(0%) !important;
	}
	#slideshow-svgs-wrapper:has(.new.picto) svg:first-of-type {
		transform: translateX(-50%) !important;
		transform: translateX(-114%) !important;
	}
	#slideshow-svgs-wrapper:has(.new.picto) svg:nth-of-type(2) {
		transform: translateX(-114%) !important;
	}
	#slideshow-svgs-wrapper:has(.new.picto) svg:nth-last-of-type(2) {
		transform: translateX(-62.5%) !important;
	}
	#slideshow-svgs-wrapper:has(.new.picto) svg:last-of-type {
		transform: translateX(-100%) !important;
	}
}
#search-slideshow form {
  position: absolute;
  height: 55px;
  left: 10px;
  right: 10px;
  top: calc(50dvh + 10vw);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: stretch;
}
#search-slideshow form input[type="text"],
#search-slideshow form input[type="submit"] {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px var(--main-color) solid;
  border-radius: var(--radius);
  background-color: white;
  height: 55px;
}
#search-slideshow form input[type="text"] {
  font-family: Gabarito;
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--main-color);
  padding: 16px 30px;
  width: 400px;
}
#search-slideshow form input[type="text"]::before {
  content: "";
}
#search-slideshow form input[type="submit"] {
  aspect-ratio: 1;
  font-size: 0;
  line-height: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='25' height='20' viewBox='0 0 25 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.849 1.51261L16.6107 0L25 10L16.6107 20L14.849 18.4874L20.8473 11.5126V11.1765H0V8.82353H20.8473V8.4874L14.849 1.51261Z' fill='%230D7F48'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center;
}
@media (max-width: 959px) {
  #search-slideshow form {
    top: calc(50dvh + 20vw - 100px);
    left: 0;
    right: 0;
    height: 100px;
    justify-content: stretch;
    padding: 20px;
  }
  #search-slideshow form .awesomplete {
    width: 100%;
  }
  #search-slideshow form input[type="text"] {
    position: asolute;
    left: 0;
    width: 100%;
    right: 60px;
    padding: 16px 20px;
    font-size: 20px;
    line-height: 120%;
  }
  body.mobile-drawer-open #search-slideshow form {
    display: none;
  }
}

#search-slideshow > ul {
  width: fit-content;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
#search-slideshow > ul li:not(.active) {
  background-color: var(--main-color);
  height: 6px;
  width: 6px;
  border-radius: 6px;
}
#search-slideshow > ul li:not(.active) .picto {
  display: none;
}
#search-slideshow > ul li .picto {
  height: 30px;
  width: 30px;
}
/*
* about block
*/
#about {
	position: relative;
  text-align: center;
}
#about > * {
	position: relative;
  z-index: 3;
}
#about .floating-decoration {
	--parallaxeOffset: 0%;
	--rotationOffset: 0deg;
	--posX: 0%;
	--posY: 0%;
	--rotZ: 0deg;
	--parallaxeRatio: 1;
  position: absolute;
  z-index: 1;
  top: clamp(0%, calc(var(--parallaxeRatio) * (var(--posY) + var(--parallaxeOffset))), 100%);
  left: var(--posX);
  transform: rotateZ(calc(var(--rotZ) + var(--rotationOffset)));
}

@media (max-width: 959px) {
  #about {
    padding-bottom: 350px;
  }
  #about .floating-decoration {
		--posMobX: -100%;
		--posMobY: -100%;
	  top: clamp(0%, calc(var(--parallaxeRatio) * (var(--posMobY) + var(--parallaxeOffset))), 100%);
	  left: var(--posMobX);
	  transform: rotateZ(calc(var(--rotZ) + var(--rotationOffset)));
	}
}
@media (min-width: 960px) {
  #about > * {
    max-width: 60%;
  }
}
#about h2 {
  font-size: 64px;
  font-weight: 400;
  line-height: 1;
  margin: 110px auto 80px;
  width: 100%;
  text-align: center;
}
@media (min-width: 960px) {
  #about .info {
    margin: auto;
  }
}
#about p {
  margin: 2em auto;
  font-size: 32px;
  line-height: 160%;
}
#about a.arrow {
  margin: 80px auto;
}

@media (max-width: 959px) {
  #about h2 {
    font-size: 40px;
    margin: 100px 0 32px;
    text-align: left;
  }
  #about h3.info {
    margin-top: 64px;
  }
  #about p {
    margin: 1em auto;
    font-size: 24px;
    /*line-height: 140%;*/
    text-align: left;
  }
  #about a.arrow {
    margin: 32px 0;
  }
  #about a.arrow,
  #about a.arrow::after {
    background-color: white;
  }
}
/*
* cat list
*/
#cat_list_container {
  background: var(--secondary-color);
  padding-top: 100px;
  margin: 10px 0;
}
#cat_list_container > div:not(#cat_list) {
  padding-bottom: 50px;
}
#cat_list_container > div:not(#cat_list) h2 {
  font-family: ABC Camera Unlicensed Trial;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
}
#cat_list_container > div:not(#cat_list) p {
  margin-bottom: 32px;
  font-size: 18px;
  line-height: 160%;
}
#cat_list_container > div:not(#cat_list) a.arrow,
#cat_list_container > div:not(#cat_list) a.arrow::after {
  background-color: white;
}
@media (max-width: 959px) {
  #cat_list_container {
    padding-top: 64px;
  }
  #cat_list_container > div:not(#cat_list) {
    padding-bottom: 48px;
  }
  #cat_list_container > div:not(#cat_list) h2 {
    margin-bottom: 32px;
  }
  #cat_list_container > div:not(#cat_list) p {
    line-height: 140%;
  }
}
@media (min-width: 960px) {
  #cat_list_container > div:not(#cat_list) {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  #cat_list_container > div:not(#cat_list) > * {
    flex: 1 1 40%;
  }
}

h3:has(+ #cat_list) {
  font-family: ABC Camera Unlicensed Trial;
  font-weight: 400;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-bottom: 48px;
}
@media (max-width: 959px) {
  h3:has(+ #cat_list) {
    font-size: 25px;
    line-height: 100%;
    text-align: center;
  }
}
#cat_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr []);
  flex-wrap: wrap;
}
#cat_list_container #cat_list {
  flex-wrap: nowrap;
  overflow-x: scroll;
  padding: 1px;
}
@media (max-width: 959px) {
  #cat_list {
    display: flex;
    flex-wrap: no-wrap;
    flex-direction: column;
  }
  #cat_list_container #cat_list {
    overflow-x: hidden;
  }
}
@media (min-width: 960px) {
  #cat_list_container #cat_list {
    display: flex;
    padding-top: 20px;
  }
}

#cat_list a {
  display: flex;
  position: relative;
}
#cat_list_container #cat_list a {
  flex: 0 0 auto;
}

@media (min-width: 960px) {
  #cat_list a {
    flex: 1 1 26%;
    border-radius: var(--radius);
    border: 1px var(--main-color) solid;
    background-color: white;
    flex-direction: column;
    padding: 40px;
    aspect-ratio: 1;
    margin-left: -1px;
    margin-top: -1px;
    transition: border var(--anim-duration) var(--anim-curve),
      margin var(--anim-duration) var(--anim-curve),
      width var(--anim-duration) var(--anim-curve);
  }
  #cat_list a:hover {
    border-bottom: 10px var(--main-color) solid;
    border-left: 10px var(--main-color) solid;
    margin-top: -10px !important;
    margin-right: -10px !important;
    z-index: 2;
  }

  #cat_list_container #cat_list a {
    flex: 0 0 auto;
    width: 450px;
    aspect-ratio: unset;
  }
  #cat_list_container #cat_list a:hover {
    width: 460px;
  }
}
@media (max-width: 959px) {
  #cat_list a {
    flex-direction: row;
  }
}

@media (max-width: 959px) {
  #cat_list a .info {
    height: 30px;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 20px;
    top: calc(50% - 15px);
  }
  #cat_list a .info span {
    display: none;
  }
}

#cat_list a .icon {
  display: flex;
  justify-content: center;
  align-items: center;
}
#cat_list a .icon svg {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60%;
  height: auto;
  aspect-ratio: 1;
}

@media (min-width: 960px) {
  #cat_list a .icon {
    margin: auto 0;
  }
  #cat_list a .icon svg {
  }
}
@media (max-width: 959px) {
  #cat_list a .icon {
    order: 0;
    border-radius: var(--radius);
    border: 1px var(--main-color) solid;
    background-color: white;
    width: 90px;
    flex-shrink: 0;
    aspect-ratio: 1;
  }
  #cat_list a .icon svg {
  }
}

#cat_list a .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 24px;
  align-self: stretch;
}
#cat_list a .title svg {
  flex-shrink: 0;
}
@media (max-width: 959px) {
  #cat_list a .title {
    order: 1;
    border-radius: var(--radius);
    border: 1px var(--main-color) solid;
    background-color: white;
    flex-grow: 1;
    padding: 0 60px 0 20px;
    font-size: 20px;
    line-height: 120%;
  }
  #cat_list a .title svg {
    display: none;
  }
}
/*
* Home cards
*/

/*
* Home actus
*/
#actus {
  margin-bottom: 144px;
  padding-left: 40px;
  padding-right: 40px;
  margin-top: calc(180px - 40vh);
  position: relative;
  z-index: 4;
}
#actus-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 48px;
}
#actus-title h2 {
  display: flex;
  flex-direction: row;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  line-height: 100%;
}
#actus-title a,
#actus-title a::after {
  background-color: white;
}
#actus-container {
  display: grid;
  grid-template-columns: 1.65fr [] 1fr [] 1fr;
  gap: 24px;
}
#actus-container .actu {
  margin-bottom: 0;
}

@media (max-width: 959px) {
  #actus {
    margin-bottom: 96px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: calc(96px - 40vh);
  }

  #actus-title {
    margin-bottom: 0;
  }

  #actus-title h2 {
    font-family: ABC Camera Unlicensed Trial;
    font-size: 25px;
    leading-trim: NONE;
    line-height: 100%;
  }
  #actus-title a {
    /*max-width: 0px;*/
    width: 0px;
    font-size: 0;
    padding: 0;
    border: none;
  }
  #actus-container {
    grid-template-columns: repeat(3, calc(100% - 50px) []);
    gap: 16px;
    overflow-x: scroll;
    margin-left: -30px;
    margin-right: -30px;
    padding-left: 30px;
    padding-right: 30px;
    padding-top: 32px;
  }
  #actus-container .actu img {
    aspect-ratio: 292/333;
  }
}
/*
* Category Archive
*/

.cat_tabs_continuity h2 {
  min-height: 64px;
  display: flex;
  flex-direction: row;
  font-family: ABC Camera Unlicensed Trial;
  font-size: 55px;
  font-weight: 400;
  line-height: 100%;
  padding-left: 16px;
  margin-top: 50px;
  margin-bottom: 40px;
}
.cat_tabs_continuity h2 .icon svg {
  height: 64px;
  width: 64px;
  margin-right: 32px;
}
.cat_tabs_continuity h2 .icon path {
  fill: var(--main-color);
}
@media (max-width: 959px) {
  .cat_tabs_continuity h2 {
    margin-top: 0;
    font-size: 45px;
  }

  .cat_tabs_continuity h2 .icon svg {
    display: none;
  }
}
@media (min-width: 960px) {
  #bonus_list-container {
    display: flex;
    flex-direction: center;
    justify-content: center;
  }
}

ul.cat_tabs {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 10px;
  margin-left: -10px;
  margin-right: -10px;
}
ul.cat_tabs::before,
ul.cat_tabs::after {
  content: "";
  display: block;
  position: absolute;
  height: 9px;
  width: 2px;
  margin-top: -10px;
  background: #fff1fa;
}
ul.cat_tabs::before {
  left: 0;
}
ul.cat_tabs::after {
  right: 0;
}
ul.cat_tabs li {
  background: #faffef;
  border: 1px var(--main-color) solid;
  border-left: none;
  margin-top: -1px;
  min-height: 80px;
  min-width: calc(1.55 * var(--radius));
  flex-grow: 1;
  flex-shrink: 0;
}
ul.cat_tabs a {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 0 22px;
  font-size: 16px;
  white-space: nowrap;
}
ul.cat_tabs li:not(.current) {
  border-radius: 0 40px 0 0;
  margin-left: calc(-0.5 * var(--radius) - 5px);
  padding-left: calc(0.5 * var(--radius) + 5px);
}
ul.cat_tabs li:last-of-type {
  margin-right: 0;
  border-left: 1px var(--main-color) solid;
}
ul.cat_tabs li:first-of-type {
  border-radius: 40px 40px 0 0;
  margin-left: 0;
  padding-left: 0;
  border-left: 1px var(--main-color) solid;
}
ul.cat_tabs li:last-of-type.current {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20.8px' height='41px' viewBox='0 0 20.8 41'%3E%3Cpath fill='%23FAFFEF' d='M20.5,0L20.5,0v13.3V20c0,11.6-9.2,21-20.5,21L0,0L20.5,0z'/%3E%3Cpath fill='%23FFFFFF' d='M20.5,20v-6.8V0v0l0.4,0v41.6H0L0,41C11.3,41,20.5,31.6,20.5,20z'/%3E%3Cpath fill='none' stroke='%230B8048' d='M20,0.5L20,0.5v12.9V20c0,11.3-8.7,20.5-19.5,20.5'/%3E%3C/svg%3E%0A");
  background-position: bottom 0 left 1px;
  padding-right: 0;
  border-radius: 0 40px 0 0;
  border-left: 0;
}
ul.cat_tabs li:last-of-type.current a::after {
  border-right: 1px var(--main-color) solid;
  right: -1px;
}
ul.cat_tabs li:first-of-type.current {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20.8px' height='41px' viewBox='0 0 20.8 41'%3E%3Cpath fill='%23FAFFEF' d='M0.4,0L0.4,0v13.3V20c0,11.6,9.2,21,20.5,21V0H0.4z'/%3E%3Cpath fill='%23FFFFFF' d='M0.4,20v-6.8V0v0H0v41.6h20.8V41C9.5,41,0.4,31.6,0.4,20z'/%3E%3Cpath fill='none' stroke='%230B8048' d='M0.9,0.5L0.9,0.5v12.9V20c0,11.3,8.7,20.5,19.5,20.5'/%3E%3C/svg%3E");
  background-position: bottom 0 right 1px;
  padding-left: 0;
  border-radius: 40px 0 0 0;
}
ul.cat_tabs li:first-of-type.current a::after {
  border-left: 1px var(--main-color) solid;
  left: -1px;
}

ul.cat_tabs li.current {
  background-color: #faffef;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20.8px' height='41px' viewBox='0 0 20.8 41'%3E%3Cpath fill='%23FAFFEF' d='M20.5,0L20.5,0v13.3V20c0,11.6-9.2,21-20.5,21L0,0L20.5,0z'/%3E%3Cpath fill='%23FFFFFF' d='M20.5,20v-6.8V0v0l0.4,0v41.6H0L0,41C11.3,41,20.5,31.6,20.5,20z'/%3E%3Cpath fill='none' stroke='%230B8048' d='M20,0.5L20,0.5v12.9V20c0,11.3-8.7,20.5-19.5,20.5'/%3E%3C/svg%3E%0A"),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20.8px' height='41px' viewBox='0 0 20.8 41'%3E%3Cpath fill='%23FAFFEF' d='M0.4,0L0.4,0v13.3V20c0,11.6,9.2,21,20.5,21V0H0.4z'/%3E%3Cpath fill='%23FFFFFF' d='M0.4,20v-6.8V0v0H0v41.6h20.8V41C9.5,41,0.4,31.6,0.4,20z'/%3E%3Cpath fill='none' stroke='%230B8048' d='M0.9,0.5L0.9,0.5v12.9V20c0,11.3,8.7,20.5,19.5,20.5'/%3E%3C/svg%3E");
  background-position: bottom 0 left 1px, bottom 0 right 1px;
  background-repeat: no-repeat;
  border-bottom: none;
  border-right: none;
  border-radius: 0;
  padding: 0 22px;
}
ul.cat_tabs li.current a {
  position: relative;
  height: calc((1em + 100%) / 2);
  align-items: flex-end;
  background-color: white;
  border: 1px var(--main-color) solid;
  border-bottom: none;
  border-radius: 40px 40px 0 0;
  transition: transform var(--anim-duration) var(--anim-curve);
  transform: translateY(0px);
  margin: -1px;
}
ul.cat_tabs li.current a::after {
  content: "";
  display: block;
  height: 50px;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
}
ul.cat_tabs:hover li.current a {
  transform: translateY(-5px);
}
@media (max-width: 959px) {
  ul.cat_tabs {
    margin-left: -10px;
    margin-right: -10px;
  }
}

/*after current */
ul.cat_tabs li:has(+ li.current) {
  border-radius: 0;
  border-right: none;
}
ul.cat_tabs li:first-of-type:has(+ li.current) {
  border-radius: 40px 0 0 0;
}

ul.cat_tabs li:has(+ li.current) a {
  padding-right: 0;
}
/*before current*/
ul.cat_tabs li.current + li {
  border-radius: 0 40px 0 0;
}
ul.cat_tabs li.current + li a {
  padding-left: 0;
}

.cat_tabs_continuity {
  border-radius: 0 0 var(--radius) var(--radius);
  border: 1px var(--main-color) solid;
  border-top: none;
  background-color: var(--secondary-color);
  background: linear-gradient(180deg, #ffffff 0%, var(--secondary-color) 100%);
  padding: 40px;
  margin-left: -10px;
  margin-right: -10px;
}
@media (max-width: 959px) {
  .cat_tabs_continuity {
    background: white; /*remove gradient*/
    padding: 40px 8px;
    overflow: hidden;
  }
}

#sub-cats-list {
  background: white;
  padding: 30px 8px;
  height: fit-content;
}
#sub-cats-list h3 {
  display: none;
  font-family: Gabarito;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: 0%;
  text-align: center;
  margin-bottom: 40px;
}
#sub-cats-list li {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  padding: 16px;
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  border-radius: var(--radius);
}
#sub-cats-list li b {
  font-weight: 600;
}
#sub-cats-list li::before {
  display: block;
  content: "";
  border: 1px var(--main-color) solid;
  border-radius: 100%;
  height: 8px;
  width: 8px;
  margin-right: 10px;
}
#sub-cats-list li.active {
  background-color: var(--secondary-color);
  font-weight: 600;
}
#sub-cats-list li.active::before {
  background-color: var(--main-color);
}

#bonus-list {
  flex-grow: 1;
  padding: 32px;
  padding-bottom: 64px;
  background: white;
}
@media (max-width: 959px) {
  #sub-cats-list h3 {
    display: block;
  }
  body:not(.search) #bonus-list {
    border: none;
    background: none;
    padding: 32px 0 64px;
  }
  body:not(.search) #sub-cats-list {
    margin-top: 32px;
  }
  body.search #sub-cats-list {
    margin-bottom: 10px;
  }
  body.search #bonus-list {
    padding: 32px 4px;
  }
}
#bonus-list .hrow {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  padding-right: 43px;
}
@media (max-width: 959px) {
  #bonus-list .hrow {
    display: block;
    margin-bottom: 10px;
  }
  #bonus-list a.arrow {
    margin-left: 16px;
  }
}

#bonus-list .hrow a.arrow,
#bonus-list .hrow a.arrow::after {
  background-color: white;
}
#bonus-list h2 {
  font-family: Gabarito;
  font-weight: 400;
  font-style: Regular;
  font-size: 24px;
  line-height: 32px;
  letter-spacing: 0;
  margin: 5px 0 20px 16px;
}
@media (max-width: 959px) {
  #bonus-list h2 {
    font-size: 20px;
    line-height: 120%;
  }
}

#bonus-list ul {
  width: 100%;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
}
#bonus-list li.list-header {
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: #ff4a7d;
}
#bonus-list li {
  height: 61px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr []);
}
#bonus-list li > * {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: inherit;
  position: relative;
  z-index: 2;
}
#bonus-list li > :first-child {
  justify-content: start;
  text-align: left;
  padding-left: 16px;
}
#bonus-list li > :nth-child(2) {
  text-align: center;
  padding: 0 20px;
  transition: padding var(--anim-duration) var(--anim-curve);
}
#bonus-list li > :nth-child(3) {
  justify-content: end;
  gap: 8px;
  padding-right: 16px;
}
#bonus-list li b {
  display: inline-block;
  padding: 8px 12px;
  background-color: var(--bg-color);
  border-radius: var(--radius);
  font-weight: 600;
}
@media (max-width: 959px) {
  #bonus-list li {
    min-height: 86px;
  }
  #bonus-list
    li:not(:first-of-type):not(:last-of-type):not(:hover):not(
      :has(+ li:hover)
    )::after {
    content: "";
    background-color: var(--main-color);
    position: absolute;
    right: 16px;
    bottom: 0;
    left: 16px;
    height: 1px;
  }
  #bonus-list li > * {
    height: 100%;
  }
}
a.more,
a.fix {
  display: flex;
  height: 44px;
  width: 44px;
  border-radius: var(--radius);
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0;
}
a.more {
  border: 1px var(--main-color) solid;
}
a.more::after {
  content: "";
  height: 100%;
  aspect-ratio: 1;
  align-items: center;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.05026 5.90091L14.1519 5.90081M14.1519 5.90081L14.1519 12.9015M14.1519 5.90081L5.90234 14.1504' stroke='%230D7F48' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
  background-position: center;
  background-repeat: no-repeat;
}
a.fix {
  background-color: #ddff7b;
}
a.fix::after {
  content: "";
  height: 100%;
  aspect-ratio: 1;
  align-items: center;
  background-image: url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M6.91728 9.0593H9.0593V6.91728L6.56028 4.41826C7.3597 4.03646 8.25783 3.91189 9.13099 4.0617C10.0041 4.21151 10.8094 4.62833 11.4358 5.25477C12.0623 5.88121 12.4791 6.68645 12.6289 7.5596C12.7787 8.43276 12.6541 9.33089 12.2723 10.1303L16.5564 14.4144C16.8404 14.6984 17 15.0837 17 15.4854C17 15.8871 16.8404 16.2723 16.5564 16.5564C16.2723 16.8404 15.8871 17 15.4854 17C15.0837 17 14.6984 16.8404 14.4144 16.5564L10.1303 12.2723C9.33089 12.6541 8.43276 12.7787 7.5596 12.6289C6.68645 12.4791 5.88121 12.0623 5.25477 11.4358C4.62833 10.8094 4.21151 10.0041 4.0617 9.13099C3.91189 8.25783 4.03646 7.3597 4.41826 6.56028L6.91728 9.0593Z" stroke="%230D7F48" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E%0A');
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 959px) {
  a.fix {
    background-color: var(--main-color);
  }

  a.fix::after {
    background-image: url('data:image/svg+xml,%3Csvg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M3.41728 5.5593H5.5593V3.41728L3.06028 0.918259C3.8597 0.536461 4.75783 0.41189 5.63099 0.5617C6.50415 0.71151 7.30939 1.12833 7.93582 1.75477C8.56226 2.38121 8.97908 3.18645 9.12889 4.0596C9.2787 4.93276 9.15413 5.83089 8.77233 6.63031L13.0564 10.9144C13.3404 11.1984 13.5 11.5837 13.5 11.9854C13.5 12.3871 13.3404 12.7723 13.0564 13.0564C12.7723 13.3404 12.3871 13.5 11.9854 13.5C11.5837 13.5 11.1984 13.3404 10.9144 13.0564L6.63031 8.77233C5.83089 9.15413 4.93276 9.2787 4.0596 9.12889C3.18645 8.97908 2.38121 8.56226 1.75477 7.93582C1.12833 7.30939 0.71151 6.50415 0.5617 5.63099C0.41189 4.75783 0.536461 3.8597 0.918259 3.06028L3.41728 5.5593Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E%0A');
  }
}
a.more span,
a.fix span {
  opacity: 0;
  width: 0px;
  overflow: hidden;
  transition: width var(--anim-duration) var(--anim-curve),
    opacity var(--anim-duration) var(--anim-curve);
  text-wrap: nowrap;
}
#bonus-list li:hover .fix svg * {
  transition: fill var(--anim-duration) var(--anim-curve),
    stroke var(--anim-duration) var(--anim-curve);
}
#bonus-list li:hover .fix svg rect {
  fill: var(--main-color);
}
#bonus-list li:hover .fix svg path {
  stroke: var(--secondary-color);
}
@media (min-width: 960px) {
  #bonus-list li::after {
    content: "";
    background: linear-gradient(90deg, var(--secondary-color) 0%, #ffffff 100%);
    border-radius: var(--radius);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
  }

  #bonus-list li:hover::after {
    opacity: 1;
  }
  #bonus-list li:hover > *:nth-child(2) {
    padding-left: 0;
  }
  #bonus-list li:hover a.more span {
    opacity: 1;
    width: auto;
  }
  #bonus-list li:hover a.more {
    padding-left: 18.5px;
    width: auto;
  }
  #bonus-list li:hover a.more::after {
    margin-left: 4px;
  }
  #bonus-list li:hover a.fix {
    background-color: var(--main-color);
  }
  #bonus-list li:hover a.fix::after {
    background-image: url('data:image/svg+xml,%3Csvg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M3.41728 5.5593H5.5593V3.41728L3.06028 0.918259C3.8597 0.536461 4.75783 0.41189 5.63099 0.5617C6.50415 0.71151 7.30939 1.12833 7.93582 1.75477C8.56226 2.38121 8.97908 3.18645 9.12889 4.0596C9.2787 4.93276 9.15413 5.83089 8.77233 6.63031L13.0564 10.9144C13.3404 11.1984 13.5 11.5837 13.5 11.9854C13.5 12.3871 13.3404 12.7723 13.0564 13.0564C12.7723 13.3404 12.3871 13.5 11.9854 13.5C11.5837 13.5 11.1984 13.3404 10.9144 13.0564L6.63031 8.77233C5.83089 9.15413 4.93276 9.2787 4.0596 9.12889C3.18645 8.97908 2.38121 8.56226 1.75477 7.93582C1.12833 7.30939 0.71151 6.50415 0.5617 5.63099C0.41189 4.75783 0.536461 3.8597 0.918259 3.06028L3.41728 5.5593Z" stroke="white" stroke-linecap="round" stroke-linejoin="round"/%3E%3C/svg%3E%0A');
  }
}
@media (max-width: 959px) {
  #bonus-list li {
    grid-template-columns: repeat(2, 1fr []);
    position: relative;
  }
  #bonus-list li > :nth-child(3) {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    justify-content: center;
    align-items: center;
  }
  #bonus-list li:hover > :nth-child(3) {
    display: flex;
  }
  #bonus-list li > :nth-child(3)::before {
    display: block;
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #ddff7b;
    opacity: 0.5;
    border-radius: var(--radius);
  }
  #bonus-list li a.more,
  #bonus-list li a.fix {
    padding-left: 18.5px;
    width: auto;
  }
  #bonus-list li a.more {
    background-color: white;
  }
  #bonus-list li a.fix {
    background-color: var(--main-color);
    color: white;
  }
  #bonus-list li a.more span,
  #bonus-list li a.fix span {
    opacity: 1;
    width: auto;
  }
}

/*
* QFR campaign
*/
#campaign {
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 10px 0;
}
#campaign > * {
  flex: 0 1 50%;
  background: var(--secondary-color);
  border-radius: var(--radius);
  border: 1px var(--main-color) solid;
  overflow: hidden;
}
#campaign > div {
  padding: 50px;
}
#campaign h2 {
  font-family: ABC Camera Unlicensed Trial;
  font-weight: 400;
  font-size: 110px;
  line-height: 100%;
  letter-spacing: -2%;
  margin-bottom: 87px;
}
#campaign p {
  font-size: 18px;
  line-height: 160%;
  margin-bottom: 32px;
}
#campaign a.arrow,
#campaign a.arrow:after {
  background-color: white;
}
#campaign img {
  aspect-ratio: 10/1;
  object-fit: cover;
}
@media (max-width: 959px) {
  #campaign {
    flex-direction: column;
  }
  #campaign h2 {
    font-size: 55px;
    margin-bottom: 40px;
  }
  #campaign p {
    font-size: 18px;
    line-height: 140%;
  }
}

/*
* Part cards_steps
*/
#card_steps {
  padding-top: 170px;
}
#card_steps_container {
  padding-bottom: 170px;
  position: relative;
}
@media (max-width: 959px) {
  #card_steps_container {
    padding-bottom: 25px;
    position: relative;
  }

  #card_steps {
    padding: 100px 20px 0;
  }
}
#card_steps h2 {
  font-family: ABC Camera Unlicensed Trial;
  font-weight: 400;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  margin: 0 auto 70px;
  position: sticky;
  top: 100px;
}
.card_step {
  border: 1px var(--main-color) solid;
  border-radius: var(--radius);
  background: #fff;
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: calc(40vh) auto;
  position: sticky;
  z-index: 2;
  top: calc(50dvh - 220px);
}
/*to hide h2 after full scroll*/
#card_steps_container::after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  height: 70vh;
  background-color: var(--bg-color);
}
.card_step:first-of-type {
  margin-top: 0;
}
@media (max-width: 959px) {
  .card_step {
    max-width: 500px;
    min-height: 500px;
    padding: 0 25px;
    top: calc(50dvh - 170px);
  }
  #card_steps h2 {
    font-size: 25px;
  }
}
@media (min-width: 960px) and (min-height: 800px) {
  .card_step {
    aspect-ratio: 1;
    width: 500px;
  }
}
@media (min-width: 960px) and (max-height: 799px) {
  .card_step {
    aspect-ratio: 1;
    width: 400px;
    top: calc(50dvh - 170px);
    padding: 0 40px;
  }
}

.card_step h3 {
  font-family: ABC Camera Unlicensed Trial;
  font-size: 55px;
  line-height: 100%;
  text-align: center;
  margin: auto;
  margin: 40px 0 24px;
}
.card_step p {
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  margin: 0;
  margin-bottom: 40px;
}
@media (max-width: 959px) {
  .card_step h3 {
    margin: 20px auto;
  }
  .card_step p {
    margin-bottom: 20px;
  }
}
@media (min-width: 960px) and (max-height: 799px) {
  .card_step h3 {
    font-size: 50px;
    margin: 20px auto;
  }
  .card_step p {
    font-size: 22px;
    margin-bottom: 20px;
  }
}

/*
* Part faq
*/
#faq {
  padding: 0;
  overflow: hidden;
}
#faq > div:not(.faq-item) {
  padding: 0 20px;
  margin: 64px 0;
}

#faq h2,
#faq h2 + div {
  margin: 0;
}
#faq h2 {
  font-family: ABC Camera Unlicensed Trial;
  font-weight: 400;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-bottom: 40px;
}
@media (min-width: 960px) {
  #faq > div:not(.faq-item) {
    display: flex;
    flex-direction: row;
    gap: 232px;
    padding: 0 40px;
    margin: 124px 0 96px;
  }
  #faq h2,
  #faq h2 + div {
    display: block;
    width: calc((100% - 230px) / 2);
  }
  #faq h2 {
    display: block;
    width: calc((100% - 230px) / 2);
    margin-bottom: 0;
    font-size: 40px;
  }
}
#faq h2 + div p:first-of-type {
  font-size: 24px;
  line-height: 32px;
}
#faq h2 + div p {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 160%;
}
#faq h2 + div a.arrow {
  margin-top: 32px;
}

.faq-item {
  padding: 40px 30px;
  border: 1px var(--main-color) solid;
  border-radius: var(--radius) var(--radius) 0 0;
  background-color: white;
  padding-bottom: var(--radius);
  margin: -1px;
  margin-bottom: calc(-1 * var(--radius));
  transition: background var(--anim-duration) var(--anim-curve);
}
.faq-item-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-family: ABC Camera Unlicensed Trial;
  font-size: 40px;
  line-height: 100%;
  padding-bottom: 30px;
}
.faq-item-number {
  background-color: var(--main-color);
  color: white;
}
.faq-item h3 {
  padding: 0;
  margin: 0;
  margin-left: calc(20% - 70px);
  margin-right: auto;
}
.faq-item-number,
.faq-item-open,
.faq-item-close {
  height: 70px;
  width: 70px;
  flex-grow: 0;
  flex-shrink: 0;
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-item-open,
.faq-item-close {
  background-color: white;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px var(--main-color) solid;
}

.faq-item-open {
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8.64453 10.7305L8.64453 17.8839' stroke='%230D7F48' stroke-width='2'/%3E%3Cpath d='M10.1348 8.94141L17.2882 8.94141' stroke='%230D7F48' stroke-width='2'/%3E%3Cpath d='M8.64453 0L8.64453 7.15346' stroke='%230D7F48' stroke-width='2'/%3E%3Cpath d='M0 8.94141L7.15346 8.94141' stroke='%230D7F48' stroke-width='2'/%3E%3C/svg%3E%0A");
}
.faq-item-close {
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='17' viewBox='0 0 18 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.1348 8.3457L17.2882 8.3457' stroke='%230D7F48' stroke-width='2'/%3E%3Cpath d='M0 8.3457L7.15346 8.3457' stroke='%230D7F48' stroke-width='2'/%3E%3C/svg%3E%0A");
}
.faq-item-open svg *,
.faq-item-close svg * {
  transition: fill var(--anim-duration) var(--anim-curve),
    stroke var(--anim-duration) var(--anim-curve);
  fill: white;
  stroke: var(--main-color);
}
.faq-item-open:hover svg *,
.faq-item-close:hover svg * {
  fill: var(--main-color);
  stroke: white;
}
.faq-item-body {
  overflow: hidden;
  padding-bottom: 60px;
}
@media (max-width: 959px) {
  .faq-item {
    padding: 30px 20px;
  }
  .faq-item-header {
    font-size: 25px;
    line-height: 120%;
  }
  .faq-item h3 {
    margin-left: 24px;
  }
  .faq-item-number,
  .faq-item-open,
  .faq-item-close {
    height: 43px;
    width: 43px;
  }
}
@media (min-width: 960px) {
  .faq-item-body {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: space-between;
  }
}

.faq-item.transition .faq-item-body {
  transition: padding var(--anim-duration) var(--anim-curve),
    height var(--anim-duration) var(--anim-curve);
}
.faq-item:has(.faq-item-open:hover),
.faq-item.open {
  background-color: var(--bg-color);
}
.faq-item.open .faq-item-open {
  display: none;
}
.faq-item.open.transition {
  background-color: white;
}
.faq-item:not(.open).transition {
  background-color: var(--bg-color);
}
.faq-item:not(.open) .faq-item-close,
.faq-item:not(.open):not(.transition) .faq-item-body {
  display: none;
}
@media (max-width: 959px) {
  .faq-item-body p {
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0%;
  }
}
@media (min-width: 960px) {
  .faq-item-body > div {
    padding-left: 20%;
    padding-right: 15%;
  }
  .faq-item-body p {
    font-size: 18px;
    line-height: 160%;
    letter-spacing: 0%;
    margin: 0;
  }
}

.faq-item-body a.arrow,
.faq-item-body a.arrow::after {
  background-color: white;
}
.faq-item-body a.arrow {
  margin-top: 2em;
}

/*
* Actus
*/
#actus-grid {
  padding: 20px;
  padding-bottom: 0;
  flex-wrap: wrap;
}
.actu {
  margin-bottom: 48px;
}
.actu img {
  width: 100%;
  aspect-ratio: 330/200;
  border-radius: var(--radius);
  margin-bottom: 24px;
  transition: transform var(--anim-duration) var(--anim-curve);
}
.actu img:hover {
  transform: scale(1.05);
}
.actu h3 {
  font-size: 20px;
  line-height: 120%;
  margin: 8px 0 16px;
}
.actu-date {
  font-size: 14px;
  line-height: 100%;
}
.actu a.arrow,
.actu a.arrow::after {
  background-color: white;
}
@media (max-width: 959px) {
  .actu a.arrow {
    display: none;
  }
}
@media (min-width: 960px) {
  #actus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr []);
    gap: 24px;
    padding: 0 41px;
  }
  .actu {
    width: 100%;
    margin-bottom: 84px;
  }
  .actu img {
    aspect-ratio: 430/300;
    object-fit: cover;
  }
  .actu h3 {
    line-height: 160%;
  }
}

/*
* Part partners
*/
#partners p {
  padding: 12px 0 44px;
  font-family: Gabarito;
  font-weight: 400;
  font-size: 20px;
  line-height: 160%;
  text-align: center;
}
#partners > div {
  display: flex;
  flex-direction: row;
}
@media (max-width: 959px) {
  #partners p {
    padding: 28px 0 48px;
    font-size: 18px;
    line-height: 140%;
  }

  #partners > div {
    flex-direction: column;
    align-items: center;
  }
}
.partner {
  position: relative;
  transition: transform var(--anim-duration) var(--anim-curve);
}
.partner:hover .name {
  transform: rotateY(180deg);
}
.partner .logo,
.partner .name {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  backface-visibility: hidden;
  transition: transform var(--anim-duration) var(--anim-curve);
  display: flex;
  justify-content: center;
  align-items: center;
}
.partner .logo {
  border-bottom: 10px var(--main-color) solid;
  border-left: 10px var(--main-color) solid;
  top: -10px !important;
  right: -10px !important;
  z-index: 2;
  padding: 0;
  transform: rotateY(180deg);
  justify-content: stretch;
  align-items: stretch;
}
.partner:hover .logo {
  transform: rotateY(0deg);
}

.partner .logo a {
  height: 100%;
  width: 100%;
  padding: 40px;
}
.partner .logo img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}
@media (max-width: 959px) {
  .partner {
    width: 330px;
    max-width: 100%;
    aspect-ratio: 33/17;
  }
}
@media (min-width: 960px) {
  .partner {
    width: 25%;
    aspect-ratio: 34/23;
  }
}

.partner .name {
  font-family: ABC Camera Unlicensed Trial;
  font-size: 40px;
  text-align: center;
}
/*
* partners in detail
*/
#partners_detail {
  margin-top: 130px;
  margin-bottom: 81px;
}
#partners_detail .desc {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 150px;
  padding: 40px;
}
#partners_detail .desc h2 {
  flex: 1 1 40%;
  font-family: ABC Camera Unlicensed Trial;
  font-weight: 400;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
}
#partners_detail .desc div {
  flex: 1 1 40%;
}
#partners_detail .desc p {
  font-size: 18px;
  line-height: 160%;
  margin-bottom: 24px;
}
#partners_detail .desc p:last-of-type {
  margin-bottom: 0;
}
#partners_detail .desc b {
  font-weight: 400;
  font-size: 24px;
  line-height: 32px;
}
#partners_detail_grid {
  display: grid;
  grid-template-columns: repeat(2, 50% []);
  flex-wrap: wrap;
  padding-top: 40px;
}
#partners_detail_grid > * {
  border: 1px var(--main-color) solid;
  border-radius: var(--radius);
  background-color: white;
  padding: 40px;
  width: 100%;
  transition: border var(--anim-duration) var(--anim-curve),
    margin var(--anim-duration) var(--anim-curve),
    width var(--anim-duration) var(--anim-curve);
}
#partners_detail_grid > *:hover {
  position: relative;
  z-index: 3;
  background: var(--secondary-color);
  border-bottom: 10px var(--main-color) solid;
  border-left: 10px var(--main-color) solid;
  margin-top: -10px !important;
  width: calc(100% + 10px);
}
#partners_detail_grid > *:hover a.arrow,
#partners_detail_grid > *:hover a.arrow::after {
  background-color: white;
}

#partners_detail_grid h3 {
  font-family: ABC Camera Unlicensed Trial;
  font-weight: 400;
  font-size: 55px;
  line-height: 100%;
  margin-bottom: 56px;
}
#partners_detail_grid p {
  font-size: 24px;
  line-height: 32px;
  margin-bottom: 24px;
}
@media (max-width: 959px) {
  #partners_detail {
    margin-top: 76px;
    margin-bottom: 86px;
  }
  #partners_detail .desc {
    display: block;
    padding: 20px;
  }
  #partners_detail .desc h2 {
    margin-bottom: 40px;
    font-size: 45px;
  }
  #partners_detail .desc p {
    font-size: 18px;
    line-height: 140%;
  }
  #partners_detail .desc b {
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
  }
  #partners_detail_grid {
    display: block;
    padding: 20px;
  }
  #partners_detail_grid > * {
    padding: 40px 20px;
    flex: 0 0 calc(100% - 20px);
  }
  #partners_detail_grid h3 {
    margin-bottom: 47px;
  }
  #partners_detail_grid p {
    font-size: 20px;
    line-height: 130%;
  }
}
/*
* Stats bloc
*/
#stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr []);
  margin: 160px 0;
}
#stats h2 {
  grid-row: 1 / span 1;
  grid-column: 1 / span 4;
  font-family: ABC Camera Unlicensed Trial;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  margin-bottom: 80px;
}
#stats > *:not(h2) {
  grid-row: 2 / span 1;
  grid-column: auto / span 1;
  width: 100%;
  aspect-ratio: 1;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 20px;
  transition: border var(--anim-duration) var(--anim-curve),
    margin var(--anim-duration) var(--anim-curve),
    width var(--anim-duration) var(--anim-curve);
}
#stats > *:not(h2):hover {
  position: relative;
  z-index: 3;
  background: var(--secondary-color);
  border-bottom: 10px var(--main-color) solid;
  border-left: 10px var(--main-color) solid;
  margin-top: -10px !important;
  width: calc(100% + 10px);
}
#stats p {
  font-family: Gabarito;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
}
#stats p:has(strong) {
  margin-bottom: 32px;
}
#stats strong {
  font-family: ABC Camera Unlicensed Trial;
  font-weight: 400;
  font-size: 70px;
  line-height: 100%;
  letter-spacing: -2%;
  text-align: center;
}
@media (max-width: 959px) {
  #stats {
    display: flex;
    overflow-x: scroll;
    margin-left: -10px;
    margin-right: -10px;
    padding-left: 10px;
    padding-right: 10px;
    margin: 96px 0;
  }
  #stats h2 {
    flex-shrink: 0;
    position: absolute;
    left: 0;
    right: 0;
  }

  #stats > *:not(h2) {
    width: calc(100% - 20px);
    aspect-ratio: 330/290;
    padding: 75px 20px;
    flex-shrink: 0;
    margin-top: 150px;
  }
  #stats > *:not(h2):hover {
    margin-top: 140px !important;
  }
}
/*
* Search page
*/
body.search:not(.mobile-drawer-open) header #main-menu-container,
body.search header #nav_row a.search-button {
  display: none;
}
body.search header #nav_row a.quit-search-button {
  display: flex;
}

body.search main form {
  position: fixed;
  z-index: 11;
  max-width: 100%;
  height: 69px;
  left: calc(50px + 110px + 170px);
  right: calc(50px + 45px + 241px);
  top: 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: stretch;
  padding: 12px;
}
body.search main form input[type="text"],
body.search main form input[type="submit"] {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px var(--main-color) solid;
  border-radius: var(--radius);
  background-color: white;
}
body.search main .awesomplete {
  flex-grow: 1;
  width: 100%;
  height: 100%;
}
body.search main form input[type="text"] {
  font-family: Gabarito;
  font-weight: 400;
  font-style: normal;
  font-size: 16px;
  line-height: 100%;
  letter-spacing: 0%;
  color: var(--main-color);
  padding: 14.5px 30px;
  width: 100%;
  height: 100%;
}
body.search main form input[type="text"]::before {
  content: "";
}
body.search main form input[type="submit"] {
  height: 100%;
  aspect-ratio: 1;
  font-size: 0;
  line-height: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='25' height='20' viewBox='0 0 25 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M14.849 1.51261L16.6107 0L25 10L16.6107 20L14.849 18.4874L20.8473 11.5126V11.1765H0V8.82353H20.8473V8.4874L14.849 1.51261Z' fill='%230D7F48'/%3E%3C/svg%3E%0A");
  background-repeat: no-repeat;
  background-position: center;
}
@media (max-width: 959px) {
  body.search main form {
    position: absolute;
    top: 80px;
    width: 100%;
    height: 55px;
    left: 0;
    justify-content: stretch;
    padding: 0 10px;
    z-index: 9;
  }
  body.search main form input[type="text"],
  body.search main form input[type="submit"] {
  }
  body.search main form input[type="text"] {
    padding: 16px 20px;
    font-size: 20px;
    line-height: 120%;
    width: 100%;
  }
  body.search.mobile-drawer-open main form {
    display: none;
  }
}

.awesomplete ul:not([hidden]) {
  display: block;
  border-radius: var(--radius);
  border: 1px var(--main-color) solid;
  background-color: white;
  padding: 32px;
  padding-bottom: 40px;
}
body.search .awesomplete ul:not([hidden]) {
  position: absolute;
  top: 112px;
  left: calc(-50px - 110px - 170px + 10px);
  right: calc(-50px - 45px - 241px + 10px);
}
body.home .awesomplete ul:not([hidden]) {
  position: absolute;
  z-index: 5;
  top: 80px;
  left: 50px;
  right: 50px;
}
body.search:has(.awesomplete ul:not([hidden])) #bonus_list-container {
  opacity: 0;
}
.awesomplete ul::before {
  display: block;
  content: "Suggestion";
  padding-left: 16px;
  font-size: 16px;
  line-height: 130%;
  letter-spacing: 0%;
  margin-bottom: 30px;
  color: #e90365;
}
.awesomplete ul li {
  display: flex;
  flex-direction: row;
  align-items: end;
  margin-bottom: 32px;
  cursor: pointer;
  transition: padding var(--anim-duration) var(--anim-curve);
  padding-left: 0;
}
.awesomplete ul li:hover {
  padding-left: 10px;
}
.awesomplete ul li:last-of-type {
  margin-bottom: 0;
}
.awesomplete ul li mark {
  background: none;
  color: inherit;
}
.awesomplete ul li::before {
  content: "";
  display: block;
  height: 15px;
  width: 15px;
  margin-right: 12px;
  aspect-ratio: 1;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.1976 6.28952C11.1976 7.59401 10.6844 8.82862 9.75126 9.73711C8.81812 10.6456 7.60505 11.1814 6.29866 11.1814C4.99228 11.1814 3.75588 10.6689 2.84607 9.73711C1.93627 8.80532 1.39969 7.59401 1.39969 6.28952C1.39969 4.98502 1.91294 3.75042 2.84607 2.84193C3.77921 1.93344 4.96895 1.39767 6.29866 1.39767C7.60505 1.39767 8.84145 1.91015 9.75126 2.84193C10.6611 3.77371 11.1976 4.96173 11.1976 6.28952ZM13.8104 12.7887L11.1976 10.203C13.1805 7.73377 12.9939 4.09983 10.731 1.84027C9.5413 0.652247 7.9783 0 6.29866 0C4.61902 0 3.03269 0.652247 1.84294 1.84027C0.653199 3.02829 0 4.58902 0 6.28952C0 7.99002 0.653199 9.55075 1.84294 10.7388C3.03269 11.9035 4.5957 12.579 6.29866 12.579C7.72169 12.579 9.12138 12.0899 10.2178 11.2047L12.8072 13.7903C12.9472 13.9301 13.1105 14 13.2971 14C13.4838 14 13.6704 13.9301 13.787 13.7903C14.067 13.5108 14.067 13.0682 13.8104 12.7887Z' fill='%230D7F48'/%3E%3C/svg%3E%0A");
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 959px) {
  body.home .awesomplete ul:not([hidden]),
  body.search .awesomplete ul:not([hidden]) {
    top: 90px;
    left: 10px;
    right: 10px;
  }
}
/*
* Pages reglements
*/
#reglement {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
#reglement a {
  text-decoration: underline;
}
#reglement h2 {
  font-family: ABC Camera Unlicensed Trial;
  font-size: 55px;
  line-height: 100%;
}
#reglement > p:first-child {
  font-family: ABC Camera Unlicensed Trial;
  font-size: 40px;
  line-height: 100%;
}
#reglement p {
  font-size: 32px;
  line-height: 160%;
  margin: 2em auto;
}
#reglement ul {
  font-size: 32px;
  line-height: 160%;
  list-style-type: unset;
  margin-bottom: 2em;
}
#reglement ul li {
  text-wrap: auto;
  line-height: 140%;
}
#reglement p:has(+ ul) {
  margin-bottom: 1em;
}
#reglement h2 + p {
  margin-top: 1em;
}

#reglement table,
#reglement td {
  border-collapse: collapse;
  border: 1px solid var(--main-color);
  text-align: center;
  padding: 1em;
}

@media (max-width: 959px) {
  #reglement h2 {
    font-size: 45px;
  }
  #reglement p {
    font-size: 18px;
    line-height: 160%;
  }

  #reglement > p:first-child {
    font-family: Gabarito;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
  }
  #reglement li {
    font-size: 18px;
    margin-bottom: 1em;
  }
  #reglement h2 + p {
    /*margin-top: 0;*/
  }
}
/*
* Footer
*/
footer {
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px var(--main-color) solid;
  background-color: var(--secondary-color);
  padding: 80px 50px 60px;
}
footer #footer-text {
  position: relative;
  border-bottom: 1px var(--main-color) solid;
  padding-bottom: 41px;
}
footer #footer-text p {
  font-weight: 400;
  font-size: 32px;
  line-height: 120%;
  width: 520px;
  margin-bottom: 30px;
}
footer #footer-text a.arrow,
footer #footer-text a.arrow::after {
  background-color: white;
}
footer #footer-text svg {
  position: absolute;
  right: 0;
  top: 0;
}
footer #footer-links {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 50px;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
}
footer #footer-links > nav li,
footer #footer-links > div {
  padding: 4px 0;
}
@media (max-width: 959px) {
  footer {
    border-radius: var(--radius) var(--radius) 0 0;
    border: 1px var(--main-color) solid;
    background-color: var(--secondary-color);
    padding: 80px 30px 0;
  }
  footer #footer-text {
    position: relative;
    border-bottom: none;
    padding-bottom: 100px;
  }
  footer #footer-text p {
    font-size: 20px;
    line-height: 120%;
    width: 100%;
  }
  footer #footer-text a.arrow,
  footer #footer-text a.arrow::after {
    background-color: white;
  }
  footer #footer-text svg {
    height: 148px;
    width: 106px;
    right: 0;
    top: unset;
    bottom: -16px;
  }
  footer #footer-links {
    flex-wrap: wrap;
    justify-content: stretch;
    line-height: 130%;
  }
  footer #footer-links > nav {
    padding-top: 40px;
    padding-bottom: 40px;
    width: 50%;
    flex-grow: 1;
    border-top: 1px var(--main-color) solid;
  }
  footer #footer-links > nav li {
    padding: 6px 0;
  }
  footer #footer-links > div {
    margin-top: -16px;
    padding-bottom: 46px;
    width: 100%;
  }
}
