:root {
  --od-ink-blue: #12233a;          /* header, dark bands */
  --od-ink-blue-2: #1b3150;
  --od-cyan: #009fe3;              /* process cyan, decorative */
  --od-cyan-deep: #0071a3;         /* cyan that reads as text on white */
  --od-magenta: #e5007e;
  --od-yellow: #ffed00;
  --od-black: #1d1d1b;
  --od-paper: #ffffff;
  --od-mist: #f2f5f8;
  --od-line: #dde4ec;

  --od-ink: #22262b;
  --od-ink-soft: #5a636d;
  --od-on-blue: #d5e0ec;

  --od-font-title: "Bitter", Georgia, "Times New Roman", serif;
  --od-font-text: "Open Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --od-container: 1120px;
  --od-gutter: clamp(1rem, 4vw, 2rem);
  --od-radius: 8px;

  /* the colour control bar: C, M, Y, K, then tints, repeating */
  --od-colour-bar: repeating-linear-gradient(90deg,
    var(--od-cyan) 0 18px, var(--od-magenta) 18px 36px, var(--od-yellow) 36px 54px, var(--od-black) 54px 72px,
    #7fcff1 72px 90px, #f27fbe 90px 108px, #fff67f 108px 126px, #8e8e8d 126px 144px);
}


/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--od-font-text);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--od-ink);
  background: var(--od-paper);
  -webkit-font-smoothing: antialiased;
}

img,
video {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

a {
  color: var(--od-cyan-deep);
  text-decoration: none;
}

a:hover {
  color: var(--od-ink-blue);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  font-family: var(--od-font-title);
  font-weight: 700;
  line-height: 1.25;
  color: var(--od-ink-blue);
}

h2 { font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem); }

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: calc(var(--od-container) + 2 * var(--od-gutter));
  margin: 0 auto;
  padding: 0 var(--od-gutter);
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.noir {
  color: var(--od-black);
}

::selection {
  color: #ffffff;
  background: var(--od-magenta);
}

:focus-visible {
  outline: 2px solid var(--od-cyan);
  outline-offset: 3px;
}


/* ==========================================================================
   3. Parts that need Divi's scripts, or lead nowhere
   ========================================================================== */

#et_top_search,
.et_search_outer,
#et_mobile_nav_menu,
.et-social-icons,                  /* the icons have no links */
.et_pb_top_inside_divider,
.et_pb_bottom_inside_divider,
.et_pb_slide_title:empty,
.et_pb_button_wrapper:empty,
.post-meta:empty,
.et-pb-arrow-prev,
.et-pb-arrow-next {
  display: none !important;
}

/* blocks Divi slides in */
.et_animated {
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}


/* ==========================================================================
   4. Header: dark bar with the white logo, then the colour control bar
   ========================================================================== */

#main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--od-ink-blue);
}

#main-header::after {
  content: "";
  display: block;
  height: 6px;
  background: var(--od-colour-bar);
}

.et_menu_container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  min-height: 72px;
}

.logo_helper {
  display: none;
}

#logo {
  display: block;
  width: auto;
  max-height: 40px;
}

#top-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

#top-menu li {
  position: relative;
}

#top-menu > li > a {
  display: block;
  padding: 1.6rem 0.75rem;
  font-family: var(--od-font-text);
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
}

#top-menu > li > a:hover,
#top-menu > li:focus-within > a {
  color: var(--od-cyan);
}

#top-menu > li.menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 0.36rem;
  height: 0.36rem;
  margin-left: 0.45rem;
  vertical-align: 0.2em;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

#top-menu li.lang-item a {
  padding-inline: 0.5rem;
}

#top-menu li.lang-item img {
  display: block;
  outline: 1px solid rgba(255, 255, 255, 0.3);
}

#top-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 110;
  min-width: 16rem;
  padding: 0.5rem 0;
  background: var(--od-paper);
  border-top: 3px solid var(--od-cyan);
  border-radius: 0 0 var(--od-radius) var(--od-radius);
  box-shadow: 0 18px 32px -16px rgba(18, 35, 58, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0s linear 0.15s;
}

#top-menu li:hover > .sub-menu,
#top-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

#top-menu > li:nth-last-child(-n+3) > .sub-menu {
  left: auto;
  right: 0;
}

#top-menu .sub-menu a {
  display: block;
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  color: var(--od-ink);
}

#top-menu .sub-menu a:hover {
  color: var(--od-cyan-deep);
  background: var(--od-mist);
}

@media (max-width: 980px) {
  .et_menu_container {
    flex-direction: column;
    flex-wrap: nowrap;             /* a wrapping column would size to the widest child */
    align-items: stretch;
    gap: 0;
    padding-top: 0.75rem;
  }

  .logo_container {
    align-self: center;
  }

  #et-top-navigation {
    margin: 0 calc(-1 * var(--od-gutter));
    overflow-x: auto;
    scrollbar-width: none;
  }

  #et-top-navigation::-webkit-scrollbar {
    display: none;
  }

  #top-menu {
    flex-wrap: nowrap;
    width: max-content;
    padding: 0 calc(var(--od-gutter) - 0.75rem);
  }

  #top-menu > li > a {
    padding-block: 0.85rem;
    white-space: nowrap;
  }

  #top-menu .sub-menu,
  #top-menu > li.menu-item-has-children > a::after {
    display: none;
  }
}


/* ==========================================================================
   5. Divi layout
   ========================================================================== */

.et_pb_section {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0;
}

.et_pb_row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  width: 100%;
  max-width: calc(var(--od-container) + 2 * var(--od-gutter));
  margin: 0 auto;
  padding: 0 var(--od-gutter);
}

.et_pb_row + .et_pb_row {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.et_pb_column {
  flex: 1 1 0;
  min-width: 0;
}

.et_pb_column_4_4 { flex-basis: 100%; }
.et_pb_column_2_5 { flex: 2 1 0; }
.et_pb_column_3_5 { flex: 3 1 0; }

.et_pb_equal_columns > .et_pb_column {
  display: flex;
}

.et_pb_equal_columns > .et_pb_column > .et_pb_module {
  flex: 1;
}

@media (max-width: 860px) {
  .et_pb_row {
    flex-direction: column;
  }

  .et_pb_row > .et_pb_column {
    flex: 1 1 auto;
  }
}

/* videos are written 640 or 960 px wide */
.wp-video {
  width: 100% !important;
  max-width: 100%;
}

.wp-video video,
.wp-video .mejs-container {
  display: block;
  width: 100% !important;
  height: auto !important;
  border-radius: var(--od-radius);
  overflow: hidden;
  background: var(--od-ink-blue);
}

.et_pb_text_inner > p:first-child:has(+ .wp-video) {
  display: none;
}

/* Buttons */
.et_pb_button {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.7rem 1.5rem;
  font-family: var(--od-font-text);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--od-cyan-deep);
  border: 0;
  border-radius: 999px;
  transition: background-color 0.15s ease;
}

.et_pb_button:hover {
  color: #ffffff;
  background: var(--od-ink-blue);
}


/* ==========================================================================
   6. Hero slider: the active slide
   ========================================================================== */

.et_pb_section_0 {
  padding: 0;
}

.et_pb_slider {
  position: relative;
  overflow: hidden;
}

.et_pb_slide {
  display: none;
  background-color: var(--od-ink-blue);
  /* if the cached builder stylesheet with the slide photos is missing */
  background-image:
    radial-gradient(circle at 85% 30%, rgba(0, 159, 227, 0.35), transparent 40%),
    radial-gradient(circle at 70% 85%, rgba(229, 0, 126, 0.28), transparent 38%),
    radial-gradient(circle at 95% 75%, rgba(255, 237, 0, 0.22), transparent 30%);
  background-position: center;
  background-size: cover;
}

.et_pb_slide.et-pb-active-slide {
  display: block;
}

.et_pb_slide .et_pb_container {
  display: flex;
  align-items: center;
  max-width: calc(var(--od-container) + 2 * var(--od-gutter));
  min-height: clamp(20rem, 46vh, 28rem);
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--od-gutter);
}

.et_pb_slide_description {
  max-width: 40rem;
  color: #ffffff;
}

.et_pb_slide_title {
  margin-bottom: 0.75rem;
  font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);
  line-height: 1.12;
}

.et_pb_slide_title a {
  color: #ffffff;
}

.et_pb_slide_content {
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.2rem);
  color: var(--od-on-blue);
}

.et_pb_slide_content p[style*="text-align"] {
  text-align: inherit !important;
}

.et_pb_slide .et_pb_button {
  margin-top: 1.5rem;
  color: var(--od-ink-blue);
  background: #ffffff;
}

.et_pb_slide .et_pb_button:hover {
  background: var(--od-yellow);
}


/* ==========================================================================
   7. Sections
   ========================================================================== */

/* Introduction band */
.et_pb_section_1 {
  padding-block: clamp(2rem, 5vw, 3rem);
  background-color: var(--od-ink-blue-2);
}

.et_pb_section_1::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 6px;
  background: var(--od-colour-bar);
}

h4.intro {
  max-width: 52rem;
  margin: 0;
  font-family: var(--od-font-title);
  font-size: clamp(1.15rem, 1rem + 0.7vw, 1.5rem);
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
}

/* Why Smijet: video beside the checklist */
.et_pb_section_2 {
  background-color: var(--od-paper);
}

.et_pb_row_1 {
  align-items: center;
}

.ico-check li {
  position: relative;
  padding: 0.35rem 0 0.35rem 2rem;
  border-bottom: 1px solid var(--od-line);
}

.ico-check li:last-child {
  border-bottom: 0;
}

.ico-check li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 0.8rem no-repeat,
    var(--od-cyan-deep);
}

/* Who is it for: three cards */
.et_pb_section_3 {
  background-color: var(--od-mist);
}

.et_pb_row_3 .et_pb_text {
  height: 100%;
  padding: 1.75rem 1.5rem 2rem;
  background: var(--od-paper);
  border-top: 4px solid var(--od-cyan);
  border-radius: var(--od-radius);
  box-shadow: 0 2px 4px rgba(18, 35, 58, 0.05), 0 14px 30px -20px rgba(18, 35, 58, 0.45);
  transition: transform 0.2s ease;
}

.et_pb_row_3 .et_pb_column:nth-child(2) .et_pb_text { border-top-color: var(--od-magenta); }
.et_pb_row_3 .et_pb_column:nth-child(3) .et_pb_text { border-top-color: var(--od-yellow); }

.et_pb_row_3 .et_clickable {
  cursor: pointer;
}

.et_pb_row_3 .et_clickable:hover {
  transform: translateY(-3px);
}

.img-up {
  display: block;
  width: 84px;
  margin: 0 auto 0.75rem;
}

.et_pb_text_align_center {
  text-align: center;
}

.et_pb_row_3 h3:has(> img) {
  margin: 0;
}

.et_pb_row_3 p {
  color: var(--od-ink-soft);
}

/* Statement and the two framed notices */
.et_pb_with_border {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 2px solid var(--od-line);
  border-radius: var(--od-radius);
  background: var(--od-paper);
}

.et_pb_row_4 .et_pb_with_border {
  border: 0;
  background: var(--od-ink-blue);
}

.et_pb_row_4 h3 {
  margin: 0;
  color: #ffffff;
}

.et_pb_row_5 .et_pb_column {
  display: flex;
}

.et_pb_row_5 .et_pb_module {
  flex: 1;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--od-paper);
  border-radius: var(--od-radius);
}

.et_pb_row_5 .et_pb_text_9 {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--od-cyan);
}

/* "Le sujet du mois" */
.etiquette {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.8rem;
  font-family: var(--od-font-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--od-magenta);
  border-radius: 999px;
}

h4.etiquette {
  display: table;
  margin-inline: auto;
}

.et_pb_row_6 {
  align-items: center;
}

/* News */
.et_pb_salvattore_content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.et_pb_blog_grid .et_pb_post {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.4rem 1.5rem;
  background: var(--od-paper);
  border-radius: var(--od-radius);
  border-left: 4px solid var(--od-cyan);
}

.et_pb_blog_grid .et_pb_post:nth-child(2) { border-left-color: var(--od-magenta); }
.et_pb_blog_grid .et_pb_post:nth-child(3) { border-left-color: var(--od-yellow); }

.et_pb_blog_grid .entry-title {
  font-size: 1.1rem;
  line-height: 1.35;
}

.et_pb_blog_grid .entry-title a {
  color: var(--od-ink-blue);
}

.et_pb_blog_grid .entry-title a:hover {
  color: var(--od-cyan-deep);
}

.et_pb_blog_grid .post-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.et_pb_blog_grid .post-content-inner {
  flex: 1;
  font-size: 0.95rem;
  color: var(--od-ink-soft);
}

.et_pb_blog_grid .more-link {
  margin-top: 1rem;
  font-weight: 700;
}

.et_pb_blog_grid .more-link::after {
  content: " →";
}

@media (max-width: 860px) {
  .et_pb_salvattore_content {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* ==========================================================================
   8. Footer
   ========================================================================== */

#main-footer {
  color: var(--od-on-blue);
  background: var(--od-ink-blue);
}

#main-footer::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--od-colour-bar);
}

#et-footer-nav {
  padding-block: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bottom-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.75rem;
}

.bottom-nav a {
  font-weight: 600;
  color: #ffffff;
}

.bottom-nav a:hover {
  color: var(--od-cyan);
}

#footer-bottom {
  padding-block: 1.1rem 1.4rem;
  font-size: 0.85rem;
}

#footer-info {
  color: #a9b8c9;
}

#footer-info a {
  color: #ffffff;
}


@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .et_pb_row_3 .et_clickable:hover {
    transform: none;
  }
}