* {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	line-height: 1.5;
	font: inherit;
	vertical-align: baseline;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizelegibility;
}

*, *::before, *::after {
	box-sizing: border-box;
}

html, body {
	height: 100%;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	position: relative;
	display: block;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

a {
	color: inherit;
}

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

input, button, textarea, select {
	font: inherit;
}

input {
	appearance: none;
}

audio, canvas, iframe, img, svg, video {
	display: block;
	max-width: 100%;
}

/* Prevents img without src to appear */
img:not([src]) {
	visibility: hidden;
}

/* ==========================================================================
Fonts
========================================================================== */

@font-face {
  font-family: 'PP Neue Montreal';
  src:url(../fonts/PPNeueMontreal-Medium.woff2) format("woff2");
  font-stretch: normal;
  font-style: normal;
  font-weight: 500;
  font-display:swap;
}

@font-face {
  font-family: 'PP Neue Montreal';
  src:url(../fonts/PPNeueMontreal-Bold.woff2) format("woff2");
  font-stretch: normal;
  font-style: normal;
  font-weight: 700;
  font-display:swap;
}

@font-face {
  font-family: 'Max Fett';
  src:url(../fonts/MaxFett-Black.woff2) format("woff2");
  font-stretch: normal;
  font-style: normal;
  font-weight: 900;
  font-display:swap;
}

/* ==========================================================================
Theme Custom Style
========================================================================== */

:root {
    --black: #222222;
    --white: #FFFFFF;
    --grey: #E8E8E8;
    --yellow: #FFFF91;
    --green: #7DDD9D;
    --orange: #FFE74B;
    --main-color: var(--black);
}

body {
    font-family: "PP Neue Montreal","Helvetica",sans-serif;
    color: var(--main-color);
    line-height: 1.5em;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizelegibility;
    font-size: 100%;
    font-weight: 500;
}

body {
  opacity: 1;
  transition: 1s opacity;
}

body.fade {
  opacity: 0;
  transition: none;
}

body.no-overflow {
	overflow: hidden !important;
}

main, section, header, footer {
	position: relative;
}

.mobile-only {
  display: none;
}

#container {
  overflow: hidden;
}

.page-template-template-buying-chapters #container, 
.page-template-template-chapters #container {
  overflow: initial;
}

/* MEDIAS */

audio, canvas, iframe, img, svg, video {
    vertical-align: middle;
}

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

.four-three-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px;
  background-color: rgba(0, 0, 0, .15);
}

.sixteen-nine-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background-color: rgba(0, 0, 0, .15);
}

.image-caption {
  font-size: 14px;
  margin-top: 8px;
}

/* Hover Effect */

.has-bg {
  position: relative;
  overflow: hidden;
}

.bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;;
  background-repeat: no-repeat;
}

.bg-link:hover .bg-image {
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

/* Animations on Scroll */

.fade-in {
  opacity: 0;
  transition: opacity .6s ease-in-out;
}

.fade-in.visible {
  opacity: 1;
  transition-delay: .4s;
}

/* TYPOGRAPHY */

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}

h1, .headline-one {
  font-family: "Max Fett";
  font-size: 3em;
  line-height: 1em;
  font-weight: 900;
}

h2, .headline-two {
  font-family: "Max Fett";
  font-size: 2.375em;
  line-height: 1em;
  font-weight: 900;
  margin-bottom: .25em;
}

h3, .headline-three {
  font-family: "Max Fett";
  font-size: 2em;
  line-height: 1em;
  font-weight: 900;
  margin-bottom: .25em;
}

p, .body-copy {
  font-size: 1.25em;
  line-height: 1.3em;
}

p:last-of-type {
  margin-bottom: 0;
}

small, .copy-small {
  font-size: .875em;
  line-height: 1.42em;
}

a {
	color: inherit;
	text-decoration: none;
}

.column p a,
.chapters-content a {
  text-decoration: underline;
}

b, strong {
  font-weight: 700;
}

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

.text-yellow {
  color: var(--yellow);
}

/* BUTTONS */

.btn {
  display: flex;
  font-size: 1.25em;
  line-height: 1em;
  text-align: center;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  background: transparent;
  white-space: nowrap;
  width: fit-content;
  cursor: pointer;
  transition: all .3s ease-in-out;
}

.btn svg {
  margin-left: 15px;
  max-width: none;
}

.btn-black {
  background-color: var(--black);
  color: var(--white);
  border: 2px solid var(--black);
}

.btn-white {
  background-color: var(--white);
  color: var(--black);
  border: 2px solid var(--white);
}

.btn-black svg g {
  stroke:var(--white);
  transition: all .3s ease-in-out;
}

.btn-light {
  font-size: 1.125em; /* 18px */
  border: 2px solid var(--black);
}

.btn-black:hover,
.btn-white:hover,
.btn-light:hover {
  background-color: var(--yellow);
  color: var(--black);
  border: 2px solid var(--black);
}

.btn-black:hover svg g {
  stroke:var(--black);
}

.btn-container {
  display: inline-block;
  width: max-content;
}

/* Special btn for colored bg */

section.bg-black .btn-black {
  border: 2px solid var(--yellow);
  color: var(--yellow) !important;
}

section .bg-yellow .btn-black {
  color: var(--yellow);
}

section .bg-yellow .btn-black svg g {
  stroke: var(--yellow);
}

section.bg-black .btn-black:hover,
section .bg-yellow .btn-black:hover {
  color: var(--black) !important;
}

section .bg-yellow .btn-black:hover svg g {
  stroke: var(--black) !important;
}

/* LAYOUT */

.full-height {
  height: 100svh;
  max-height: 850px;
}

.half-height {
  height: 560px;
}

.half-height h1 {
  z-index: 1;
}

.bg-yellow {
  background-color: var(--yellow);
}

.bg-grey {
  background-color: var(--grey);
}

.bg-green {
  background-color: var(--green);
}

.bg-dark,
.bg-black {
  background-color: var(--black);
  color: var(--yellow);
}

.has-border {
  border: 2px solid;
}

.flex {
  display: flex;
}

.space-between {
  justify-content: space-between;
}

.align-items {
  align-items: center;
}

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

.flex-center {
  justify-content: center;
  align-items: center;
}

.columns-wrapper {
  align-items: center;
}

.row-reverse {
  flex-direction: row-reverse;
}

.container {
  width: 90%;
  margin: 0 auto;
}

.container-small {max-width: 600px;}
.container-medium {max-width: 980px;}
.container-large {max-width: 1200px;}

.section-header {
  max-width: 600px;
  margin: 0 auto 40px;
}

.padding-large,
.padding-medium {
  margin: 96px auto;
}

.padding-large.bg-yellow,
.padding-large.bg-black,
.padding-medium.bg-black {
  padding: 96px 0;
}

.padding-medium.bg-yellow,
.padding-medium.bg-grey {
  padding: 64px 0;
}

/* COLUMNS */

:root {
  --total-gaps: calc(11 * 20px);
  --col-width: calc((100% - var(--total-gaps)) / 12);
}

/* Pour simplifier, toutes les colonnes vont se baser sur --col-width */
.col-one {
  width: calc(1 * var(--col-width) + 0 * 20px);
}

.col-two {
  width: calc(2 * var(--col-width) + 1 * 20px);
}

.col-three {
  width: calc(3 * var(--col-width) + 2 * 20px);
}

.col-four {
  width: calc(4 * var(--col-width) + 3 * 20px);
}

.col-five {
  width: calc(5 * var(--col-width) + 4 * 20px);
}

.col-six {
  width: calc(6 * var(--col-width) + 5 * 20px);
}

.col-seven {
  width: calc(7 * var(--col-width) + 6 * 20px);
}

.col-eight {
  width: calc(8 * var(--col-width) + 7 * 20px);
}

.col-nine {
  width: calc(9 * var(--col-width) + 8 * 20px);
}

.col-ten {
  width: calc(10 * var(--col-width) + 9 * 20px);
}

.col-eleven {
  width: calc(11 * var(--col-width) + 10 * 20px);
}

.col-twelve {
  width: calc(12 * var(--col-width) + 11 * 20px); /* = 100% */
}


/* ==========================================================================
Flickity v2.3.0
========================================================================== */

.flickity-enabled {
  position: relative;
}

.flickity-enabled:focus { outline: none; }

.flickity-viewport {
  overflow: hidden;
  position: relative;
  height: 100%;
}

.flickity-slider {
  position: absolute;
  width: 100%;
  height: 100%;
}

/* draggable */

.flickity-enabled.is-draggable {
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

.flickity-enabled.is-draggable .flickity-viewport {
  cursor: move;
  cursor: -webkit-grab;
  cursor: grab;
}

.flickity-enabled.is-draggable .flickity-viewport.is-pointer-down {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

/* ---- flickity-button ---- */

.flickity-button {
  position: absolute;
  background: hsla(0, 0%, 100%, 0.75);
  border: none;
  color: #333;
}

.flickity-button:hover {
  background: white;
  cursor: pointer;
}

.flickity-button:focus {
  outline: none;
  box-shadow: 0 0 0 5px #19F;
}

.flickity-button:active {
  opacity: 0.6;
}

.flickity-button:disabled {
  opacity: 0.3;
  cursor: auto;
  /* prevent disabled button from capturing pointer up event. #716 */
  pointer-events: none;
}

.flickity-button-icon {
  fill: currentColor;
}

/* ---- previous/next buttons ---- */

.flickity-prev-next-button {
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  /* vertically center */
  transform: translateY(-50%);
}

.flickity-prev-next-button.previous { left: 10px; }
.flickity-prev-next-button.next { right: 10px; }
/* right to left */
.flickity-rtl .flickity-prev-next-button.previous {
  left: auto;
  right: 10px;
}
.flickity-rtl .flickity-prev-next-button.next {
  right: auto;
  left: 10px;
}

.flickity-prev-next-button .flickity-button-icon {
  position: absolute;
  left: 20%;
  top: 20%;
  width: 60%;
  height: 60%;
}

/* ---- page dots ---- */

.flickity-page-dots {
  position: absolute;
  width: 100%;
  bottom: -30px;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
  line-height: 1;
}

.flickity-rtl .flickity-page-dots { direction: rtl; }

.flickity-page-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #333;
  border-radius: 50%;
  opacity: 0.25;
  cursor: pointer;
}

.flickity-page-dots .dot.is-selected {
  opacity: 1;
}
/* ==========================================================================
MOBILE NAV
========================================================================== */

/* Toggle Menu */

#toggle-nav {
  display: none;
}

.toggle-menu {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: inline-block;
  top: 0;
  right: 20px;
  outline: none;
  padding: 0;
  pointer-events: initial;
  position: absolute;
  vertical-align: middle;
  width: 26px;
  height: 25px;
  z-index: 10;
}

.toggle-menu span {
  background-color: var(--yellow);
  content: "";
  display: block;
  height: 2px;
  left: calc(50% - 13px );
  position: absolute;
  top: calc(50% - 1px );
  -webkit-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
  -webkit-transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  -webkit-transform 0.2s linear;
  transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  -webkit-transform 0.2s linear;
  transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  transform 0.2s linear;
  transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  transform 0.2s linear, -webkit-transform 0.2s linear;
  width: 26px;
}

.toggle-menu span:before, .toggle-menu span:after {
  background-color: var(--yellow);
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  -webkit-transform-origin: 50% 50%;
          transform-origin: 50% 50%;
  -webkit-transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  -webkit-transform 0.2s linear;
  transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  -webkit-transform 0.2s linear;
  transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  transform 0.2s linear;
  transition: background-color 0.2s ease-in-out, top 0.2s 0.2s ease-out,  transform 0.2s linear, -webkit-transform 0.2s linear;
  width: 26px;
}

.toggle-menu span:before {
  top: 7px;
}

.toggle-menu span:after {
  top: -7px;
}

.toggle-menu.active span {
  background-color: transparent;
  -webkit-transition: background 0.2s ease-out;
  transition: background 0.2s ease-out;
}

.toggle-menu.active span:before, .toggle-menu.active span:after {
  background-color: var(--yellow);
  transition: top 0.2s ease-out, transform 0.2s 0.2s ease-out, -webkit-transform 0.2s 0.2s ease-out;
}

.toggle-menu.active span:before {
  top: 0;
  -webkit-transform: rotate3d(0, 0, 1, -45deg);
          transform: rotate3d(0, 0, 1, -45deg);
}

.toggle-menu.active span:after {
  top: 0;
  -webkit-transform: rotate3d(0, 0, 1, 45deg);
          transform: rotate3d(0, 0, 1, 45deg);
}

/* Full Screen Nav */

#mobile-nav-wrapper {
  left: 0;
  right: 0;
  opacity: 0;
  overflow: hidden;
  position: fixed;
  top: 0;
  bottom: 0;
  -webkit-transition: all 0.7s ease-in-out;
  transition: all 0.7s ease-in-out;
  visibility: hidden;
  font-size: 9.75vw;
  font-weight: 700;
  line-height: 1.45em;
}

#mobile-nav-wrapper.open {
  opacity: 1;
  visibility: visible;
}

#mobile-nav {
  background: var(--black);
  width: 100%;
  min-width: 250px;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1000;
  transition: all 1s cubic-bezier(.19,1,.22,1) 0s;
  transform: translateX(100%);
}

#mobile-nav.open {
  transform: translateX(0);
}

#mobile-nav-container {
  position: absolute;
  top: 160px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  font-size: 1.75em;
  line-height: 1.75em;
  font-weight: 700;
}

#mobile-nav .sub-menu {
  margin-bottom: 1em;
}

#mobile-nav .sub-menu li a {
  font-size: .65em;
  line-height: 1.5em;
}

#mobile-nav .sub-menu li a::before {
  content: "↳ ";
  margin-right: 5px;
}

#mobile-nav li a {
  color: var(--yellow);
}

#mobile-nav li {
	list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(40px);
  transition: all 0.9s ease 0ms;
}

#mobile-nav li.anim {
  transform: translateX(0px);
  visibility: visible;
}

.mobile-view #mobile-nav li {
  opacity: 1;
  visibility: visible;
}

.navigation.anim  .navigation-list li:nth-child(1) {
  transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1) 0s;
}

#mobile-nav li.anim {
	opacity: 1;
  visibility: visible;
}

/* ==========================================================================
Header & Footer 
========================================================================== */

#header {
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  z-index: 11;
}

#header .container {
  align-items: center;
}

#logo {
  font-family: "Max Fett";
  color: var(--yellow);
  font-size: 2.5em;
  line-height: 1em;
}

.top-nav {
  display: flex;
  color: var(--yellow);
}

.top-nav a {
  border: 2px solid;
  margin-left: 15px;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 1.125em;
  font-weight: 900;
}

.top-nav a:hover,
ul#menu-main-nav > li.has-chevron.is-active > a {
  background-color: var(--black);
  border-color: var(--black);
  color: var(--yellow);
}

ul#menu-main-nav > li.current_page_item  > a {
  background-color: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}

ul#menu-main-nav > li.current_page_item  > a:hover {
  color: var(--yellow);
  border-color: var(--black);
}

#header #toggle-nav {
  display: none;
}

ul#menu-main-nav,
ul#menu-main-nav ul.sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

ul#menu-main-nav {
  display: flex;
  align-items: center;
}

ul#menu-main-nav > li {
  position: relative;
}

ul#menu-main-nav > li > a {
  color: var(--yellow);
  padding: 10px 15px;
  text-decoration: none;
  display: block;
}

ul#menu-main-nav > li.has-chevron > a {
	min-width: 224px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

ul#menu-main-nav > li.has-chevron > a:after {
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	background: url('../images/chevron-down.svg') center/100% no-repeat;
	transition: transform 0.2s linear;
}

ul#menu-main-nav > li.has-chevron.is-active > a:after {
	transform: rotate(180deg);
	transition: transform 0.2s linear;
}

ul#menu-main-nav > li > a:hover {
  background-color: var(--black);
  color: var(--yellow);
}

ul#menu-main-nav ul.sub-menu {
  position: absolute;
  bottom: -170px;
  right: 0;
  display: none;             
  min-width: 180px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, .15);
}

ul#menu-main-nav ul.sub-menu.content-visible{
  display: block;
}

ul#menu-main-nav ul.sub-menu li a {
  background-color: var(--yellow);
  color: var(--black);
  border: none;
}

ul#menu-main-nav ul.sub-menu li a {
  display: block;
  padding: 12px 15px;
  margin-left: 0;
  text-decoration: none;
  white-space: nowrap;
}

ul#menu-main-nav ul.sub-menu li.current_page_item a,
ul#menu-main-nav ul.sub-menu li a:hover {
	background-color: var(--black);
	color: var(--yellow);
}

ul#menu-main-nav ul.sub-menu li:first-child a {
	border-radius: 4px 4px 0 0;
}

ul#menu-main-nav ul.sub-menu li:nth-child(n+2) a {
	border-radius: 0;
}

ul#menu-main-nav ul.sub-menu li:nth-child(n+3) a {
	border-radius: 0 0 4px 4px;
}

/* Footer */

footer #logo {
  color: var(--yellow) !important;
}

.footer-top {
  padding: 96px 0 70px;
  align-items: center;
}

.footer-top #logo {
  margin-right: 110px;
}

.footer-top .disclaimer {
  display: inline-block;
  font-size: .7em;
  line-height: 140%;
}

.footer-top .disclaimer a {
  text-decoration: underline;
}

.footer-main {
  padding: 70px 0;
  border-top: 2px solid;
  border-bottom: 2px solid;
}

.footer-main .col-nine .footer-col:nth-child(1) {
  width: 32%; 
}

.footer-main .col-nine .footer-col:nth-child(2),
.footer-main .col-nine .footer-col:nth-child(3),
.footer-main .col-nine .footer-col:nth-child(4)  {
  width: 20.5%;
  max-width: 20.5%;
}

.footer-main .col-nine .footer-col:nth-child(1),
.footer-main .col-nine .footer-col:nth-child(2),
.footer-main .col-nine .footer-col:nth-child(3) {
  margin-right: 20px;
}  

.footer-main ul li a {
  display: block;
  font-family: "Max Fett";
  font-size: 1.5em;
  line-height: 1em;
  margin-bottom: .75em;
}

.footer-main ul li .sub-menu {
  margin-top: -.25em;
}

.footer-main ul li .sub-menu li a {
  font-family: "PP Neue Montreal","Helvetica",sans-serif;
  font-size: 14px;
  margin-bottom: .45em;
}

.footer-bottom {
  padding: 18px 0 50px;
  font-size: .875em;
}

.footer-bottom span {
  margin-right: 15px;
}

.footer-bottom a {
  text-decoration: underline;
}

.footer-menu a {
  margin-left: 15px;
}

/* ==========================================================================
Templates
========================================================================== */

/* Homepage */

.homepage-home:after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, .2);
}

.home-marquee {
  position: relative;
  height: calc(100% + 60px);
  align-items: center;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.marquee_container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.marquee {
  display: inline-block;
  animation: marquee 50s linear infinite;
}

@keyframes marquee {
  from {
      transform: translate3d(0, 0, 0);
  }
  to {
      transform: translate3d(-100%, 0, 0);
  }
}

.home-marquee h1 {
  display: inline-block;
  font-size: 17.5vw;
  color: var(--yellow);
}

.home-marquee h1:before {
  display: inline-block;
  content: " ";
  margin-left: 5vw;
}

.homepage-home .intro-text {
  position: absolute;
  bottom: 60px;
  left: 0;
  right: 0;
  z-index: 111;
  color: var(--yellow);
  font-size: 1.125em;
  line-height: 1em;
  font-weight: 700;
}

.homepage-home .intro-text a {
  text-decoration: underline;
}

.homepage-intro {
  padding: 160px 0;
}

.homepage-categories .tile {
  display: block;
  width: calc(33% - 12px);
  position: relative;
  background-color: var(--black);
  border-radius: 1em;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.homepage-categories {
  padding: 96px 0;
}

.homepage-categories .tile h2 {
  display: block;
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  color: var(--yellow);
  border: 2px solid;
  padding: 8px 16px;
  border-radius: .25em;
  margin-bottom: 0;
}

.homepage-categories .tile img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  transition: transform cubic-bezier(0.075, 0.82, 0.165, 1) .2s;
}

.homepage-categories .tile:hover img {
  transform: translate(-50%, -50%) scale(1.1);
  transition: transform cubic-bezier(0.075, 0.82, 0.165, 1) .2s;
}

.homepage-categories .tile img:before {
  content:"";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .2);
}

.resource-item,
.sub-chapter {
  padding: 32px 40px;
  border-radius: 1em;
  margin: 24px 0;
}

.resource-item:last-of-type,
.sub-chapter:last-of-type {
  margin-bottom: 0;
}

.resources-list,
.chapters-list {
  padding: 0 100px;
}

.resource-details,
.chapters-details {
  align-items: center;
}

.resource-details div:last-of-type,
.chapters-details div:last-of-type {
  margin-left: 50px;
}

.block-about {
  border-radius: 16px;
  padding: 64px 100px;
  margin-bottom: 96px;
}

.block-about > div {
  width: 50%;
}

.block-about .details-container {
  padding-right: 90px;
}

.block-about .details-container p {
  margin: 1em 0;
}

.block-about .img-container {
  background-color: var(--black);
  border-radius: 16px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.homepage-partners {
  margin: 96px auto;
}

.homepage-partners p {
  margin-bottom: 54px;
}

/* Resources Page */

.resources-home {
  align-items: center;
  overflow: hidden;
}
.resources-home:after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, .2);
}

.mapping-resources {
  padding: 96px 0;
}

.resources-about {
  padding-bottom: 96px;
}

/* About Page */

.about-section {
  padding: 96px 0;
}

.about-hero p {
  font-size: 1.85em;
}

.about-partners {
  padding-top: 50px;
}

.about-partners {
  margin: 0 30px;
}

.about-contacts {
  padding: 136px 0;
  background-color: var(--yellow);
}

.about-contacts .left-column {
  width: 40%;
  min-width: 260px;
}

.org-name {
  margin-bottom: 2em;
}

.about-contacts .left-column p,
.about-contacts .right-column p {
  margin-bottom: 1.5em;
}

.about-contacts .left-column p:last-of-type,
.about-contacts .right-column p:last-of-type {
  margin-bottom: 0;
}

.contact-image {
  width: 170px;
  min-height: 170px;
  margin-right: 34px;
}

/* Reports Page */

.anchor-links {
  margin-top: 24px;
}

.anchor-links li {
  margin-right: 10px;
}

.text-column p {
  margin: 24px 0;
}

.headline-row.padding-medium {
  margin: 64px auto;
}

.headline-row h2,
.headline-row h3 {
  font-family: "PP Neue Montreal", "Helvetica", sans-serif;
  margin-bottom: -36px;
}

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

  .headline-row h2 {
    margin: 94px 0 64px;
  }

  .headline-row h2:before,
  .headline-row h2:after {
      content:"";
      position: absolute;
      background: url(../images/arrow-down.svg);
      top: 6px;
      display: block;
      width: 16px;
      height: 16px;
  }

  .headline-row h2:before {
      left: 12%;
  }

  .headline-row h2:after {
      right: 12%;
  }

  .flexible-carousel.carousel-wrapper {
    width: 100%;
    margin-bottom: 30px;
 }   

 .flexible-carousel .headline-one {
    display: block;
 }

 .flexible-carousel .two-columns-row .columns-wrapper {
    justify-content: space-between;
  }

  .flexible-carousel .carousel-cell {
      display: block !important;
  }

  .flexible-carousel .image-column, .text-column {
      display: block !important;
  }

  .flexible-carousel .image-column {
      padding: 26px 0 32px;
  }

  .flexible-carousel .text-column {
      min-height: fit-content;
      padding-bottom: 26px;
  }

  .flexible-carousel .two-columns-row,
  .flexible-carousel .two-columns-row.padding-large.bg-yellow {
      padding: 0;
      margin: 0 20px !important;
  }

  .flexible-carousel .text-column h3 {
      display: block !important;
  }

  .flexible-carousel .text-column p {
      margin-bottom: 26px !important;
  }

  .flexible-carousel .carousel-wrapper:last-of-type {
      margin-bottom: 80px;
  }

  .flexible-carousel .carousel-cell .column.col-five .four-three-image {
      margin-bottom: 0;
  }
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {

  .headline-row h2:before {
      left: 20px;
  }

  .headline-row h2:after {
      right: 20px;
  }
}

/* Flexible Sections */

.block-row {
  padding: 64px 76px;
  border-radius: 16px;
}

.block-row .image-column {
  width: calc(40% - 40px);
}

.block-row .text-column {
  width: calc(60% - 40px);
}

.row-heading {
  font-family: "PP Neue Montreal", "Helvetica", sans-serif;
  font-size: 2em;
  font-weight: 700;
  text-align: center;
  max-width: 570px;
  margin: 0 auto 48px;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: calc(50% - 10px );
  padding: 48px;
  border-radius: 16px;
}

.testimonial-quote {
  font-size: 2em;
  font-weight: 900;
  line-height: 100%;
  letter-spacing: -0.025em;
}

.testimonial-author {
  margin-top: 68px;
}

/* Dark Headers */

.header-black #logo, 
.header-black ul#menu-main-nav > li > a,
.header-black .home-marquee h1  {
  color: var(--black);
}

.header-black .toggle-menu span, 
.header-black .toggle-menu span:before, 
.header-black .toggle-menu span:after {
  background-color: var(--black);
}

.header-black ul#menu-main-nav > li.has-chevron > a:after {
	background: url('../images/chevron-down-black.svg') center/100% no-repeat;
}

.header-black ul#menu-main-nav > li.has-chevron.is-active > a:after,
.header-black ul#menu-main-nav > li.has-chevron > a:hover:after {
	background: url('../images/chevron-down.svg') center/100% no-repeat;
}

.header-black ul#menu-main-nav > li > a:hover {
  color: var(--yellow);
}

/* Selling and Buying Templates */

.impact-nav {
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  z-index: 111;
}

.impact-nav ul {
  display: flex;
  justify-content: center;
}

.impact-nav ul li {
  margin: 0 45px;
}

.impact-nav ul li a {
  display: block;
  font-size: 1.375em;
  font-weight: 600;
  padding: 6px 0;
}

.impact-nav ul li.current_page_item a {
  border-bottom: 4px solid;
}

/* Chapters */

.chapters-overview .headline-one {
  margin-bottom: 24px;
}

.chapters-grid {
  flex-wrap: wrap;
}

.chapter-card {
  display:flex;
  flex-direction: column;
  justify-content: space-between;
  width: calc(33.3333% - 15px);
  margin: 20px 21px 20px 0;
  background-color: var(--black);
  border: 2px solid var(--black);
  color: var(--white);
  border-radius: 16px;
  padding: 30px;
}

.chapter-card:nth-child(3n) {
  margin-right: 0;
}

.chapter-card .btn:hover {
  border-color: var(--yellow);
}

.chapter-image {
  position: relative;
  margin-bottom: 24px;
}

.chapter-number {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 5.125em;
  line-height: 1em;
  color: var(--yellow);
  font-family: "Max Fett";
  font-weight: 900;
  z-index: 1;
}

.chapter-content .chapter-title {
  font-family: "PP Neue Montreal", "Helvetica", sans-serif;
  margin-bottom: 18px;
}

.chapter-content p.chapter-description {
  font-size: 1em;
  margin-bottom: 18px;
}

/* Moving World Block */

.mw-block {
  background-color: #F6F6F6;
  border-radius: 1em;
  padding: 30px;
  margin: 2em auto;
}

.mw-logo {
  max-width: 350px;
  margin-bottom: 15px;
}

.mw-text {
  line-height: 1.25em;
}

/* Support */

.support-section {
  margin-top: 90px;
}

.support-wrapper {
  border-radius: 16px;
  padding: 80px 0;
  }

.support-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.support-logo img {
  margin: 0 30px
}

.support-text p {
  margin-right: 100px;
}

.support-section p a {
  text-decoration: underline;
}

/* Entrepreneurs Pool */

.number-block {
  display: flex;
  flex-direction: column;
  width: calc(33.3333% - 15px);
  background-color: var(--black);
  color: var(--yellow);
  padding: 30px;
  border-radius: 1em;
  font-family: "Max Fett";
  aspect-ratio: 4 / 3;
}

.block-number {
  font-size: 5.5em;
}

.block-label {
  font-size: 1.625em;
}

/* Webinars & Stories */

.webinars-section .section-title,
.webinars-page .section-title,
.stories-section .section-title,
.stories-page .section-title {
  font-size: 3em;
  margin-bottom: 48px;
}

.webinar-card,
.story-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.webinar-card {
  width: calc(33.3333% - 15px);
}

.story-card {
  width: calc(50% - 10px);
}

.webinar-image,
.story-image {
  margin-bottom: 24px;
}

.webinar-title,
.story-title {
  font-family: "PP Neue Montreal", "Helvetica", sans-serif;
  font-size: 2em;
  margin-bottom: 18px;
}

p.webinar-excerpt,
p.webinar-author,
p.story-excerpt {
  display: block;
  font-size: 1em;
  margin-bottom: 18px;
}

.webinars-page .webinars-grid,
.stories-page .stories-grid {
  flex-wrap: wrap;
}

.webinars-page .webinars-grid .webinar-card,
.stories-page .stories-grid .story-card {
  margin-bottom: 60px;
}

.modal-image img {
  border-radius: 1em;
}

/* Mapping */

.mapping-step-by-step.padding-large.bg-yellow {
  margin-bottom: 0;
}

.mapping-step-by-step .section-intro p {
  margin: 24px 0;
}

.mapping-step-by-step .step-by-step-list {
  flex-wrap: wrap;
}

.mapping-step-by-step .step-item {
  display: flex;
  flex-direction: column;    
  width: calc(50% - 10px);
  border-radius: 1em;
  border: 1px solid;
  padding: 24px;
  margin: 10px 0;
}

/* Entry Content */

/* Modal Content Styles */

.entry-content h1, 
.entry-content h2, 
.entry-content h3, 
.entry-content h4, 
.entry-content h5,
.entry-content h6 {
    font-family: "PP Neue Montreal","Helvetica",sans-serif;
    font-weight: 700;
    margin-bottom: 1em;
}

.entry-content p {
    margin: 2em 0;
}

.entry-content p:first-of-type {
    margin-top: 0;
}

.entry-content ul, 
.entry-content ol {
    margin: 2em 0;
    padding-left: 18px;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content ul {
    list-style: disc;
}

.entry-content li {
    font-size: 1.25em;
    line-height: 1.3em;
}

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

.entry-content em {
    font-style: italic;
}

@media screen and (max-width: 768px) {
  .entry-content {
      margin-top: 50px;
  }

  .entry-content li {
      font-size: 1.125em;
      line-height: 1.4em;
  }

  .entry-content p, 
  .entry-content ul,
  .entry-content ol {
      margin: 1.5em 0;
  }
}

/* Error 404 */

.error404 {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100svh; 
  background: #222;
}

.error404 main {
  font-size: 1.1875em;
  margin: 0 30px;
  color: var(--yellow);
}

.error404 footer {
	display: none;
}

/* ==========================================================================
Theme Media Queries
========================================================================== */


/* Desktop Computer based on screen width */
@media screen 
  and (min-width: 1567px) {	
}

/* Large Laptop based on screen width */
@media screen 
  and (min-width: 1281px) 
  and (max-width: 1566px) {	
}

/* Small Laptop based on screen width */
@media screen 
  and (min-width: 1081px) 
  and (max-width: 1280px) {	
}

/* iPad Landscape based on screen width */
@media screen 
  and (min-width: 769px) 
  and (max-width: 1080px)  {	
}

/* iPad Portrait based on screen width */
@media screen and (max-width: 768px) {

  .container {
    width: 94%;
    margin: 0 auto;
  }

  .container-large,
  .container-medium {
    max-width: 700px;
  }

  .padding-large, .padding-medium,
  .padding-large.bg-yellow, 
  .padding-large.bg-black, 
  .padding-medium.bg-black {
    margin: 64px auto;
  }

  .full-height {
    max-height: 754px;
  }

  .half-height {
    height: 490px;
  }

  .home-marquee h1 {
    font-size: 6.875em;
  }

  .half-height h1 {
    max-width: 440px;
  }

  .half-height .home-marquee h1 {
    max-width: none;
  }

  /* flickity on by default */
  .carousel:after {
    content: 'flickity';
    display: none;
  }
  
  .carousel-cell {
    display: flex;
    width: 100% !important; /* Pour obtenir un slide avec 100% de largeur moins 2 x 20px de marge */
    min-height: 100%;
    margin: 0 10px !important; /* Marge de chaque côté */
    box-sizing: border-box; /* Assure que la marge est incluse dans la largeur */
  }

  .numbers-container,
  .chapters-grid {
    display: block;
  }

  .chapter-card {
      width: 100%;
      margin: 0 20px;
  }

  .number-block {
    width: 66%;
    margin: 0 17%;
  }

  /* Header */
  #header {
    top: 20px;
  }

  #logo {
    font-size: 1.875em;
  }

  .top-nav {
    display: none; /* Cache la navigation principale si un menu mobile est prévu */
  }

  #toggle-nav {
    display: block; /* Active le menu mobile */
  }

  /* Footer */

  .footer-top.flex,
  .footer-main {
    display: block;
    padding: 45px 0;
  }

  .footer-top .disclaimer {
    font-size: .8em;
  }

  .footer-main .footer-col.col-three {
    width: calc(34.3333% - 20px);
  }

  .footer-main ul li a {
    font-size: 1.625em;
  }

  .footer-main .col-nine {
    display: grid;
    grid-template-columns: repeat(2, 2fr);
    gap: 40px 20px;
    width: calc(68.6666% - 20px);   
  }

  .footer-main .col-nine .footer-col {
    width: 100% !important;
  }

  /* Titres et textes */
  h1, .headline-one {
    font-size: 2.5em;
  }

  h2, .headline-two {
    font-size: 1.625em;
  }

  p, .body-copy {
    font-size: 1.125em;
    line-height: 1.4em;
  }

  .btn {
    font-size: 1.125em;
  }

  .section-header {
    margin: 0 auto 46px;
  }

  /* Sections principales */
  .homepage-home {
    padding: 80px 0;
  }

  .homepage-home h1 {
    font-size: 15vw;
  }

  .homepage-intro {
    padding: 96px 0;
    max-width: 460px;
  }

  /* Categories */

  .homepage-categories {
    padding: 64px 0;
  }

  .homepage-categories .tile {
    width: calc(33.3333% - 15px);
    aspect-ratio: 4 / 5;
  }

  .homepage-categories .tile h2 {
    font-size: 1.5em;
    padding: 6px 12px;
    bottom: 15px;
    left: 15px;
    right: 15px;
  }

  /* Resources */

  .resource-item.carousel-cell {
    padding: 32px;
    width: calc(50% - 10px);
    aspect-ratio: 1 / 1;
    margin: 10px 0;
  }

  .resource-item.carousel-cell:last-of-type {
    width: 100%;
    aspect-ratio: auto;
    margin-bottom: 0;
  }

  .resources-list {
    padding: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .resource-details {
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }

  .resource-details div:last-of-type {
    margin-left: 0;
  }

  .resource-details p {
    margin-bottom: 32px;
  }

  /* Database */

  .database-page .bottom-section .col-seven {
    width: 90%;
  }

  .database-page .bottom-section .image-column {
      margin-bottom: 40px;
  }

  /* Section "À propos" */

  .block-about {
    padding: 32px;
  }

  .block-about > div:first-of-type {
    width: 50%;
  }

  .block-about > div:last-of-type {
    width: calc(50% - 46px);
  }

  .block-about .details-container {
    padding-right: 0;
    margin-bottom: 0;
  }
  
  /* Partners */

  .partners-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .partners-list a {
    width: 33.3333%;
  }

  .partners-list a img {
    margin: 0 auto;
    max-width: 173px;
  }

  /* Selling & Buying */

  .impact-nav ul li {
    margin: 0px 20px;
  }

  .chapters-list {
    padding: 0;
  }

  /* Mapping Resources */

  .mapping-resources,
  .section-about {
    padding: 0;
    margin: 64px auto;
  }

  .mapping-step-by-step .section-intro.col-eight {
    width: 100%;
  }

  .mapping-step-by-step .step-item {
    width: 100%;
  }

  /* About Page */

  .about-section, .about-contacts {
    padding: 64px 0;
  }

  .about-hero p {
    font-size: 1.5em;
  }

  .about-contacts .columns.flex{
    justify-content: space-between;
    align-items: flex-start;
    padding: 64px 0;
  }

  .about-contacts .columns.flex .column {
    width: calc(50% - 10px);
  }

  .about-contacts .columns.flex .column.right-column {
    flex-direction: column;
  }

  .contact-image {
    margin-bottom: 34px;
  }

  /* Flexible Parts */

  .anchor-links {
    display: none;
  }

  .intro-section h2, .intro-section .headline-two {
    font-size: 2.625em;
  }

  .intro-section .row.flex,
  .two-columns-row .columns-wrapper {
    flex-direction: column-reverse;
  }

  .resources-home + .two-columns-row > .columns-wrapper,
  .block-row .columns-wrapper {
    flex-direction: column;
  }

  .column.col-six,
  .column.col-five,
  .block-row .column {
    width: 100%;
  }

  .column.col-five .four-three-image,
  .block-row .column .four-three-image {
    aspect-ratio: 16 / 9;    
  }

  .column.col-five .four-three-image {
    margin-bottom: 32px;
  }

  .resources-home + .two-columns-row > .columns-wrapper  .column.col-five .four-three-image {
    margin-bottom: 0;
  }

  .block-row {
    padding: 64px;
  }

  .row-heading {
    font-size: 1.5em;
    max-width: 440px;
  }

  .category-page .resource-item {
    margin: 12px 0;
  }

  .category-page .homepage-partners {
    margin: 96px auto;
  }

  /* Testimonials */

  .testimonials-row {
    display: block;
    margin: 96px auto 124px !important; 
  }

  .testimonial-card {
      width: 100%;
      min-height: 100%;
      margin: 0 20px;
  }

  /* Support Block */
  
  .support-wrapper {
    flex-direction: column;
    padding: 64px;
  }

  .support-wrapper .col-seven, .support-wrapper .col-five {
    width: 100%;
  }

  .support-logo {
    display: block;
    margin: 0 0 48px;
  }

  .support-logo img,
  .support-text p {
    margin: 0;
  }  
}

/* iPhone Portrait based on screen width */
@media screen 
  and (max-width: 480px)  {	
    
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen 
  and (min-device-width : 320px) 
  and (max-device-width : 480px) {

    body {
      font-size: 95%;
    }

    .container {
      margin: 0 20px;
      width: auto;
    }

    .homepage-intro,
    .homepage-categories {
      padding: 64px 0;
    }

    h1, .headline-one {
      font-size: 2.625em;
    }

    p, .body-copy {
      font-size: 1.125em;
      line-height: 1.3em;
    }

    .btn {
      font-size: 1.125em;
    }

    .section-header {
      margin: 0 auto .5em;
    }

    .full-height {
      height: 85svh;
    }

    #header {
      z-index: 1111;
    }

    #header nav {
      display: none;
    }

    #header #toggle-nav {
      display: block;
    }

    /* Footer */

    .footer {
      overflow: hidden;
    }

    .footer-main .container.flex {
      display: block;
    }

    .footer-main .footer-col.col-three,
    .footer-main .col-nine {
      width: 100%;
    }

    .footer-main .footer-col.col-three {
      position: relative;
      padding-bottom: 5px;
    }

    .footer-main .footer-col.col-three:after {
      content: "";
      position: absolute;
      width: calc(100% + 40px);
      height: 2px;;
      background-color: var(--yellow);
      bottom: 0;
      left: -20px;
    }

    .footer-top.flex, .footer-main {
      padding: 32px 0 24px;
    }

    .footer-main .col-nine {
      padding-top: 20px;
    }

    .footer-main .col-nine .footer-col:nth-child(1), .footer-main .col-nine .footer-col:nth-child(2), .footer-main .col-nine .footer-col:nth-child(3) {
      margin-right: 0;
    }

    .footer-bottom.flex {
      flex-direction: column-reverse;
    }

    .footer-credits, .footer-menu {
      width: 100%;
    }

    .footer-menu {
      display: flex;
      justify-content: space-between;
    }

    .footer-menu a {
      margin: 0;
    }

    .footer-credits {
      display: flex;
      flex-direction: column;
      text-align: center;
    }

    /* Carousels */

    .number-block {
        width: 100%;
        margin: 0 20px;
    }

    /* Homepage */

    .homepage-home h1 {
      font-size: 45vw;
    }

    .homepage-categories .section-header {
      margin-bottom: 48px;
    }

    .homepage-categories > .flex {
      display: block;
    }

    .homepage-categories .tile {
      width: 100%;
      margin-bottom: 20px;
      aspect-ratio: 4 / 3;
    }

    .homepage-categories .tile:last-of-type {
      margin-bottom: 0;
    }

    .homepage-categories .tile h2 {
      font-size: 2.375em;
      bottom: 24px;
      left: 24px;
      right: 24px;
    }

    /* Resources */

    .resource-details, .resources-list {
      display: block;
    }

    .resource-details div:last-of-type {
      margin-left: 0;
    }

    .resource-item.carousel-cell {
      aspect-ratio: auto;
      width: auto;
    }

    /* Section "À propos" */
  
    .block-about > div:first-of-type,
    .block-about > div:last-of-type {
      width: 100%;
    }

    .block-about {
      padding: 30px;
      border-radius: 16px;
      flex-direction: column-reverse;
    }

    .block-about .img-container {
      border-radius: 16px;
      aspect-ratio: 4 / 3;
    }

    .block-about .details-container {
      margin-top: 30px;
      margin-bottom: 0;
    }

    .block-about .details-container p {
      margin-bottom: 0;
    }

    .block-about .details-container .btn {
      margin-top: 24px;
    }

    .homepage-partners {
      padding: 54px 20px;
    }

    .partners-list {
      justify-content: center;
      flex-wrap: wrap;
    }

    .partners-list a {
      width: 50%;
    }

    .column.col-five .four-three-image {
      aspect-ratio: 1 / 1;
    }

    .about-contacts {
      padding: 48px 0;
    }

    .about-contacts .section-header.align-center {
      text-align: left;
    }

    .about-contacts h1 {
      font-size: 3em;
    }

    .about-contacts .columns.flex {
      flex-direction: column;
      padding: 20px 0;
    }

    .contact-image {
      margin: 34px 0;
    }

    /* Flexible Parts */

    .block-row {
      padding: 30px;
    }

    .padding-large.bg-yellow, .padding-large.bg-black, .padding-medium.bg-black {
      padding: 64px 0;
    }

    .category-page .homepage-partners {
      margin: 64px auto;
    }
  
    /* Testimonials */
  
    .testimonials-row {
      margin: 64px 20px !important; 
    }

    /* Database */

    .database-page .bottom-section .col-seven {
      width: 100%;
    }

    /* Seeling with impact */

  .impact-nav {
    overflow-x: scroll;
    transform: none;
    left: 0;
    right: 0;
    
  }
  .impact-nav .cf {
    justify-content: normal;
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

}

/* Smartphones (landscape) ----------- */
@media only screen 
  and (min-width : 321px) {
}

/* Smartphones (portrait) ----------- */
@media only screen 
  and (max-width : 320px) {
}

/* iPads (portrait and landscape) ----------- */
@media only screen 
  and (min-device-width : 768px) 
  and (max-device-width : 1024px) {
}

/* iPads (portrait) ----------- */
@media only screen 
  and (min-device-width : 768px) 
  and (max-device-width : 1024px) 
  and (orientation : portrait) {
}

/* iPads (landscape) ----------- */
@media only screen 
  and (min-device-width : 768px) 
  and (max-device-width : 1024px) 
  and (orientation : landscape) {
}


/* iPad3 ----------- */

/* Portrait */
@media only screen 
  and (min-device-width : 768px) 
  and (max-device-width : 1024px) 
  and (orientation : portrait) 
  and (-webkit-min-device-pixel-ratio : 2) {
}

/* Landscape */
@media only screen 
  and (min-device-width : 768px) 
  and (max-device-width : 1024px) 
  and (orientation : landscape) 
  and (-webkit-min-device-pixel-ratio : 2) {
}

/* iPhone 4 and 4S ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2) {
}

/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
}

/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 480px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
}

/* Phone 5, 5S, 5C and 5SE ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2) {
}

/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {
}

/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
}

/* ----------- iPhone 6, 6S, 7 and 8 ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2) { 
}

/* Portrait */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) { 
}

/* Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) { 
}

/* ----------- iPhone 6+, 7+ and 8+ ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3) { 
}

/* Portrait */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 
}

/* Landscape */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) {
}

/* ----------- iPhone X ----------- */

/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3) { 
}

/* Portrait */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: portrait) { 
}

/* Landscape */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
}


/* Samsung Galaxy S3 ----------- */

/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-height: 640px) 
  and (orientation : portrait) 
  and (-webkit-device-pixel-ratio: 2) {
}

/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-height: 640px) 
  and (orientation : landscape) 
  and (-webkit-device-pixel-ratio: 2) {
}

/* Samsung Galaxy S4 ----------- */

/* Portrait */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-height: 640px) 
  and (orientation : portrait) 
  and (-webkit-device-pixel-ratio: 3) {
}

/* Landscape */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-height: 640px) 
  and (orientation : landscape) 
  and (-webkit-device-pixel-ratio: 3) {
}